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.001011/0.001011, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001242/0.001242, allocations: 162.9 kB / 24.99 MB, free: 8.758 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.043/1.043, allocations: 177.1 MB / 205.3 MB, free: 5.59 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.2812/0.2812, allocations: 32.81 MB / 294.6 MB, free: 1.227 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.913e-06/1.913e-06, allocations: 0 / 376 MB, free: 4.988 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.614e-05/2.805e-05, allocations: 2.312 kB / 376 MB, free: 4.984 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.002155/0.002183, allocations: 1.713 MB / 377.7 MB, free: 3.258 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001062/0.003246, allocations: 0.5686 MB / 378.3 MB, free: 2.684 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.012e-05/0.003326, allocations: 3.938 kB / 378.3 MB, free: 2.68 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001177/0.003443, allocations: 15.86 kB / 378.3 MB, free: 2.664 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 5.312e-05/0.003497, allocations: 19.8 kB / 378.3 MB, free: 2.645 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002875/0.003784, allocations: 63.75 kB / 378.4 MB, free: 2.582 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001473/0.003931, allocations: 127.6 kB / 378.5 MB, free: 2.457 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.00406, allocations: 29.22 kB / 378.5 MB, free: 2.43 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001515/0.004212, allocations: 67.81 kB / 378.6 MB, free: 2.363 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.913e-05/0.004311, allocations: 35.89 kB / 378.6 MB, free: 2.328 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.089e-05/0.004332, allocations: 12 kB / 378.6 MB, free: 2.316 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.146e-05/0.004383, allocations: 19.98 kB / 378.7 MB, free: 2.297 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.39e-05/0.004417, allocations: 23.92 kB / 378.7 MB, free: 2.273 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.162e-05/0.004469, allocations: 35.91 kB / 378.7 MB, free: 2.238 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001688/0.004637, allocations: 95.58 kB / 378.8 MB, free: 2.145 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.00464, allocations: 4 kB / 378.8 MB, free: 2.141 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.004641, allocations: 0 / 378.8 MB, free: 2.141 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.004646, allocations: 0 / 378.8 MB, free: 2.141 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.00055/0.005196, allocations: 471.5 kB / 379.3 MB, free: 1.637 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.005231, allocations: 8.031 kB / 379.3 MB, free: 1.629 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001557/0.005387, allocations: 36.83 kB / 379.3 MB, free: 1.594 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001762/0.005563, allocations: 156.9 kB / 379.5 MB, free: 1.414 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.005575, allocations: 4.375 kB / 379.5 MB, free: 1.41 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.445e-05/0.005599, allocations: 16.38 kB / 379.5 MB, free: 1.395 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.005746, allocations: 82.91 kB / 379.6 MB, free: 1.305 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.005757, allocations: 3.938 kB / 379.6 MB, free: 1.301 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.005771, allocations: 4 kB / 379.6 MB, free: 1.297 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.00578, allocations: 4 kB / 379.6 MB, free: 1.293 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.211e-05/0.005832, allocations: 19.97 kB / 379.6 MB, free: 1.273 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004165/0.006249, allocations: 367.4 kB / 380 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.363e-05/0.006332, allocations: 50.98 kB / 380 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.185e-05/0.006364, allocations: 27.81 kB / 380 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/0.006381, allocations: 4 kB / 380 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001246/0.006506, allocations: 84.95 kB / 380.1 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.623e-06/0.006508, allocations: 0 / 380.1 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002133/0.006721, allocations: 101.5 kB / 380.2 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.939e-05/0.00676, allocations: 55.34 kB / 380.3 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.006866, allocations: 208.8 kB / 380.5 MB, free: 300 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.00688, allocations: 25.7 kB / 380.5 MB, free: 268 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.677e-05/0.006937, allocations: 158.9 kB / 380.7 MB, free: 104 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.579e-05/0.006963, allocations: 31.73 kB / 380.7 MB, free: 72 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.016e-05/0.007003, allocations: 39.36 kB / 380.7 MB, free: 24 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.007125, allocations: 0.5001 MB / 381.2 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.948e-05/0.007155, allocations: 11.98 kB / 381.2 MB, free: 15.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.844e-05/0.007213, allocations: 89.17 kB / 381.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001006/0.007314, allocations: 125 kB / 381.4 MB, free: 15.21 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.007316, allocations: 0 / 381.4 MB, free: 15.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001358/0.007451, allocations: 121.4 kB / 381.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.007467, allocations: 8 kB / 381.6 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.007472, allocations: 0 / 381.6 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.007486, allocations: 7.984 kB / 381.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.301e-05/0.007579, allocations: 24.16 kB / 381.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.007587, allocations: 15.92 kB / 381.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.408e-05/0.007622, allocations: 4 kB / 381.6 MB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.385e-06/0.00763, allocations: 8 kB / 381.6 MB, free: 15.02 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 7.589e-05/0.007706, allocations: 168.5 kB / 381.8 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.773e-05/0.007724, allocations: 15.91 kB / 381.8 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.979e-05/0.007753, allocations: 16.77 kB / 381.8 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.007755, allocations: 0 / 381.8 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.007759, allocations: 3.938 kB / 381.8 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.007763, allocations: 96 / 381.8 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.857e-05/0.007862, allocations: 148.6 kB / 382 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.007866, allocations: 11.97 kB / 382 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.202e-05/0.007918, allocations: 12 kB / 382 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.007919, allocations: 0 / 382 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.007931, allocations: 0 / 382 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.007933, allocations: 4 kB / 382 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.007935, allocations: 3.984 kB / 382 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001814/0.008116, allocations: 136.2 kB / 382.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.441e-05/0.008131, allocations: 19.83 kB / 382.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.793e-05/0.008149, allocations: 8 kB / 382.2 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.97e-05/0.008178, allocations: 4.031 kB / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.648e-05/0.008215, allocations: 7.984 kB / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.757e-06/0.008224, allocations: 11.94 kB / 382.2 MB, free: 14.39 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.411e-05/0.008278, allocations: 147.2 kB / 382.3 MB, free: 14.25 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008278, allocations: 0 / 382.3 MB, free: 14.25 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000146/0.008424, allocations: 23.94 kB / 382.4 MB, free: 14.23 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 8.075e-05/0.008505, allocations: 91.25 kB / 382.4 MB, free: 14.13 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001246/0.008629, allocations: 63.91 kB / 382.5 MB, free: 14.06 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.008631, allocations: 64 / 382.5 MB, free: 14.06 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.416e-05/0.008675, allocations: 31.61 kB / 382.5 MB, free: 14.03 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000166/0.008841, allocations: 16.64 kB / 382.6 MB, free: 14.01 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005519/0.009393, allocations: 246.5 kB / 382.8 MB, free: 13.74 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.616e-05/0.009429, allocations: 71.31 kB / 382.9 MB, free: 13.65 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.414e-05/0.009463, allocations: 12.5 kB / 382.9 MB, free: 13.64 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.534e-05/0.009498, allocations: 20.48 kB / 382.9 MB, free: 13.62 MB / 362.7 MB Notification: Performance of SimCode: time 7.72e-07/0.009499, allocations: 4 kB / 382.9 MB, free: 13.62 MB / 362.7 MB Notification: Performance of Templates: time 0.002792/0.01229, allocations: 1.049 MB / 384 MB, free: 12.59 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.046374873025343]