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.001383/0.001383, allocations: 109.4 kB / 18.4 MB, free: 4.695 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.001197/0.001197, allocations: 192 kB / 19.34 MB, free: 3.766 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.357/1.357, allocations: 222.9 MB / 243 MB, free: 15.14 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.203/0.203, allocations: 44.18 MB / 337.4 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 62.8 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1042, allocations: 60.83 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.004007/0.1083, allocations: 1.649 MB / 472.4 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009399/0.1092, allocations: 0.5377 MB / 472.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.72e-05/0.1093, allocations: 4 kB / 472.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.976e-05/0.1094, allocations: 7.875 kB / 472.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.837e-05/0.1095, allocations: 19.78 kB / 472.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002735/0.1098, allocations: 55.88 kB / 473 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001565/0.1099, allocations: 111.6 kB / 473.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001401/0.1101, allocations: 37.38 kB / 473.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.35e-05/0.1102, allocations: 51.83 kB / 473.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.1103, allocations: 43.78 kB / 473.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.347e-05/0.1103, allocations: 8 kB / 473.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.787e-05/0.1104, allocations: 12 kB / 473.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.329e-05/0.1104, allocations: 27.91 kB / 473.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.59e-05/0.1105, allocations: 55.66 kB / 473.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001605/0.1107, allocations: 107.6 kB / 473.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1107, allocations: 0 / 473.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1107, allocations: 4 kB / 473.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.1107, allocations: 0 / 473.4 MB, free: 10.91 MB / 350.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.00069/0.1114, allocations: 410 kB / 473.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.1114, allocations: 12.03 kB / 473.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.228e-05/0.1115, allocations: 12.75 kB / 473.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002221/0.1117, allocations: 208.2 kB / 474.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.1117, allocations: 20.25 kB / 474.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.739e-05/0.1118, allocations: 8.375 kB / 474.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000202/0.112, allocations: 100.8 kB / 474.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.112, allocations: 0 / 474.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.112, allocations: 0 / 474.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.112, allocations: 4 kB / 474.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001309/0.1122, allocations: 43.97 kB / 474.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005096/0.1127, allocations: 388.4 kB / 474.6 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001274/0.1128, allocations: 62.5 kB / 474.7 MB, free: 9.523 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.733e-05/0.1129, allocations: 32.92 kB / 474.7 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/0.1129, allocations: 4 kB / 474.7 MB, free: 9.484 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001912/0.1131, allocations: 103.3 kB / 474.8 MB, free: 9.371 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.453e-06/0.1131, allocations: 0 / 474.8 MB, free: 9.371 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003066/0.1134, allocations: 121.5 kB / 474.9 MB, free: 9.246 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/0.1135, allocations: 59.33 kB / 475 MB, free: 9.176 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.1136, allocations: 140.2 kB / 475.1 MB, free: 9.031 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.1136, allocations: 29.7 kB / 475.1 MB, free: 8.996 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.046e-05/0.1137, allocations: 119.9 kB / 475.3 MB, free: 8.875 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.41e-05/0.1137, allocations: 19.72 kB / 475.3 MB, free: 8.855 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.93e-05/0.1138, allocations: 29.7 kB / 475.3 MB, free: 8.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.1139, allocations: 322.8 kB / 475.6 MB, free: 8.496 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.836e-05/0.114, allocations: 23.98 kB / 475.6 MB, free: 8.473 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.317e-05/0.1141, allocations: 87.64 kB / 475.7 MB, free: 8.359 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001745/0.1143, allocations: 127.6 kB / 475.9 MB, free: 8.207 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1143, allocations: 0 / 475.9 MB, free: 8.207 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002281/0.1145, allocations: 137.4 kB / 476 MB, free: 8.066 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.1145, allocations: 4.219 kB / 476 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.1145, allocations: 8 kB / 476 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.1146, allocations: 0 / 476 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.1147, allocations: 35.86 kB / 476 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.405e-05/0.1147, allocations: 4 kB / 476 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.208e-05/0.1148, allocations: 11.84 kB / 476.1 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.1148, allocations: 4 kB / 476.1 MB, free: 8 MB / 350.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 8.839e-05/0.1149, allocations: 125.8 kB / 476.2 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.715e-05/0.1149, allocations: 7.906 kB / 476.2 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.298e-05/0.115, allocations: 17.09 kB / 476.2 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.115, allocations: 7.875 kB / 476.2 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.115, allocations: 0 / 476.2 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.115, allocations: 3.938 kB / 476.2 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001524/0.1151, allocations: 217.5 kB / 476.4 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1151, allocations: 0 / 476.4 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.616e-05/0.1152, allocations: 15.98 kB / 476.4 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.1153, allocations: 0 / 476.4 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.1153, allocations: 0 / 476.4 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.043e-05/0.1153, allocations: 7.938 kB / 476.5 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1153, allocations: 0 / 476.5 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003057/0.1156, allocations: 168.9 kB / 476.6 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.168e-05/0.1157, allocations: 88.91 kB / 476.7 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.487e-05/0.1157, allocations: 8.031 kB / 476.7 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.432e-05/0.1158, allocations: 3.938 kB / 476.7 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.881e-05/0.1158, allocations: 7.984 kB / 476.7 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/0.1158, allocations: 4 kB / 476.7 MB, free: 7.234 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.163e-05/0.1159, allocations: 109.4 kB / 476.8 MB, free: 7.129 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1159, allocations: 0 / 476.8 MB, free: 7.129 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002201/0.1161, allocations: 23.98 kB / 476.9 MB, free: 7.105 MB / 350.1 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_last,rootMeanSquare.mean.y_last) * Number of discrete states: 2 (mean1.x,rootMeanSquare.mean.x) * Number of clocked states: 0 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.909e-05/0.1162, allocations: 95.25 kB / 477 MB, free: 7.004 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001901/0.1164, allocations: 76.02 kB / 477 MB, free: 6.93 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.1164, allocations: 4.438 kB / 477 MB, free: 6.926 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.38e-05/0.1165, allocations: 43.91 kB / 477.1 MB, free: 6.883 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001816/0.1167, allocations: 8 kB / 477.1 MB, free: 6.875 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004555/0.1172, allocations: 249.1 kB / 477.3 MB, free: 6.605 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002447/0.1174, allocations: 0.704 MB / 478 MB, free: 5.875 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.385e-05/0.1175, allocations: 12.56 kB / 478 MB, free: 5.863 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.372e-05/0.1175, allocations: 15.42 kB / 478.1 MB, free: 5.848 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1175, allocations: 0 / 478.1 MB, free: 5.848 MB / 350.1 MB Notification: Performance of Templates: time 0.002979/0.1205, allocations: 0.9161 MB / 479 MB, free: 4.934 MB / 350.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 -s gbode -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