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.001419/0.001419, allocations: 80.05 kB / 20.72 MB, free: 3.762 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.001598/0.001598, allocations: 169 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.9013/0.9013, allocations: 158.6 MB / 186 MB, free: 2.441 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.1248/0.1248, allocations: 32.38 MB / 270.7 MB, free: 14.58 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.573e-06/1.573e-06, allocations: 3.938 kB / 299 MB, free: 2.203 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.989e-05/2.146e-05, allocations: 6.25 kB / 299.1 MB, free: 2.195 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.002207/0.002228, allocations: 1.672 MB / 300.7 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1364/0.1386, allocations: 0.5727 MB / 301.3 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.76e-05/0.1387, allocations: 4.25 kB / 301.3 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000109/0.1388, allocations: 13.31 kB / 301.3 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 4.838e-05/0.1388, allocations: 17.66 kB / 301.3 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002662/0.1391, allocations: 54.23 kB / 301.4 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001378/0.1392, allocations: 111.3 kB / 301.5 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.1393, allocations: 23.58 kB / 301.5 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001167/0.1395, allocations: 64.77 kB / 301.6 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.1396, allocations: 33.67 kB / 301.6 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.546e-05/0.1396, allocations: 9.969 kB / 301.6 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.068e-05/0.1396, allocations: 8.25 kB / 301.6 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.776e-05/0.1397, allocations: 26.95 kB / 301.7 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.057e-05/0.1397, allocations: 31.23 kB / 301.7 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001242/0.1398, allocations: 79.22 kB / 301.8 MB, free: 19.22 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.1398, allocations: 0.5625 kB / 301.8 MB, free: 19.22 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.1398, allocations: 0 / 301.8 MB, free: 19.22 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.1398, allocations: 0.5938 kB / 301.8 MB, free: 19.22 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.0003714/0.1402, allocations: 313.2 kB / 302.1 MB, free: 18.96 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.918e-05/0.1402, allocations: 10.16 kB / 302.1 MB, free: 18.96 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.471e-05/0.1403, allocations: 13.42 kB / 302.1 MB, free: 18.96 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.1404, allocations: 136.4 kB / 302.2 MB, free: 18.83 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.1404, allocations: 9.078 kB / 302.2 MB, free: 18.83 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.22e-05/0.1404, allocations: 6.75 kB / 302.2 MB, free: 18.83 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001161/0.1405, allocations: 83.38 kB / 302.3 MB, free: 18.79 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.1405, allocations: 3.359 kB / 302.3 MB, free: 18.79 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.1405, allocations: 2.359 kB / 302.3 MB, free: 18.79 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.1406, allocations: 6.156 kB / 302.3 MB, free: 18.78 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.241e-05/0.1406, allocations: 16.11 kB / 302.4 MB, free: 18.78 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002614/0.1408, allocations: 218.5 kB / 302.6 MB, free: 18.62 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.911e-05/0.1409, allocations: 38.66 kB / 302.6 MB, free: 18.6 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.732e-05/0.1409, allocations: 11.86 kB / 302.6 MB, free: 18.59 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.209e-05/0.1409, allocations: 4.969 kB / 302.6 MB, free: 18.59 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001027/0.141, allocations: 83.02 kB / 302.7 MB, free: 18.54 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.312e-06/0.141, allocations: 0.6562 kB / 302.7 MB, free: 18.54 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001216/0.1412, allocations: 70 kB / 302.8 MB, free: 18.51 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.731e-05/0.1412, allocations: 61.75 kB / 302.8 MB, free: 18.45 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.833e-05/0.1412, allocations: 134 kB / 303 MB, free: 18.34 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.676e-06/0.1413, allocations: 30.77 kB / 303 MB, free: 18.31 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.388e-05/0.1413, allocations: 95.92 kB / 303.1 MB, free: 18.23 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.21e-05/0.1413, allocations: 33.45 kB / 303.1 MB, free: 18.21 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.312e-05/0.1413, allocations: 29.23 kB / 303.1 MB, free: 18.19 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.239e-05/0.1414, allocations: 326.5 kB / 303.5 MB, free: 17.88 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.615e-05/0.1414, allocations: 9.906 kB / 303.5 MB, free: 17.88 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.321e-05/0.1414, allocations: 70.86 kB / 303.5 MB, free: 17.81 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.234e-05/0.1415, allocations: 95.86 kB / 303.6 MB, free: 17.74 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.1415, allocations: 0 / 303.6 MB, free: 17.74 MB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001079/0.1416, allocations: 103.8 kB / 303.7 MB, free: 17.69 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.1416, allocations: 7.125 kB / 303.7 MB, free: 17.69 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.1416, allocations: 1.219 kB / 303.7 MB, free: 17.69 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.1416, allocations: 4.031 kB / 303.7 MB, free: 17.69 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.669e-05/0.1417, allocations: 31.03 kB / 303.8 MB, free: 17.68 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.1417, allocations: 3.203 kB / 303.8 MB, free: 17.68 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.486e-05/0.1417, allocations: 12.69 kB / 303.8 MB, free: 17.68 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.1418, allocations: 10.11 kB / 303.8 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 4.671e-05/0.1418, allocations: 121.8 kB / 303.9 MB, free: 17.55 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.462e-05/0.1418, allocations: 18.05 kB / 303.9 MB, free: 17.55 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.509e-05/0.1418, allocations: 11.91 kB / 304 MB, free: 17.55 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.1418, allocations: 2.266 kB / 304 MB, free: 17.55 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.774e-06/0.1418, allocations: 0 / 304 MB, free: 17.55 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.1418, allocations: 2 kB / 304 MB, free: 17.55 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.367e-05/0.1419, allocations: 87.73 kB / 304 MB, free: 17.47 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1419, allocations: 1.609 kB / 304 MB, free: 17.47 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.951e-05/0.142, allocations: 13.92 kB / 304.1 MB, free: 17.47 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.142, allocations: 4.516 kB / 304.1 MB, free: 17.46 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.142, allocations: 6.25 kB / 304.1 MB, free: 17.46 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.142, allocations: 1.969 kB / 304.1 MB, free: 17.46 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.142, allocations: 0 / 304.1 MB, free: 17.46 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001106/0.1421, allocations: 102.3 kB / 304.2 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.025e-05/0.1421, allocations: 11.78 kB / 304.2 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.318e-05/0.1421, allocations: 6.844 kB / 304.2 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.564e-05/0.1421, allocations: 6.531 kB / 304.2 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.675e-05/0.1422, allocations: 7.109 kB / 304.2 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-06/0.1422, allocations: 3.719 kB / 304.2 MB, free: 17.38 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.419e-05/0.1422, allocations: 35.06 kB / 304.2 MB, free: 17.37 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1422, allocations: 0 / 304.2 MB, free: 17.37 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001141/0.1423, allocations: 20.47 kB / 304.3 MB, free: 17.37 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.576e-05/0.1424, allocations: 83.53 kB / 304.3 MB, free: 17.3 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.301e-05/0.1424, allocations: 46.27 kB / 304.4 MB, free: 17.29 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.1424, allocations: 5.062 kB / 304.4 MB, free: 17.29 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.396e-05/0.1425, allocations: 26.84 kB / 304.4 MB, free: 17.27 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.794e-05/0.1426, allocations: 11.56 kB / 304.4 MB, free: 17.27 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004021/0.143, allocations: 241.7 kB / 304.7 MB, free: 17.1 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.511e-05/0.143, allocations: 69.02 kB / 304.7 MB, free: 17.02 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.147e-05/0.143, allocations: 15.22 kB / 304.7 MB, free: 17.02 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.827e-05/0.1431, allocations: 60.88 kB / 304.8 MB, free: 16.97 MB / 282.7 MB Notification: Performance of SimCode: time 5.91e-07/0.1431, allocations: 4 kB / 304.8 MB, free: 16.97 MB / 282.7 MB Notification: Performance of Templates: time 0.002574/0.1457, allocations: 1.002 MB / 305.8 MB, free: 16.9 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 -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.836467427201569]