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.001497/0.001497, allocations: 99.66 kB / 21.18 MB, free: 0.5234 MB / 14.72 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.001477/0.001477, allocations: 213.2 kB / 24.48 MB, free: 3.836 MB / 14.72 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.516/1.516, allocations: 230.6 MB / 258.2 MB, free: 7.812 MB / 206.1 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.2241/0.2241, allocations: 44.94 MB / 359.6 MB, free: 6.07 MB / 286.1 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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002117/0.002117, allocations: 67.91 kB / 0.4942 GB, free: 10.06 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3592/0.3613, allocations: 65.47 MB / 0.5582 GB, free: 7.496 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.003078/0.3644, allocations: 1.654 MB / 0.5598 GB, free: 5.832 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001107/0.3655, allocations: 0.562 MB / 0.5603 GB, free: 5.266 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.434e-05/0.3656, allocations: 0 / 0.5603 GB, free: 5.266 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001082/0.3657, allocations: 11.86 kB / 0.5604 GB, free: 5.254 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.353e-05/0.3657, allocations: 15.81 kB / 0.5604 GB, free: 5.238 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003059/0.3661, allocations: 71.8 kB / 0.5604 GB, free: 5.168 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001749/0.3662, allocations: 119.6 kB / 0.5606 GB, free: 5.051 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.3664, allocations: 25.3 kB / 0.5606 GB, free: 5.023 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001602/0.3665, allocations: 59.77 kB / 0.5606 GB, free: 4.965 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001165/0.3666, allocations: 39.78 kB / 0.5607 GB, free: 4.926 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.832e-05/0.3667, allocations: 12 kB / 0.5607 GB, free: 4.914 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.051e-05/0.3667, allocations: 15.98 kB / 0.5607 GB, free: 4.898 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.484e-05/0.3668, allocations: 27.91 kB / 0.5607 GB, free: 4.871 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.559e-05/0.3668, allocations: 39.8 kB / 0.5608 GB, free: 4.832 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000207/0.367, allocations: 137.8 kB / 0.5609 GB, free: 4.703 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.367, allocations: 0 / 0.5609 GB, free: 4.703 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.367, allocations: 0 / 0.5609 GB, free: 4.703 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.3671, allocations: 0 / 0.5609 GB, free: 4.703 MB / 398.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.0007381/0.3678, allocations: 371.5 kB / 0.5613 GB, free: 4.305 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.3678, allocations: 12.03 kB / 0.5613 GB, free: 4.293 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001942/0.368, allocations: 20.88 kB / 0.5613 GB, free: 4.273 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002397/0.3683, allocations: 157.7 kB / 0.5614 GB, free: 4.098 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.3683, allocations: 12.38 kB / 0.5614 GB, free: 4.086 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.078e-05/0.3683, allocations: 16.12 kB / 0.5615 GB, free: 4.07 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002168/0.3685, allocations: 85.64 kB / 0.5615 GB, free: 3.98 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.3685, allocations: 0 / 0.5615 GB, free: 3.98 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/0.3686, allocations: 8 kB / 0.5615 GB, free: 3.973 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.3686, allocations: 0 / 0.5615 GB, free: 3.973 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001461/0.3687, allocations: 55.84 kB / 0.5616 GB, free: 3.918 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005551/0.3693, allocations: 308.2 kB / 0.5619 GB, free: 3.586 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001499/0.3694, allocations: 70.42 kB / 0.562 GB, free: 3.508 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.747e-05/0.3695, allocations: 24.95 kB / 0.562 GB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.437e-05/0.3695, allocations: 4.031 kB / 0.562 GB, free: 3.477 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002007/0.3697, allocations: 99.28 kB / 0.5621 GB, free: 3.367 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.563e-06/0.3697, allocations: 4 kB / 0.5621 GB, free: 3.363 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003508/0.3701, allocations: 125.5 kB / 0.5622 GB, free: 3.234 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/0.3701, allocations: 55.34 kB / 0.5623 GB, free: 3.168 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000138/0.3702, allocations: 153.8 kB / 0.5624 GB, free: 3.008 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/0.3703, allocations: 29.7 kB / 0.5624 GB, free: 2.973 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.832e-05/0.3703, allocations: 104.2 kB / 0.5625 GB, free: 2.867 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.99e-05/0.3704, allocations: 23.81 kB / 0.5626 GB, free: 2.844 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.849e-05/0.3704, allocations: 37.7 kB / 0.5626 GB, free: 2.801 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.3706, allocations: 318.8 kB / 0.5629 GB, free: 2.48 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.009e-05/0.3706, allocations: 27.98 kB / 0.5629 GB, free: 2.453 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001227/0.3708, allocations: 90.59 kB / 0.563 GB, free: 2.34 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001884/0.3709, allocations: 119.6 kB / 0.5631 GB, free: 2.195 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.3709, allocations: 4 kB / 0.5631 GB, free: 2.191 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002527/0.3712, allocations: 141.5 kB / 0.5633 GB, free: 2.047 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.3712, allocations: 4 kB / 0.5633 GB, free: 2.043 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.435e-06/0.3712, allocations: 7.938 kB / 0.5633 GB, free: 2.035 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.3712, allocations: 0 / 0.5633 GB, free: 2.035 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.3714, allocations: 31.92 kB / 0.5633 GB, free: 2.004 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.3714, allocations: 4 kB / 0.5633 GB, free: 2 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.395e-05/0.3714, allocations: 11.95 kB / 0.5633 GB, free: 1.988 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.3715, allocations: 4 kB / 0.5633 GB, free: 1.984 MB / 398.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 0.0001221/0.3716, allocations: 134.3 kB / 0.5635 GB, free: 1.844 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.104e-05/0.3716, allocations: 11.95 kB / 0.5635 GB, free: 1.832 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.937e-05/0.3716, allocations: 16.66 kB / 0.5635 GB, free: 1.812 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.3716, allocations: 0 / 0.5635 GB, free: 1.812 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.3716, allocations: 3.938 kB / 0.5635 GB, free: 1.809 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3717, allocations: 4 kB / 0.5635 GB, free: 1.805 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001411/0.3718, allocations: 141.2 kB / 0.5636 GB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3718, allocations: 0 / 0.5636 GB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.45e-05/0.3719, allocations: 15.98 kB / 0.5636 GB, free: 1.621 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3719, allocations: 0 / 0.5636 GB, free: 1.621 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.3719, allocations: 3.938 kB / 0.5636 GB, free: 1.617 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.3719, allocations: 7.938 kB / 0.5636 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3719, allocations: 0 / 0.5636 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000336/0.3722, allocations: 177 kB / 0.5638 GB, free: 1.418 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.99e-05/0.3723, allocations: 11.98 kB / 0.5638 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.116e-05/0.3723, allocations: 0 / 0.5638 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.338e-05/0.3723, allocations: 11.92 kB / 0.5638 GB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.169e-05/0.3724, allocations: 7.922 kB / 0.5638 GB, free: 1.387 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/0.3724, allocations: 8 kB / 0.5639 GB, free: 1.379 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.037e-05/0.3725, allocations: 108.8 kB / 0.564 GB, free: 1.273 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3725, allocations: 4.062 kB / 0.564 GB, free: 1.27 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002189/0.3727, allocations: 23.98 kB / 0.564 GB, free: 1.246 MB / 398.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 0.0001026/0.3728, allocations: 91.25 kB / 0.5641 GB, free: 1.148 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002242/0.373, allocations: 75.84 kB / 0.5641 GB, free: 1.074 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.373, allocations: 0 / 0.5641 GB, free: 1.074 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.902e-05/0.3731, allocations: 35.97 kB / 0.5642 GB, free: 1.039 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002061/0.3733, allocations: 8.719 kB / 0.5642 GB, free: 1.031 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005523/0.3739, allocations: 307.2 kB / 0.5645 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.335e-05/0.374, allocations: 93.05 kB / 0.5646 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.584e-05/0.374, allocations: 19.42 kB / 0.5646 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of SimCode: time 4.4e-07/0.374, allocations: 0 / 0.5646 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of Templates: time 0.003264/0.3773, allocations: 1.465 MB / 0.566 GB, free: 15.11 MB / 414.1 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/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.858475563582033]