Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.RootMeanSquare.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.RootMeanSquare,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mean1.x|rootMeanSquare.mean.x|mean1.y|rootMeanSquare.mean.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.RootMeanSquare") translateModel(ModelicaTest.Blocks.RootMeanSquare,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mean1.x|rootMeanSquare.mean.x|mean1.y|rootMeanSquare.mean.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.RootMeanSquare") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002498/0.002499, allocations: 169.9 kB / 8.146 MB, free: 2.195 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.716/1.716, allocations: 205.2 MB / 213.8 MB, free: 13.91 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001275/0.001274, allocations: 92.02 kB / 261.8 MB, free: 13.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2604/0.2604, allocations: 43.49 MB / 353.2 MB, free: 2.023 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.385e-06/8.476e-06, allocations: 0 / 417.7 MB, free: 40.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2911/0.2912, allocations: 58.83 MB / 476.5 MB, free: 5.074 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1678/0.459, allocations: 85.03 MB / 0.5484 GB, free: 14.04 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002293/0.4593, allocations: 59.25 kB / 0.5485 GB, free: 13.98 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.007887/0.4672, allocations: 1.367 MB / 0.5498 GB, free: 12.62 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.484e-05/0.4673, allocations: 0 / 0.5498 GB, free: 12.62 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.000661/0.4679, allocations: 382.1 kB / 0.5502 GB, free: 12.2 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.468, allocations: 8.031 kB / 0.5502 GB, free: 12.19 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.864e-05/0.4681, allocations: 11.91 kB / 0.5502 GB, free: 12.18 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003623/0.4684, allocations: 202.9 kB / 0.5504 GB, free: 11.94 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.4685, allocations: 3.906 kB / 0.5504 GB, free: 11.94 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.502e-05/0.4685, allocations: 8 kB / 0.5504 GB, free: 11.93 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001684/0.4687, allocations: 39.92 kB / 0.5504 GB, free: 11.89 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002143/0.4689, allocations: 83.89 kB / 0.5505 GB, free: 11.8 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.469, allocations: 0 / 0.5505 GB, free: 11.8 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.943e-05/0.469, allocations: 0 / 0.5505 GB, free: 11.8 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.469, allocations: 0 / 0.5505 GB, free: 11.8 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006296/0.4696, allocations: 340.5 kB / 0.5508 GB, free: 11.44 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001433/0.4698, allocations: 46.59 kB / 0.5509 GB, free: 11.38 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.396e-05/0.4699, allocations: 20.92 kB / 0.5509 GB, free: 11.36 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.616e-05/0.4699, allocations: 0 / 0.5509 GB, free: 11.36 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002082/0.4701, allocations: 87.28 kB / 0.551 GB, free: 11.26 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 2.074e-06/0.4702, allocations: 0 / 0.551 GB, free: 11.26 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003102/0.4705, allocations: 81.52 kB / 0.551 GB, free: 11.18 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.477e-05/0.4705, allocations: 55.41 kB / 0.5511 GB, free: 11.11 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/0.4707, allocations: 117.2 kB / 0.5512 GB, free: 10.98 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.922e-05/0.4707, allocations: 29.7 kB / 0.5512 GB, free: 10.95 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.483e-05/0.4708, allocations: 162.8 kB / 0.5514 GB, free: 10.79 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.952e-05/0.4709, allocations: 31.55 kB / 0.5514 GB, free: 10.75 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.458e-06/0.4709, allocations: 0 / 0.5514 GB, free: 10.75 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.4711, allocations: 314.8 kB / 0.5517 GB, free: 10.44 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.038e-05/0.4711, allocations: 23.92 kB / 0.5518 GB, free: 10.41 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/0.4713, allocations: 73.42 kB / 0.5518 GB, free: 10.32 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001026/0.4714, allocations: 27.98 kB / 0.5518 GB, free: 10.29 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.4714, allocations: 0 / 0.5518 GB, free: 10.29 MB / 394.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003066/0.4717, allocations: 113.4 kB / 0.552 GB, free: 10.17 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.4718, allocations: 8 kB / 0.552 GB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.4718, allocations: 0 / 0.552 GB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/0.4718, allocations: 4 kB / 0.552 GB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002416/0.4721, allocations: 23.98 kB / 0.552 GB, free: 10.14 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.4721, allocations: 3.938 kB / 0.552 GB, free: 10.13 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001452/0.4722, allocations: 19.84 kB / 0.552 GB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.944e-05/0.4723, allocations: 8.188 kB / 0.552 GB, free: 10.11 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.mean1.y,mean1.y,$whenCondition2,$whenCondition1,$PRE.rootMeanSquare.mean.y,rootMeanSquare.mean.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.093e-05/0.4724, allocations: 35.11 kB / 0.5521 GB, free: 10.07 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.683e-05/0.4724, allocations: 7.906 kB / 0.5521 GB, free: 10.06 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.784e-05/0.4725, allocations: 16.58 kB / 0.5521 GB, free: 10.04 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/0.4725, allocations: 3.984 kB / 0.5521 GB, free: 10.04 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.4725, allocations: 0 / 0.5521 GB, free: 10.04 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.4725, allocations: 0 / 0.5521 GB, free: 10.04 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002125/0.4727, allocations: 178.2 kB / 0.5523 GB, free: 9.828 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.4728, allocations: 3.938 kB / 0.5523 GB, free: 9.824 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001786/0.473, allocations: 23.98 kB / 0.5523 GB, free: 9.801 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.473, allocations: 0 / 0.5523 GB, free: 9.801 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.034e-05/0.473, allocations: 4 kB / 0.5523 GB, free: 9.797 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.473, allocations: 0 / 0.5523 GB, free: 9.797 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.473, allocations: 0 / 0.5523 GB, free: 9.797 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003593/0.4734, allocations: 148.5 kB / 0.5524 GB, free: 9.637 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.182e-05/0.4735, allocations: 89.02 kB / 0.5525 GB, free: 9.531 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.54e-05/0.4735, allocations: 4.062 kB / 0.5525 GB, free: 9.527 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001201/0.4736, allocations: 7.906 kB / 0.5525 GB, free: 9.52 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.721e-05/0.4737, allocations: 7.984 kB / 0.5525 GB, free: 9.512 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.4737, allocations: 0 / 0.5525 GB, free: 9.512 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.372e-05/0.4738, allocations: 106.5 kB / 0.5526 GB, free: 9.41 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003031/0.4741, allocations: 19.94 kB / 0.5526 GB, free: 9.391 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (mean1.x,rootMeanSquare.mean.x) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,mean1.y,rootMeanSquare.mean.y) * Number of discrete states: 2 (mean1.x,rootMeanSquare.mean.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001735/0.4743, allocations: 107.4 kB / 0.5527 GB, free: 9.277 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002238/0.4746, allocations: 63.95 kB / 0.5528 GB, free: 9.215 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4746, allocations: 0 / 0.5528 GB, free: 9.215 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001045/0.4747, allocations: 28 kB / 0.5528 GB, free: 9.188 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002212/0.4749, allocations: 11.94 kB / 0.5528 GB, free: 9.176 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006278/0.4756, allocations: 181.5 kB / 0.553 GB, free: 8.965 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003997/0.476, allocations: 0.7274 MB / 0.5537 GB, free: 8.211 MB / 394.7 MB Notification: Performance of SimCode: time 1.002e-06/0.476, allocations: 0 / 0.5537 GB, free: 8.211 MB / 394.7 MB Notification: Performance of Templates: time 0.003996/0.48, allocations: 1.298 MB / 0.555 GB, free: 6.914 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.RootMeanSquare.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.RootMeanSquare.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.RootMeanSquare.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.RootMeanSquare.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.RootMeanSquare.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.RootMeanSquare --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.RootMeanSquare_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/RootMeanSquare/RootMeanSquare.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.RootMeanSquare.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches