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.001743/0.001743, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.001851/0.001851, allocations: 165.6 kB / 24.28 MB, free: 156 kB / 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 1.562/1.562, allocations: 177.1 MB / 204.6 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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.3519/0.3519, allocations: 32.81 MB / 293.9 MB, free: 1.203 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.523e-06/1.523e-06, allocations: 0 / 375.2 MB, free: 5.008 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.936e-05/3.088e-05, allocations: 2.312 kB / 375.2 MB, free: 5.004 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.003163/0.003194, allocations: 1.69 MB / 376.9 MB, free: 3.301 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001171/0.004365, allocations: 0.5687 MB / 377.5 MB, free: 2.727 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.186e-05/0.004437, allocations: 0 / 377.5 MB, free: 2.727 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001087/0.004546, allocations: 7.875 kB / 377.5 MB, free: 2.719 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 7.797e-05/0.004624, allocations: 23.78 kB / 377.5 MB, free: 2.695 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003147/0.004939, allocations: 67.69 kB / 377.6 MB, free: 2.629 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001983/0.005137, allocations: 127.6 kB / 377.7 MB, free: 2.504 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001445/0.005281, allocations: 25.08 kB / 377.7 MB, free: 2.48 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001958/0.005477, allocations: 71.8 kB / 377.8 MB, free: 2.41 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001187/0.005596, allocations: 39.88 kB / 377.9 MB, free: 2.371 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.242e-05/0.005628, allocations: 12 kB / 377.9 MB, free: 2.359 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.142e-05/0.00569, allocations: 19.94 kB / 377.9 MB, free: 2.34 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.38e-05/0.005744, allocations: 27.91 kB / 377.9 MB, free: 2.312 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.704e-05/0.005821, allocations: 31.92 kB / 377.9 MB, free: 2.281 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000254/0.006075, allocations: 127.6 kB / 378.1 MB, free: 2.156 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.006078, allocations: 4 kB / 378.1 MB, free: 2.152 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.00608, allocations: 7.938 kB / 378.1 MB, free: 2.145 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.006086, allocations: 0 / 378.1 MB, free: 2.145 MB / 346.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.0008544/0.00694, allocations: 487.1 kB / 378.6 MB, free: 1.625 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.006975, allocations: 8.031 kB / 378.6 MB, free: 1.617 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00023/0.007205, allocations: 36.83 kB / 378.6 MB, free: 1.582 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002531/0.007459, allocations: 152.9 kB / 378.7 MB, free: 1.406 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.007475, allocations: 12.38 kB / 378.8 MB, free: 1.395 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.922e-05/0.007504, allocations: 8.375 kB / 378.8 MB, free: 1.387 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002164/0.007721, allocations: 86.2 kB / 378.9 MB, free: 1.297 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/0.007738, allocations: 3.938 kB / 378.9 MB, free: 1.293 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.823e-05/0.007756, allocations: 4 kB / 378.9 MB, free: 1.289 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.00776, allocations: 0 / 378.9 MB, free: 1.289 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001333/0.007893, allocations: 39.97 kB / 378.9 MB, free: 1.25 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006784/0.008572, allocations: 383.5 kB / 379.3 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001624/0.008734, allocations: 67.05 kB / 379.3 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.556e-05/0.00881, allocations: 35.75 kB / 379.4 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/0.008832, allocations: 0 / 379.4 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002177/0.00905, allocations: 109 kB / 379.5 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.233e-06/0.009051, allocations: 0 / 379.5 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003798/0.009431, allocations: 121.5 kB / 379.6 MB, free: 488 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.213e-05/0.009483, allocations: 55.41 kB / 379.7 MB, free: 420 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000213/0.009696, allocations: 225 kB / 379.9 MB, free: 180 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.811e-05/0.009724, allocations: 33.7 kB / 379.9 MB, free: 140 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000132/0.009856, allocations: 159 kB / 380.1 MB, free: 15.97 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.436e-05/0.00989, allocations: 23.81 kB / 380.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.437e-05/0.009965, allocations: 47.3 kB / 380.1 MB, free: 15.89 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002794/0.01024, allocations: 0.5001 MB / 380.6 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.571e-05/0.01032, allocations: 27.86 kB / 380.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001498/0.01047, allocations: 113.2 kB / 380.8 MB, free: 15.21 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002362/0.01071, allocations: 157 kB / 380.9 MB, free: 15.02 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.01071, allocations: 0 / 380.9 MB, free: 15.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002902/0.011, allocations: 145.4 kB / 381.1 MB, free: 14.87 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.01101, allocations: 4 kB / 381.1 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.01102, allocations: 4.219 kB / 381.1 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.01104, allocations: 4 kB / 381.1 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.01117, allocations: 27.92 kB / 381.1 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.36e-05/0.01118, allocations: 7.938 kB / 381.1 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.153e-05/0.01126, allocations: 8 kB / 381.1 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.38e-05/0.01127, allocations: 8 kB / 381.1 MB, free: 14.8 MB / 362.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 0.000147/0.01142, allocations: 172.5 kB / 381.3 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.004e-05/0.01145, allocations: 19.89 kB / 381.3 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.263e-05/0.01149, allocations: 12.78 kB / 381.3 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.01149, allocations: 0 / 381.3 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.0115, allocations: 7.938 kB / 381.3 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.0115, allocations: 4 kB / 381.3 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001863/0.01169, allocations: 164.5 kB / 381.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.01169, allocations: 4 kB / 381.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.183e-05/0.01179, allocations: 8 kB / 381.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.01179, allocations: 0 / 381.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.583e-05/0.0118, allocations: 3.984 kB / 381.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.0118, allocations: 0 / 381.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.01181, allocations: 4 kB / 381.5 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004924/0.0123, allocations: 176.2 kB / 381.7 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.608e-05/0.01233, allocations: 15.94 kB / 381.7 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.711e-05/0.01235, allocations: 7.984 kB / 381.7 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.19e-05/0.01241, allocations: 4 kB / 381.7 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.645e-05/0.01246, allocations: 7.984 kB / 381.7 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.01247, allocations: 3.938 kB / 381.7 MB, free: 14.14 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001263/0.0126, allocations: 163.1 kB / 381.9 MB, free: 13.98 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0126, allocations: 3.938 kB / 381.9 MB, free: 13.97 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002203/0.01282, allocations: 20 kB / 381.9 MB, free: 13.95 MB / 362.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 0.0001361/0.01296, allocations: 99.25 kB / 382 MB, free: 13.85 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002373/0.01319, allocations: 91.52 kB / 382.1 MB, free: 13.75 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.0132, allocations: 0 / 382.1 MB, free: 13.75 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.133e-05/0.01329, allocations: 36.14 kB / 382.1 MB, free: 13.71 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002286/0.01352, allocations: 23.17 kB / 382.2 MB, free: 13.7 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005764/0.01409, allocations: 250.8 kB / 382.4 MB, free: 13.42 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001034/0.01419, allocations: 97.73 kB / 382.5 MB, free: 13.3 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.097e-05/0.01425, allocations: 16.34 kB / 382.5 MB, free: 13.29 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.349e-05/0.01429, allocations: 12.5 kB / 382.5 MB, free: 13.28 MB / 362.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01429, allocations: 0 / 382.5 MB, free: 13.28 MB / 362.7 MB Notification: Performance of Templates: time 0.004425/0.01872, allocations: 1.053 MB / 383.6 MB, free: 12.24 MB / 362.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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) [Timeout 240] 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.795516695943661]