Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 79.92 kB / 20.72 MB, free: 3.766 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 173 kB / 24.14 MB, free: 356 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9833/0.9833, allocations: 158.6 MB / 186 MB, free: 2.754 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1437/0.1437, allocations: 32.38 MB / 270.7 MB, free: 14.6 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.RootMeanSquare,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|mean1.x|rootMeanSquare.mean.x|mean1.y|rootMeanSquare.mean.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare") translateModel(ModelicaTest.Blocks.RootMeanSquare,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|mean1.x|rootMeanSquare.mean.x|mean1.y|rootMeanSquare.mean.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 299.1 MB, free: 2.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.941e-05/2.103e-05, allocations: 2.312 kB / 299.1 MB, free: 2.172 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.0022/0.002221, allocations: 1.723 MB / 300.8 MB, free: 452 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1312/0.1334, allocations: 0.5667 MB / 301.4 MB, free: 19.27 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001165/0.1336, allocations: 5.156 kB / 301.4 MB, free: 19.27 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001345/0.1337, allocations: 8.25 kB / 301.4 MB, free: 19.27 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 5.219e-05/0.1337, allocations: 21.45 kB / 301.4 MB, free: 19.27 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003316/0.1341, allocations: 60.73 kB / 301.5 MB, free: 19.27 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001563/0.1342, allocations: 111.3 kB / 301.6 MB, free: 19.26 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.1343, allocations: 22.45 kB / 301.6 MB, free: 19.26 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001283/0.1345, allocations: 63.3 kB / 301.7 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.1346, allocations: 36.56 kB / 301.7 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.26e-05/0.1346, allocations: 8.906 kB / 301.7 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.671e-05/0.1346, allocations: 11.56 kB / 301.7 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.307e-05/0.1347, allocations: 22.69 kB / 301.7 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.643e-05/0.1347, allocations: 28.73 kB / 301.8 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001369/0.1348, allocations: 85.2 kB / 301.9 MB, free: 19.23 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.1348, allocations: 0 / 301.9 MB, free: 19.23 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1348, allocations: 0 / 301.9 MB, free: 19.23 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.316e-06/0.1348, allocations: 0 / 301.9 MB, free: 19.23 MB / 282.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.000373/0.1352, allocations: 305.7 kB / 302.2 MB, free: 18.98 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.969e-05/0.1352, allocations: 9.219 kB / 302.2 MB, free: 18.98 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.448e-05/0.1353, allocations: 16.34 kB / 302.2 MB, free: 18.98 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.1354, allocations: 132.8 kB / 302.3 MB, free: 18.84 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.1354, allocations: 8.531 kB / 302.3 MB, free: 18.84 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.072e-05/0.1354, allocations: 13.91 kB / 302.3 MB, free: 18.84 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001108/0.1356, allocations: 76.25 kB / 302.4 MB, free: 18.8 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.1356, allocations: 1.328 kB / 302.4 MB, free: 18.8 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.1356, allocations: 6.875 kB / 302.4 MB, free: 18.79 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.1356, allocations: 5.031 kB / 302.4 MB, free: 18.79 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.362e-05/0.1356, allocations: 16.91 kB / 302.4 MB, free: 18.79 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002677/0.1359, allocations: 217.1 kB / 302.6 MB, free: 18.63 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.032e-05/0.1359, allocations: 38.48 kB / 302.7 MB, free: 18.61 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.028e-05/0.136, allocations: 20.25 kB / 302.7 MB, free: 18.59 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.372e-05/0.136, allocations: 2.859 kB / 302.7 MB, free: 18.59 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001069/0.1361, allocations: 77.78 kB / 302.8 MB, free: 18.55 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.203e-06/0.1361, allocations: 1.312 kB / 302.8 MB, free: 18.55 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001493/0.1362, allocations: 73.41 kB / 302.9 MB, free: 18.51 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/0.1363, allocations: 53.78 kB / 302.9 MB, free: 18.45 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.988e-05/0.1363, allocations: 133 kB / 303 MB, free: 18.34 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.192e-05/0.1363, allocations: 35.25 kB / 303.1 MB, free: 18.31 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.633e-05/0.1364, allocations: 110.9 kB / 303.2 MB, free: 18.21 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.128e-05/0.1364, allocations: 24.14 kB / 303.2 MB, free: 18.2 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-05/0.1364, allocations: 35.41 kB / 303.2 MB, free: 18.18 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.38e-05/0.1365, allocations: 325.5 kB / 303.6 MB, free: 17.87 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.944e-05/0.1365, allocations: 9.844 kB / 303.6 MB, free: 17.87 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.974e-05/0.1365, allocations: 69.28 kB / 303.6 MB, free: 17.8 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.566e-05/0.1366, allocations: 95.5 kB / 303.7 MB, free: 17.72 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1366, allocations: 4.25 kB / 303.7 MB, free: 17.72 MB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001172/0.1367, allocations: 97.92 kB / 303.8 MB, free: 17.67 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.1367, allocations: 6.812 kB / 303.8 MB, free: 17.67 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.1367, allocations: 3.266 kB / 303.8 MB, free: 17.67 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.1368, allocations: 7.297 kB / 303.8 MB, free: 17.67 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.431e-05/0.1369, allocations: 29.2 kB / 303.9 MB, free: 17.67 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.1369, allocations: 4.062 kB / 303.9 MB, free: 17.67 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.853e-05/0.1369, allocations: 8.25 kB / 303.9 MB, free: 17.67 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.1369, allocations: 4.5 kB / 303.9 MB, free: 17.67 MB / 282.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 (mean1.y,$PRE.mean1.y,$whenCondition2,$whenCondition1,rootMeanSquare.mean.y,$PRE.rootMeanSquare.mean.y) * 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 5.477e-05/0.137, allocations: 126.1 kB / 304 MB, free: 17.55 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.514e-05/0.137, allocations: 11.55 kB / 304 MB, free: 17.54 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.071e-05/0.137, allocations: 13.89 kB / 304 MB, free: 17.54 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.137, allocations: 2.125 kB / 304 MB, free: 17.54 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.137, allocations: 4 kB / 304 MB, free: 17.54 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.137, allocations: 0.6562 kB / 304 MB, free: 17.54 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.666e-05/0.1371, allocations: 99.34 kB / 304.1 MB, free: 17.46 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.1371, allocations: 1.125 kB / 304.1 MB, free: 17.46 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.003e-05/0.1371, allocations: 11.62 kB / 304.2 MB, free: 17.46 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.105e-06/0.1371, allocations: 5.703 kB / 304.2 MB, free: 17.45 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.1372, allocations: 4.516 kB / 304.2 MB, free: 17.45 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/0.1372, allocations: 1.688 kB / 304.2 MB, free: 17.45 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1372, allocations: 1.312 kB / 304.2 MB, free: 17.45 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001331/0.1373, allocations: 101.8 kB / 304.3 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.326e-05/0.1373, allocations: 15.56 kB / 304.3 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.1373, allocations: 5.094 kB / 304.3 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.814e-05/0.1374, allocations: 3 kB / 304.3 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.395e-05/0.1374, allocations: 9.797 kB / 304.3 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.1374, allocations: 7.797 kB / 304.3 MB, free: 17.37 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.514e-05/0.1374, allocations: 28.61 kB / 304.3 MB, free: 17.36 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1374, allocations: 3.938 kB / 304.3 MB, free: 17.36 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000128/0.1375, allocations: 19.83 kB / 304.4 MB, free: 17.36 MB / 282.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) * 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 6.171e-05/0.1376, allocations: 76.69 kB / 304.4 MB, free: 17.29 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.9e-05/0.1377, allocations: 57.52 kB / 304.5 MB, free: 17.27 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1377, allocations: 1.875 kB / 304.5 MB, free: 17.27 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.485e-05/0.1377, allocations: 24.28 kB / 304.5 MB, free: 17.26 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.542e-05/0.1378, allocations: 18.66 kB / 304.5 MB, free: 17.26 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004305/0.1383, allocations: 236.8 kB / 304.8 MB, free: 17.09 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.608e-05/0.1383, allocations: 66.34 kB / 304.8 MB, free: 17.02 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.266e-05/0.1383, allocations: 12.39 kB / 304.8 MB, free: 17.02 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.924e-05/0.1384, allocations: 62.45 kB / 304.9 MB, free: 16.97 MB / 282.7 MB Notification: Performance of SimCode: time 6.91e-07/0.1384, allocations: 0 / 304.9 MB, free: 16.97 MB / 282.7 MB Notification: Performance of Templates: time 0.00283/0.1412, allocations: 1.006 MB / 305.9 MB, free: 16.89 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9203829849138856]