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.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.001164/0.001164, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.005473/0.005473, allocations: 162.9 kB / 24.7 MB, free: 9.43 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9191/0.9191, allocations: 177.1 MB / 205 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2574/0.2574, allocations: 32.79 MB / 294.2 MB, free: 1.207 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.0.0_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_4.0.0_ModelicaTest.Blocks.RootMeanSquare") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 440.8 MB, free: 3.75 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.583e-05/2.763e-05, allocations: 11.06 kB / 440.8 MB, free: 3.738 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.002006/0.002033, allocations: 1.654 MB / 442.5 MB, free: 2.074 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006967/0.00273, allocations: 0.5609 MB / 443.1 MB, free: 1.508 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.613e-05/0.002796, allocations: 3.938 kB / 443.1 MB, free: 1.504 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000101/0.002897, allocations: 15.86 kB / 443.1 MB, free: 1.488 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.123e-05/0.002948, allocations: 19.8 kB / 443.1 MB, free: 1.469 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002812/0.003229, allocations: 63.75 kB / 443.2 MB, free: 1.406 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000133/0.003362, allocations: 119.6 kB / 443.3 MB, free: 1.289 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.003485, allocations: 29.3 kB / 443.3 MB, free: 1.262 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001576/0.003643, allocations: 75.69 kB / 443.4 MB, free: 1.188 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.593e-05/0.003739, allocations: 43.88 kB / 443.4 MB, free: 1.145 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/0.003759, allocations: 8 kB / 443.4 MB, free: 1.137 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.68e-05/0.003806, allocations: 16 kB / 443.4 MB, free: 1.121 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.958e-05/0.003845, allocations: 27.91 kB / 443.5 MB, free: 1.094 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.622e-05/0.003891, allocations: 31.91 kB / 443.5 MB, free: 1.062 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001673/0.004059, allocations: 131.6 kB / 443.6 MB, free: 0.9336 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.004061, allocations: 4 kB / 443.6 MB, free: 0.9297 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.004061, allocations: 0 / 443.6 MB, free: 0.9297 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.004065, allocations: 4 kB / 443.6 MB, free: 0.9258 MB / 410.7 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.0005642/0.00463, allocations: 367.5 kB / 444 MB, free: 0.5312 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.004668, allocations: 8.031 kB / 444 MB, free: 0.5234 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001542/0.004822, allocations: 28.86 kB / 444 MB, free: 0.4961 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001818/0.005004, allocations: 154.1 kB / 444.2 MB, free: 328 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.005017, allocations: 4.375 kB / 444.2 MB, free: 324 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.071e-05/0.005038, allocations: 12.31 kB / 444.2 MB, free: 312 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.005192, allocations: 98.2 kB / 444.3 MB, free: 208 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.005204, allocations: 7.875 kB / 444.3 MB, free: 200 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.005215, allocations: 0 / 444.3 MB, free: 200 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.00522, allocations: 4 kB / 444.3 MB, free: 196 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.58e-05/0.005306, allocations: 47.97 kB / 444.4 MB, free: 148 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1703/0.1756, allocations: 307.8 kB / 444.7 MB, free: 46.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001245/0.1758, allocations: 57.38 kB / 444.7 MB, free: 46.47 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.13e-05/0.1758, allocations: 30.83 kB / 444.7 MB, free: 46.46 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.1758, allocations: 0 / 444.7 MB, free: 46.46 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001543/0.176, allocations: 100.8 kB / 444.8 MB, free: 46.42 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.493e-06/0.176, allocations: 0 / 444.8 MB, free: 46.42 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002479/0.1762, allocations: 130.5 kB / 445 MB, free: 46.39 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.643e-05/0.1763, allocations: 51.97 kB / 445 MB, free: 46.32 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.766e-05/0.1763, allocations: 149.6 kB / 445.2 MB, free: 46.23 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.085e-05/0.1764, allocations: 33.3 kB / 445.2 MB, free: 46.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.501e-05/0.1764, allocations: 107 kB / 445.3 MB, free: 46.11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.354e-05/0.1764, allocations: 26.89 kB / 445.3 MB, free: 46.11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.649e-05/0.1764, allocations: 32.95 kB / 445.4 MB, free: 46.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.229e-05/0.1765, allocations: 324.8 kB / 445.7 MB, free: 45.78 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.382e-05/0.1765, allocations: 27.19 kB / 445.7 MB, free: 45.78 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.91e-05/0.1766, allocations: 81.06 kB / 445.8 MB, free: 45.71 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.761e-05/0.1767, allocations: 126.3 kB / 445.9 MB, free: 45.64 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1767, allocations: 0 / 445.9 MB, free: 45.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001425/0.1768, allocations: 154.8 kB / 446.1 MB, free: 45.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.1768, allocations: 5.375 kB / 446.1 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1768, allocations: 2.719 kB / 446.1 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.1769, allocations: 6.094 kB / 446.1 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.069e-05/0.1769, allocations: 19.86 kB / 446.1 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.1769, allocations: 6.75 kB / 446.1 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.876e-05/0.177, allocations: 9.125 kB / 446.1 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.056e-06/0.177, allocations: 12.52 kB / 446.1 MB, free: 45.59 MB / 410.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_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 5.94e-05/0.177, allocations: 132.9 kB / 446.2 MB, free: 45.47 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.063e-05/0.1771, allocations: 12.94 kB / 446.3 MB, free: 45.46 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.307e-05/0.1771, allocations: 19.81 kB / 446.3 MB, free: 45.46 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.1771, allocations: 2.812 kB / 446.3 MB, free: 45.46 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.1771, allocations: 0 / 446.3 MB, free: 45.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1771, allocations: 2.188 kB / 446.3 MB, free: 45.46 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.056e-05/0.1772, allocations: 142.7 kB / 446.4 MB, free: 45.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.1772, allocations: 0.875 kB / 446.4 MB, free: 45.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.847e-05/0.1772, allocations: 18.08 kB / 446.4 MB, free: 45.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.1772, allocations: 2.25 kB / 446.4 MB, free: 45.33 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.1772, allocations: 0 / 446.4 MB, free: 45.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1772, allocations: 3.031 kB / 446.4 MB, free: 45.33 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.1772, allocations: 0 / 446.4 MB, free: 45.33 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001832/0.1774, allocations: 176.9 kB / 446.6 MB, free: 45.24 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.248e-05/0.1774, allocations: 10.78 kB / 446.6 MB, free: 45.23 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.1774, allocations: 6.141 kB / 446.6 MB, free: 45.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.775e-05/0.1775, allocations: 2.938 kB / 446.6 MB, free: 45.23 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.238e-05/0.1775, allocations: 10.16 kB / 446.6 MB, free: 45.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.1775, allocations: 2.938 kB / 446.7 MB, free: 45.23 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.444e-05/0.1775, allocations: 108.8 kB / 446.8 MB, free: 45.15 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1775, allocations: 0 / 446.8 MB, free: 45.15 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001492/0.1777, allocations: 23.81 kB / 446.8 MB, free: 45.14 MB / 410.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_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 7.151e-05/0.1778, allocations: 105.5 kB / 446.9 MB, free: 45.05 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001278/0.1779, allocations: 75.62 kB / 447 MB, free: 45.03 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.542e-06/0.1779, allocations: 3.844 kB / 447 MB, free: 45.03 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.644e-05/0.1779, allocations: 36.44 kB / 447 MB, free: 45.02 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001532/0.1781, allocations: 13.55 kB / 447 MB, free: 45.02 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003482/0.1784, allocations: 270.8 kB / 447.3 MB, free: 44.82 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.876e-05/0.1785, allocations: 93.8 kB / 447.4 MB, free: 44.75 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.241e-05/0.1785, allocations: 14.38 kB / 447.4 MB, free: 44.74 MB / 410.7 MB Notification: Performance of SimCode: time 4.81e-07/0.1785, allocations: 0 / 447.4 MB, free: 44.74 MB / 410.7 MB Notification: Performance of Templates: time 0.00199/0.1805, allocations: 1.486 MB / 448.9 MB, free: 44.65 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/RootMeanSquare/RootMeanSquare.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.935906432569027]