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: 80.8 kB / 21.5 MB, free: 2.992 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.001067/0.001067, allocations: 170.3 kB / 24.91 MB, free: 8.77 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 1.013/1.013, allocations: 177.1 MB / 205.3 MB, free: 5.102 MB / 186.7 MB " [Timeout remaining time 179] 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.2578/0.2578, allocations: 34.26 MB / 296.1 MB, free: 0.6992 MB / 266.7 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 1.433e-06/1.433e-06, allocations: 0 / 325.3 MB, free: 7.703 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.204e-05/1.348e-05, allocations: 3.297 kB / 325.3 MB, free: 7.699 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.002028/0.002042, allocations: 1.758 MB / 327 MB, free: 5.934 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007857/0.002828, allocations: 0.5807 MB / 327.6 MB, free: 5.348 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.421e-05/0.002892, allocations: 4 kB / 327.6 MB, free: 5.344 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.983e-05/0.002982, allocations: 11.86 kB / 327.6 MB, free: 5.332 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.249e-05/0.003034, allocations: 23.73 kB / 327.6 MB, free: 5.309 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002397/0.003274, allocations: 67.8 kB / 327.7 MB, free: 5.242 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001332/0.003407, allocations: 115.6 kB / 327.8 MB, free: 5.129 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.003508, allocations: 29.88 kB / 327.9 MB, free: 5.102 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001342/0.003642, allocations: 75.73 kB / 327.9 MB, free: 5.027 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.003746, allocations: 35.91 kB / 328 MB, free: 4.992 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.214e-05/0.003768, allocations: 8 kB / 328 MB, free: 4.984 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.376e-05/0.003832, allocations: 23.97 kB / 328 MB, free: 4.961 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.12e-05/0.003863, allocations: 23.92 kB / 328 MB, free: 4.938 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.787e-05/0.003911, allocations: 39.91 kB / 328.1 MB, free: 4.898 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001598/0.004071, allocations: 99.58 kB / 328.2 MB, free: 4.801 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.553e-06/0.004072, allocations: 0 / 328.2 MB, free: 4.801 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.004073, allocations: 0 / 328.2 MB, free: 4.801 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.037e-06/0.004077, allocations: 0 / 328.2 MB, free: 4.801 MB / 298.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.0004028/0.004479, allocations: 321.8 kB / 328.5 MB, free: 4.465 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.027e-05/0.00451, allocations: 12.03 kB / 328.5 MB, free: 4.453 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001207/0.00463, allocations: 28.91 kB / 328.5 MB, free: 4.426 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/0.004771, allocations: 142.2 kB / 328.7 MB, free: 4.262 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.526e-06/0.00478, allocations: 4.375 kB / 328.7 MB, free: 4.258 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.911e-05/0.004799, allocations: 12.38 kB / 328.7 MB, free: 4.246 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000101/0.0049, allocations: 82.84 kB / 328.7 MB, free: 4.156 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.00491, allocations: 11.92 kB / 328.8 MB, free: 4.145 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.004918, allocations: 0 / 328.8 MB, free: 4.145 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.004922, allocations: 0 / 328.8 MB, free: 4.145 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.206e-05/0.004954, allocations: 15.98 kB / 328.8 MB, free: 4.129 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002908/0.005245, allocations: 235.4 kB / 329 MB, free: 3.883 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.039e-05/0.005306, allocations: 38.55 kB / 329 MB, free: 3.836 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.174e-05/0.005327, allocations: 20.86 kB / 329.1 MB, free: 3.812 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.147e-05/0.005339, allocations: 0 / 329.1 MB, free: 3.812 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.82e-05/0.005437, allocations: 83.22 kB / 329.1 MB, free: 3.719 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.222e-06/0.005438, allocations: 0 / 329.1 MB, free: 3.719 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001314/0.00557, allocations: 69.66 kB / 329.2 MB, free: 3.645 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.931e-05/0.005609, allocations: 59.34 kB / 329.3 MB, free: 3.574 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.912e-05/0.005688, allocations: 140.5 kB / 329.4 MB, free: 3.426 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.005703, allocations: 33.7 kB / 329.4 MB, free: 3.387 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.072e-05/0.005743, allocations: 108.1 kB / 329.5 MB, free: 3.277 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.976e-05/0.005773, allocations: 31.77 kB / 329.6 MB, free: 3.246 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-05/0.005814, allocations: 33.69 kB / 329.6 MB, free: 3.207 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.199e-05/0.005906, allocations: 326.8 kB / 329.9 MB, free: 2.879 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.744e-05/0.005923, allocations: 8 kB / 329.9 MB, free: 2.871 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.328e-05/0.005986, allocations: 67.7 kB / 330 MB, free: 2.777 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.283e-05/0.006069, allocations: 91.56 kB / 330.1 MB, free: 2.66 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.006073, allocations: 4 kB / 330.1 MB, free: 2.656 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001064/0.00618, allocations: 97.45 kB / 330.2 MB, free: 2.555 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.006191, allocations: 11.94 kB / 330.2 MB, free: 2.543 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.006198, allocations: 7.984 kB / 330.2 MB, free: 2.535 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.006209, allocations: 4.219 kB / 330.2 MB, free: 2.531 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.704e-05/0.006286, allocations: 27.98 kB / 330.2 MB, free: 2.504 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.356e-06/0.00629, allocations: 0 / 330.2 MB, free: 2.504 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.352e-05/0.006323, allocations: 11.89 kB / 330.3 MB, free: 2.492 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.00633, allocations: 4 kB / 330.3 MB, free: 2.488 MB / 298.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 6.306e-05/0.006393, allocations: 132.5 kB / 330.4 MB, free: 2.348 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.119e-05/0.006404, allocations: 7.984 kB / 330.4 MB, free: 2.34 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.56e-05/0.00643, allocations: 12.78 kB / 330.4 MB, free: 2.324 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.006431, allocations: 0 / 330.4 MB, free: 2.324 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.006432, allocations: 0 / 330.4 MB, free: 2.324 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.006437, allocations: 7.984 kB / 330.4 MB, free: 2.316 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.379e-05/0.006511, allocations: 93.8 kB / 330.5 MB, free: 2.207 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.006511, allocations: 0 / 330.5 MB, free: 2.207 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.245e-05/0.006554, allocations: 15.98 kB / 330.5 MB, free: 2.191 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-06/0.006555, allocations: 0 / 330.5 MB, free: 2.191 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.295e-06/0.006563, allocations: 3.938 kB / 330.5 MB, free: 2.188 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.006565, allocations: 4 kB / 330.5 MB, free: 2.184 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.006566, allocations: 4 kB / 330.5 MB, free: 2.18 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001163/0.006682, allocations: 105.7 kB / 330.6 MB, free: 2.059 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.094e-05/0.006693, allocations: 15.84 kB / 330.7 MB, free: 2.043 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.266e-05/0.006706, allocations: 4.031 kB / 330.7 MB, free: 2.039 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.736e-05/0.006733, allocations: 8 kB / 330.7 MB, free: 2.031 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.544e-05/0.006758, allocations: 3.984 kB / 330.7 MB, free: 2.027 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.006764, allocations: 4 kB / 330.7 MB, free: 2.023 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.744e-05/0.006792, allocations: 36.56 kB / 330.7 MB, free: 1.988 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006792, allocations: 0 / 330.7 MB, free: 1.988 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001255/0.006917, allocations: 27.88 kB / 330.7 MB, free: 1.961 MB / 298.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 5.818e-05/0.006975, allocations: 76.42 kB / 330.8 MB, free: 1.879 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.968e-05/0.007065, allocations: 55.59 kB / 330.9 MB, free: 1.824 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.007069, allocations: 4 kB / 330.9 MB, free: 1.82 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.568e-05/0.007105, allocations: 36.7 kB / 330.9 MB, free: 1.781 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.42e-05/0.007199, allocations: 12.5 kB / 330.9 MB, free: 1.77 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004278/0.007627, allocations: 238.8 kB / 331.1 MB, free: 1.508 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.965e-05/0.007656, allocations: 67.33 kB / 331.2 MB, free: 1.422 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.215e-05/0.007689, allocations: 12.62 kB / 331.2 MB, free: 1.41 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.374e-05/0.007742, allocations: 63.36 kB / 331.3 MB, free: 1.348 MB / 298.7 MB Notification: Performance of SimCode: time 5.01e-07/0.007743, allocations: 0 / 331.3 MB, free: 1.348 MB / 298.7 MB Notification: Performance of Templates: time 0.002467/0.01021, allocations: 1.095 MB / 332.4 MB, free: 272 kB / 298.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.RootMeanSquare_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.74720722110942]