Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001443/0.001443, allocations: 122.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001818/0.001818, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.541/1.541, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 63.89 kB / 358.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4547/0.4559, allocations: 50.54 MB / 409.3 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.003996/0.4599, allocations: 1.856 MB / 411.1 MB, free: 15.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00172/0.4617, allocations: 0.7517 MB / 411.9 MB, free: 15 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001623/0.4619, allocations: 7.938 kB / 411.9 MB, free: 14.99 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001928/0.4621, allocations: 15.8 kB / 411.9 MB, free: 14.97 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001869/0.4623, allocations: 27.73 kB / 411.9 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007603/0.4631, allocations: 171.2 kB / 412.1 MB, free: 14.78 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002362/0.4633, allocations: 155.5 kB / 412.2 MB, free: 14.63 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002048/0.4635, allocations: 57.5 kB / 412.3 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001851/0.4637, allocations: 67.7 kB / 412.4 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001517/0.4639, allocations: 59.7 kB / 412.4 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.084e-05/0.4639, allocations: 12 kB / 412.4 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001328/0.4641, allocations: 59.95 kB / 412.5 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000108/0.4642, allocations: 43.84 kB / 412.5 MB, free: 14.33 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.42e-05/0.4643, allocations: 71.53 kB / 412.6 MB, free: 14.26 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003476/0.4646, allocations: 207.2 kB / 412.8 MB, free: 14.05 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.4647, allocations: 0 / 412.8 MB, free: 14.05 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4647, allocations: 0 / 412.8 MB, free: 14.05 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.205e-06/0.4647, allocations: 0 / 412.8 MB, free: 14.05 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008482/0.4655, allocations: 483.9 kB / 413.3 MB, free: 13.54 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.4656, allocations: 12.03 kB / 413.3 MB, free: 13.53 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001992/0.4658, allocations: 24.73 kB / 413.3 MB, free: 13.5 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004805/0.4663, allocations: 244 kB / 413.5 MB, free: 13.23 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/0.4663, allocations: 8.562 kB / 413.6 MB, free: 13.22 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.319e-05/0.4663, allocations: 16.12 kB / 413.6 MB, free: 13.2 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007428/0.4671, allocations: 327.3 kB / 413.9 MB, free: 12.86 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.4671, allocations: 0 / 413.9 MB, free: 12.86 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.096e-05/0.4671, allocations: 4 kB / 413.9 MB, free: 12.86 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/0.4672, allocations: 4 kB / 413.9 MB, free: 12.86 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002425/0.4674, allocations: 83.88 kB / 414 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005004/0.4679, allocations: 349.5 kB / 414.3 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005309/0.4685, allocations: 266.1 kB / 414.6 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001942/0.4687, allocations: 105.7 kB / 414.7 MB, free: 11.97 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007315/0.4694, allocations: 0.5778 MB / 415.3 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.998e-05/0.4695, allocations: 42.78 kB / 415.3 MB, free: 11.21 MB / 334.1 MB Notification: Performance of pre-optimization done (n=19): time 1.372e-06/0.4695, allocations: 0 / 415.3 MB, free: 11.21 MB / 334.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006138/0.4701, allocations: 233.3 kB / 415.5 MB, free: 10.98 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001208/0.4702, allocations: 122.6 kB / 415.6 MB, free: 10.84 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002077/0.4704, allocations: 191.2 kB / 415.8 MB, free: 10.64 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.957e-05/0.4705, allocations: 29.7 kB / 415.9 MB, free: 10.6 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.241e-05/0.4706, allocations: 108.5 kB / 416 MB, free: 10.49 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.664e-05/0.4706, allocations: 23.92 kB / 416 MB, free: 10.46 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.706e-05/0.4707, allocations: 37.7 kB / 416 MB, free: 10.42 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.4708, allocations: 330.8 kB / 416.4 MB, free: 10.09 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.847e-05/0.4709, allocations: 35.97 kB / 416.4 MB, free: 10.05 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001833/0.4711, allocations: 174.9 kB / 416.6 MB, free: 9.828 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002463/0.4714, allocations: 200.1 kB / 416.8 MB, free: 9.574 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/0.4714, allocations: 4 kB / 416.8 MB, free: 9.57 MB / 334.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003395/0.4717, allocations: 217.5 kB / 417 MB, free: 9.352 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.4718, allocations: 4 kB / 417 MB, free: 9.348 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/0.4718, allocations: 4 kB / 417 MB, free: 9.344 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/0.4718, allocations: 11.94 kB / 417 MB, free: 9.332 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/0.472, allocations: 43.91 kB / 417 MB, free: 9.289 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.375e-05/0.472, allocations: 11.92 kB / 417 MB, free: 9.277 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.4721, allocations: 15.91 kB / 417.1 MB, free: 9.262 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.737e-05/0.4721, allocations: 12 kB / 417.1 MB, free: 9.25 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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: 3 (sample1.noise.seedState[3],sample1.noise.seedState[2],sample1.noise.seedState[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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.0001613/0.4723, allocations: 164.8 kB / 417.2 MB, free: 9.082 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003017/0.4726, allocations: 164.4 kB / 417.4 MB, free: 8.918 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003813/0.473, allocations: 179.4 kB / 417.6 MB, free: 8.73 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.553e-06/0.473, allocations: 3.984 kB / 417.6 MB, free: 8.727 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.473, allocations: 0 / 417.6 MB, free: 8.727 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.226e-06/0.473, allocations: 4 kB / 417.6 MB, free: 8.723 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002434/0.4733, allocations: 233.4 kB / 417.8 MB, free: 8.445 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.366e-06/0.4733, allocations: 7.938 kB / 417.8 MB, free: 8.438 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001336/0.4734, allocations: 27.98 kB / 417.8 MB, free: 8.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.4734, allocations: 0 / 417.8 MB, free: 8.41 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.212e-05/0.4735, allocations: 15.98 kB / 417.9 MB, free: 8.395 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.4735, allocations: 0 / 417.9 MB, free: 8.395 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.4735, allocations: 0 / 417.9 MB, free: 8.395 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004441/0.4739, allocations: 284 kB / 418.1 MB, free: 8.098 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001259/0.4741, allocations: 120.8 kB / 418.3 MB, free: 7.961 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.25e-05/0.4741, allocations: 4 kB / 418.3 MB, free: 7.957 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.4742, allocations: 15.98 kB / 418.3 MB, free: 7.941 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.229e-05/0.4743, allocations: 0 / 418.3 MB, free: 7.941 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.988e-05/0.4743, allocations: 4 kB / 418.3 MB, free: 7.938 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001325/0.4744, allocations: 152.2 kB / 418.4 MB, free: 7.789 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4744, allocations: 0 / 418.4 MB, free: 7.789 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003243/0.4748, allocations: 35.91 kB / 418.5 MB, free: 7.754 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * 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: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * 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.0002278/0.475, allocations: 115.2 kB / 418.6 MB, free: 7.633 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003589/0.4754, allocations: 140.5 kB / 418.7 MB, free: 7.496 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.4754, allocations: 4.375 kB / 418.7 MB, free: 7.492 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.663e-05/0.4755, allocations: 15.94 kB / 418.7 MB, free: 7.477 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006331/0.4761, allocations: 149.5 kB / 418.9 MB, free: 7.324 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006892/0.4768, allocations: 332.2 kB / 419.2 MB, free: 6.977 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000416/0.4772, allocations: 0.7477 MB / 419.9 MB, free: 6.199 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.673e-05/0.4773, allocations: 13.55 kB / 420 MB, free: 6.184 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.404e-05/0.4774, allocations: 15.44 kB / 420 MB, free: 6.172 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4774, allocations: 0 / 420 MB, free: 6.172 MB / 334.1 MB Notification: Performance of Templates: time 0.006708/0.4841, allocations: 2.44 MB / 422.4 MB, free: 3.746 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleWithADeffects/SampleWithADeffects.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches