Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001294/0.001294, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001416/0.001416, allocations: 214.8 kB / 24.48 MB, free: 3.941 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.443/1.443, allocations: 230.6 MB / 258.2 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.242/0.242, allocations: 46.95 MB / 361.6 MB, free: 4.023 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Blocks.RootMeanSquare") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 67.89 kB / 0.4973 GB, free: 7.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3545/0.3565, allocations: 66.03 MB / 0.5618 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.0034/0.3599, allocations: 1.664 MB / 0.5634 GB, free: 2.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00117/0.361, allocations: 0.5543 MB / 0.564 GB, free: 1.922 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.497e-05/0.3611, allocations: 7.938 kB / 0.564 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001227/0.3613, allocations: 11.86 kB / 0.564 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.669e-05/0.3613, allocations: 15.81 kB / 0.564 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003377/0.3617, allocations: 63.81 kB / 0.5641 GB, free: 1.824 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000214/0.3619, allocations: 123.7 kB / 0.5642 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001475/0.362, allocations: 21.3 kB / 0.5642 GB, free: 1.68 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001625/0.3622, allocations: 67.72 kB / 0.5643 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001266/0.3623, allocations: 47.77 kB / 0.5643 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.666e-05/0.3623, allocations: 8 kB / 0.5643 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.279e-05/0.3624, allocations: 16 kB / 0.5643 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.682e-05/0.3625, allocations: 31.84 kB / 0.5644 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.302e-05/0.3625, allocations: 43.78 kB / 0.5644 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002331/0.3628, allocations: 125.9 kB / 0.5645 GB, free: 1.352 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.3628, allocations: 0 / 0.5645 GB, free: 1.352 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3628, allocations: 4 kB / 0.5645 GB, free: 1.348 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.3628, allocations: 4 kB / 0.5645 GB, free: 1.344 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.0007312/0.3635, allocations: 375.4 kB / 0.5649 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.3635, allocations: 8.031 kB / 0.5649 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002057/0.3637, allocations: 24.88 kB / 0.5649 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002299/0.364, allocations: 154.1 kB / 0.5651 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.364, allocations: 12.36 kB / 0.5651 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.626e-05/0.364, allocations: 12.06 kB / 0.5651 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002238/0.3642, allocations: 97.64 kB / 0.5652 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.3643, allocations: 0 / 0.5652 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.3643, allocations: 4 kB / 0.5652 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.3643, allocations: 4 kB / 0.5652 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000142/0.3644, allocations: 43.97 kB / 0.5652 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005598/0.365, allocations: 312.2 kB / 0.5655 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000152/0.3651, allocations: 58.62 kB / 0.5656 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.95e-05/0.3652, allocations: 24.92 kB / 0.5656 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.3652, allocations: 3.938 kB / 0.5656 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002332/0.3654, allocations: 99.33 kB / 0.5657 GB, free: 20 kB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.703e-06/0.3655, allocations: 0 / 0.5657 GB, free: 20 kB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.000406/0.3659, allocations: 133.5 kB / 0.5658 GB, free: 15.88 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.863e-05/0.3659, allocations: 55.34 kB / 0.5659 GB, free: 15.82 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/0.3661, allocations: 153.8 kB / 0.566 GB, free: 15.66 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.807e-05/0.3661, allocations: 33.7 kB / 0.5661 GB, free: 15.62 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.054e-05/0.3662, allocations: 104.2 kB / 0.5662 GB, free: 15.51 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.688e-05/0.3662, allocations: 24.19 kB / 0.5662 GB, free: 15.49 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.736e-05/0.3663, allocations: 29.7 kB / 0.5662 GB, free: 15.45 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001958/0.3665, allocations: 326.8 kB / 0.5665 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.365e-05/0.3665, allocations: 27.92 kB / 0.5666 GB, free: 15.1 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001281/0.3667, allocations: 95.52 kB / 0.5666 GB, free: 14.98 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002103/0.3669, allocations: 119.6 kB / 0.5668 GB, free: 14.83 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3669, allocations: 0 / 0.5668 GB, free: 14.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002854/0.3672, allocations: 141.6 kB / 0.5669 GB, free: 14.69 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.3672, allocations: 12 kB / 0.5669 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.3672, allocations: 3.938 kB / 0.5669 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.3672, allocations: 4 kB / 0.5669 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.3673, allocations: 27.98 kB / 0.5669 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.3673, allocations: 3.938 kB / 0.5669 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.515e-05/0.3674, allocations: 11.95 kB / 0.567 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.3674, allocations: 8 kB / 0.567 GB, free: 14.62 MB / 414.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.000122/0.3676, allocations: 125.8 kB / 0.5671 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.013e-05/0.3676, allocations: 7.953 kB / 0.5671 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.873e-05/0.3676, allocations: 20.66 kB / 0.5671 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.3676, allocations: 0 / 0.5671 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3676, allocations: 0 / 0.5671 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.3676, allocations: 0 / 0.5671 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001441/0.3678, allocations: 153.1 kB / 0.5673 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3678, allocations: 0 / 0.5673 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.737e-05/0.3679, allocations: 11.98 kB / 0.5673 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.3679, allocations: 4.094 kB / 0.5673 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.3679, allocations: 0 / 0.5673 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.327e-06/0.3679, allocations: 3.938 kB / 0.5673 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.028e-05/0.3679, allocations: 3.984 kB / 0.5673 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003414/0.3682, allocations: 177 kB / 0.5675 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.667e-05/0.3683, allocations: 3.953 kB / 0.5675 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.846e-05/0.3683, allocations: 8 kB / 0.5675 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.979e-05/0.3684, allocations: 7.922 kB / 0.5675 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.498e-05/0.3684, allocations: 7.984 kB / 0.5675 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.3684, allocations: 4 kB / 0.5675 GB, free: 14.03 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.014e-05/0.3685, allocations: 108.8 kB / 0.5676 GB, free: 13.92 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3685, allocations: 0 / 0.5676 GB, free: 13.92 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002194/0.3687, allocations: 23.98 kB / 0.5676 GB, free: 13.9 MB / 414.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.0001111/0.3688, allocations: 107.3 kB / 0.5677 GB, free: 13.79 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002291/0.3691, allocations: 75.84 kB / 0.5678 GB, free: 13.71 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3691, allocations: 0 / 0.5678 GB, free: 13.71 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.942e-05/0.3691, allocations: 31.91 kB / 0.5678 GB, free: 13.68 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002107/0.3694, allocations: 16 kB / 0.5678 GB, free: 13.66 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000552/0.3699, allocations: 266 kB / 0.5681 GB, free: 13.38 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001041/0.37, allocations: 101.6 kB / 0.5682 GB, free: 13.26 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.76e-05/0.3701, allocations: 8.484 kB / 0.5682 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.203e-05/0.3701, allocations: 15.44 kB / 0.5682 GB, free: 13.23 MB / 414.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3701, allocations: 0 / 0.5682 GB, free: 13.23 MB / 414.1 MB Notification: Performance of Templates: time 0.004165/0.3743, allocations: 1.129 MB / 0.5693 GB, free: 12.13 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.RootMeanSquare.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.RootMeanSquare.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.RootMeanSquare.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.RootMeanSquare.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.RootMeanSquare.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.RootMeanSquare -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.RootMeanSquare_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/RootMeanSquare/RootMeanSquare.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.975096872003633]