Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="PI.y|Time|speed.w",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects") translateModel(Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="PI.y|Time|speed.w",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001194/0.001194, allocations: 174.3 kB / 16.76 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.382/1.382, allocations: 205 MB / 222.5 MB, free: 9.156 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009027/0.0009028, allocations: 85.27 kB / 270.5 MB, free: 8.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09393/0.09393, allocations: 12.56 MB / 331 MB, free: 12.07 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003454/0.0003454, allocations: 12 kB / 391.7 MB, free: 66.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07289/0.07325, allocations: 49.98 MB / 441.7 MB, free: 16.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.002115/0.0754, allocations: 2.381 MB / 444.1 MB, free: 14 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001131/0.07655, allocations: 0.932 MB / 445 MB, free: 13.06 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001486/0.07671, allocations: 11.94 kB / 445 MB, free: 13.05 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001704/0.07689, allocations: 43.58 kB / 445 MB, free: 13.01 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001769/0.07708, allocations: 43.66 kB / 445.1 MB, free: 12.96 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004776/0.07757, allocations: 211.7 kB / 445.3 MB, free: 12.76 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002343/0.07781, allocations: 354.9 kB / 445.6 MB, free: 12.41 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002159/0.07803, allocations: 180.6 kB / 445.8 MB, free: 12.23 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.734e-05/0.07812, allocations: 95.44 kB / 445.9 MB, free: 12.14 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001152/0.07825, allocations: 123.2 kB / 446 MB, free: 12.02 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.03e-05/0.07828, allocations: 8 kB / 446 MB, free: 12.01 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.762e-05/0.07838, allocations: 39.97 kB / 446.1 MB, free: 11.97 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.921e-05/0.07845, allocations: 55.75 kB / 446.1 MB, free: 11.92 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.332e-05/0.07854, allocations: 127 kB / 446.3 MB, free: 11.79 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000191/0.07874, allocations: 283.5 kB / 446.5 MB, free: 11.52 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.07875, allocations: 0 / 446.5 MB, free: 11.52 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.07876, allocations: 3.938 kB / 446.5 MB, free: 11.51 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.07877, allocations: 0 / 446.5 MB, free: 11.51 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.0007624/0.07954, allocations: 0.5924 MB / 447.1 MB, free: 10.87 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.898e-05/0.07958, allocations: 8.031 kB / 447.1 MB, free: 10.86 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.088e-05/0.07964, allocations: 40.47 kB / 447.2 MB, free: 10.82 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002972/0.07995, allocations: 324 kB / 447.5 MB, free: 10.46 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.07997, allocations: 20.94 kB / 447.5 MB, free: 10.45 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.723e-05/0.08002, allocations: 24.38 kB / 447.5 MB, free: 10.42 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001056/0.08108, allocations: 0.7908 MB / 448.3 MB, free: 9.59 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/0.08111, allocations: 3.906 kB / 448.3 MB, free: 9.586 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.363e-05/0.08114, allocations: 12 kB / 448.3 MB, free: 9.574 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.08115, allocations: 4 kB / 448.3 MB, free: 9.57 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000477/0.08163, allocations: 243.8 kB / 448.6 MB, free: 9.332 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005812/0.08222, allocations: 0.7682 MB / 449.4 MB, free: 8.488 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008515/0.08309, allocations: 0.6537 MB / 450 MB, free: 7.762 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003923/0.08349, allocations: 279.1 kB / 450.3 MB, free: 7.477 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004622/0.08397, allocations: 0.5934 MB / 450.9 MB, free: 6.754 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.759e-05/0.08399, allocations: 38.56 kB / 450.9 MB, free: 6.707 MB / 298.7 MB Notification: Performance of pre-optimization done (n=52): time 1.994e-06/0.084, allocations: 0 / 450.9 MB, free: 6.707 MB / 298.7 MB Notification: Performance of matching and sorting (n=52): time 0.001011/0.08502, allocations: 0.5719 MB / 451.5 MB, free: 6.129 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.268e-05/0.08511, allocations: 208 kB / 451.7 MB, free: 5.883 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001737/0.08529, allocations: 254.6 kB / 451.9 MB, free: 5.629 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.08532, allocations: 37.7 kB / 452 MB, free: 5.586 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.584e-05/0.08539, allocations: 152.8 kB / 452.1 MB, free: 5.434 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.473e-05/0.08543, allocations: 47.64 kB / 452.2 MB, free: 5.387 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.918e-05/0.08548, allocations: 49.62 kB / 452.2 MB, free: 5.332 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.494e-05/0.08554, allocations: 342.8 kB / 452.6 MB, free: 4.988 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001574/0.0857, allocations: 97 kB / 452.6 MB, free: 4.891 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000255/0.08597, allocations: 439 kB / 453.1 MB, free: 4.293 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004034/0.08638, allocations: 0.5359 MB / 453.6 MB, free: 3.594 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/0.08639, allocations: 4 kB / 453.6 MB, free: 3.59 MB / 298.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0006019/0.087, allocations: 0.4976 MB / 454.1 MB, free: 3.086 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.08703, allocations: 12.94 kB / 454.1 MB, free: 3.074 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.08704, allocations: 12 kB / 454.1 MB, free: 3.062 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.08707, allocations: 20.06 kB / 454.2 MB, free: 3.043 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000268/0.08734, allocations: 127.8 kB / 454.3 MB, free: 2.918 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.494e-05/0.08737, allocations: 23.92 kB / 454.3 MB, free: 2.895 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002401/0.08761, allocations: 52.02 kB / 454.4 MB, free: 2.844 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.137e-05/0.08764, allocations: 27.98 kB / 454.4 MB, free: 2.816 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 6 ($CLKPRE.sample1.noise.seedState[3],sample1.noise.seedState[3],$CLKPRE.sample1.noise.seedState[2],sample1.noise.seedState[2],$CLKPRE.sample1.noise.seedState[1],sample1.noise.seedState[1]) * Number of discrete states: 0 () * Number of clocked states: 4 (PI.x,sample1.noise.seedState[3],sample1.noise.seedState[2],sample1.noise.seedState[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001324/0.08778, allocations: 198.4 kB / 454.6 MB, free: 2.613 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005099/0.0883, allocations: 361.8 kB / 454.9 MB, free: 2.254 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005536/0.08886, allocations: 376.7 kB / 455.3 MB, free: 1.879 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.08888, allocations: 4 kB / 455.3 MB, free: 1.875 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.08889, allocations: 8 kB / 455.3 MB, free: 1.867 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.0889, allocations: 0 / 455.3 MB, free: 1.867 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002647/0.08917, allocations: 337.1 kB / 455.6 MB, free: 1.488 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.08919, allocations: 4 kB / 455.6 MB, free: 1.484 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003394/0.08953, allocations: 107.8 kB / 455.7 MB, free: 1.379 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.08954, allocations: 4 kB / 455.8 MB, free: 1.375 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.259e-05/0.08957, allocations: 12 kB / 455.8 MB, free: 1.363 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.08958, allocations: 7.938 kB / 455.8 MB, free: 1.355 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.08959, allocations: 4 kB / 455.8 MB, free: 1.352 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/0.09059, allocations: 0.8175 MB / 456.6 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.966e-05/0.09065, allocations: 116.6 kB / 456.7 MB, free: 384 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.671e-05/0.09071, allocations: 16 kB / 456.7 MB, free: 368 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002329/0.09095, allocations: 40.03 kB / 456.8 MB, free: 328 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.439e-05/0.09099, allocations: 3.938 kB / 456.8 MB, free: 324 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.442e-05/0.09102, allocations: 19.98 kB / 456.8 MB, free: 304 kB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001132/0.09114, allocations: 182 kB / 457 MB, free: 124 kB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09114, allocations: 0 / 457 MB, free: 124 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004417/0.09159, allocations: 79.84 kB / 457 MB, free: 44 kB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (load.phi,load.w) * Number of discrete variables: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Number of discrete states: 0 () * Number of clocked states: 4 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3],PI.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001584/0.09176, allocations: 127.1 kB / 457.2 MB, free: 15.91 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006406/0.09241, allocations: 373.6 kB / 457.5 MB, free: 15.55 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.09242, allocations: 64 / 457.5 MB, free: 15.55 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.787e-05/0.09253, allocations: 35.92 kB / 457.6 MB, free: 15.52 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000952/0.09349, allocations: 318.4 kB / 457.9 MB, free: 15.2 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001339/0.09484, allocations: 0.887 MB / 458.8 MB, free: 14.27 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003717/0.09522, allocations: 0.8199 MB / 459.6 MB, free: 13.42 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.597e-05/0.0953, allocations: 31.44 kB / 459.6 MB, free: 13.39 MB / 314.7 MB Notification: Performance of SimCode: time 3.41e-07/0.0953, allocations: 7.938 kB / 459.6 MB, free: 13.38 MB / 314.7 MB Notification: Performance of Templates: time 0.005858/0.1012, allocations: 4.416 MB / 464 MB, free: 8.969 MB / 314.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches