Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Blocks.RootMeanSquare") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 110.5 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001844/0.001844, allocations: 187.2 kB / 19.39 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 222.9 MB / 243.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2148/0.2148, allocations: 44.18 MB / 337.4 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 63.91 kB / 471.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3609/0.3624, allocations: 60.82 MB / 0.5196 GB, free: 3.867 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.003281/0.3658, allocations: 1.671 MB / 0.5212 GB, free: 2.695 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009519/0.3667, allocations: 0.5408 MB / 0.5217 GB, free: 2.312 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.117e-05/0.3668, allocations: 1.125 kB / 0.5217 GB, free: 2.312 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001203/0.367, allocations: 11.7 kB / 0.5217 GB, free: 2.305 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.072e-05/0.3671, allocations: 15.3 kB / 0.5217 GB, free: 2.293 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002658/0.3673, allocations: 58.17 kB / 0.5218 GB, free: 2.258 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001691/0.3675, allocations: 113.4 kB / 0.5219 GB, free: 2.203 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001401/0.3677, allocations: 35.8 kB / 0.5219 GB, free: 2.184 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.3678, allocations: 45.95 kB / 0.522 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001189/0.3679, allocations: 46.23 kB / 0.522 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.581e-05/0.3679, allocations: 14.03 kB / 0.522 GB, free: 2.133 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.06e-05/0.368, allocations: 9.875 kB / 0.5221 GB, free: 2.133 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.416e-05/0.368, allocations: 28.83 kB / 0.5221 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.548e-05/0.3681, allocations: 52.23 kB / 0.5221 GB, free: 2.078 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001762/0.3683, allocations: 103.3 kB / 0.5222 GB, free: 2.035 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.3683, allocations: 1.188 kB / 0.5222 GB, free: 2.035 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3683, allocations: 4 kB / 0.5222 GB, free: 2.031 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.421e-06/0.3683, allocations: 0 / 0.5222 GB, free: 2.031 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006282/0.3689, allocations: 416.2 kB / 0.5226 GB, free: 1.633 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.369, allocations: 9.297 kB / 0.5226 GB, free: 1.633 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.251e-05/0.369, allocations: 11.17 kB / 0.5226 GB, free: 1.629 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001751/0.3692, allocations: 213.3 kB / 0.5229 GB, free: 1.406 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.3692, allocations: 4.375 kB / 0.5229 GB, free: 1.406 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.309e-05/0.3693, allocations: 18.83 kB / 0.5229 GB, free: 1.395 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002105/0.3695, allocations: 95.34 kB / 0.523 GB, free: 1.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.3695, allocations: 1.734 kB / 0.523 GB, free: 1.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.3695, allocations: 1.844 kB / 0.523 GB, free: 1.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.3695, allocations: 1.125 kB / 0.523 GB, free: 1.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001404/0.3697, allocations: 51.92 kB / 0.523 GB, free: 1.324 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004957/0.3702, allocations: 379.6 kB / 0.5234 GB, free: 1 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001306/0.3703, allocations: 60.36 kB / 0.5234 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.703e-05/0.3704, allocations: 32.83 kB / 0.5235 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.3704, allocations: 1.344 kB / 0.5235 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001888/0.3706, allocations: 102.5 kB / 0.5236 GB, free: 0.875 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.563e-06/0.3706, allocations: 1.125 kB / 0.5236 GB, free: 0.875 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.000331/0.371, allocations: 123.7 kB / 0.5237 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.064e-05/0.371, allocations: 54.14 kB / 0.5237 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.59e-05/0.3711, allocations: 145 kB / 0.5239 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.3711, allocations: 27.33 kB / 0.5239 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.701e-05/0.3712, allocations: 108.6 kB / 0.524 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.647e-05/0.3712, allocations: 38.28 kB / 0.524 GB, free: 484 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.595e-05/0.3713, allocations: 34.19 kB / 0.5241 GB, free: 456 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.598e-05/0.3713, allocations: 325.3 kB / 0.5244 GB, free: 128 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.258e-05/0.3714, allocations: 26.59 kB / 0.5244 GB, free: 120 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.299e-05/0.3715, allocations: 80.98 kB / 0.5245 GB, free: 36 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002021/0.3717, allocations: 123.6 kB / 0.5246 GB, free: 15.93 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3717, allocations: 0 / 0.5246 GB, free: 15.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002544/0.3719, allocations: 138.4 kB / 0.5247 GB, free: 15.86 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.372, allocations: 7.734 kB / 0.5247 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.372, allocations: 1.469 kB / 0.5247 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.372, allocations: 7.219 kB / 0.5248 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.3721, allocations: 29.23 kB / 0.5248 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.968e-06/0.3721, allocations: 11.58 kB / 0.5248 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.316e-05/0.3722, allocations: 9.578 kB / 0.5248 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.3722, allocations: 6.656 kB / 0.5248 GB, free: 15.84 MB / 398.1 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 (mean1.y_last,$PRE.mean1.y_last,$whenCondition2,$whenCondition1,rootMeanSquare.mean.y_last,$PRE.rootMeanSquare.mean.y_last) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.64e-05/0.3723, allocations: 134.1 kB / 0.5249 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.017e-05/0.3724, allocations: 9.469 kB / 0.5249 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.541e-05/0.3724, allocations: 12.44 kB / 0.525 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.3724, allocations: 4.609 kB / 0.525 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.3724, allocations: 4.875 kB / 0.525 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.554e-05/0.3725, allocations: 88.48 kB / 0.5251 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.704e-05/0.3725, allocations: 2.922 kB / 0.5251 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.739e-05/0.3726, allocations: 3.688 kB / 0.5251 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.294e-05/0.3726, allocations: 5.656 kB / 0.5251 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003354/0.373, allocations: 196 kB / 0.5252 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004108/0.3734, allocations: 326 kB / 0.5256 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.822e-05/0.3735, allocations: 38.61 kB / 0.5256 GB, free: 15.17 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.198e-05/0.3736, allocations: 103.2 kB / 0.5257 GB, free: 15.09 MB / 398.1 MB Notification: Performance of Backend: time 3.11e-07/0.3736, allocations: 1.906 kB / 0.5257 GB, free: 15.09 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003922/0.374, allocations: 127.2 kB / 0.5258 GB, free: 15.01 MB / 398.1 MB Notification: Performance of SimCode: time 0.0007199/0.3747, allocations: 0.6962 MB / 0.5265 GB, free: 14.34 MB / 398.1 MB Notification: Performance of Templates: time 0.003682/0.3784, allocations: 1.085 MB / 0.5276 GB, free: 14.11 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/RootMeanSquare/RootMeanSquare.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches