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.001511/0.001511, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001321/0.001321, allocations: 165 kB / 24.56 MB, free: 16 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.035/1.035, allocations: 177.1 MB / 205 MB, free: 5.289 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.2504/0.2504, allocations: 34.26 MB / 295.7 MB, free: 0.7148 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.724e-06/1.724e-06, allocations: 0 / 378 MB, free: 2.695 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.564e-05/2.736e-05, allocations: 5.688 kB / 378 MB, free: 2.691 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.002145/0.002173, allocations: 1.721 MB / 379.7 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008249/0.002998, allocations: 0.5608 MB / 380.3 MB, free: 396 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.503e-05/0.003063, allocations: 4 kB / 380.3 MB, free: 392 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001003/0.003163, allocations: 11.88 kB / 380.3 MB, free: 380 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 5.721e-05/0.00322, allocations: 27.72 kB / 380.3 MB, free: 352 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003125/0.003533, allocations: 59.81 kB / 380.4 MB, free: 292 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000139/0.003672, allocations: 127.5 kB / 380.5 MB, free: 164 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.003776, allocations: 25.23 kB / 380.6 MB, free: 140 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001678/0.003944, allocations: 71.81 kB / 380.6 MB, free: 68 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.00406, allocations: 39.88 kB / 380.7 MB, free: 28 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.609e-05/0.004086, allocations: 12 kB / 380.7 MB, free: 16 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.774e-05/0.004144, allocations: 12 kB / 380.7 MB, free: 4 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.593e-05/0.004199, allocations: 27.91 kB / 380.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.413e-05/0.004264, allocations: 43.84 kB / 380.8 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002037/0.004467, allocations: 95.64 kB / 380.9 MB, free: 15.84 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.004471, allocations: 0 / 380.9 MB, free: 15.84 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.81e-07/0.004472, allocations: 0 / 380.9 MB, free: 15.84 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.004476, allocations: 0 / 380.9 MB, free: 15.84 MB / 362.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.0006176/0.005094, allocations: 471.5 kB / 381.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.005133, allocations: 8.031 kB / 381.3 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001984/0.005331, allocations: 36.83 kB / 381.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002117/0.005543, allocations: 157.5 kB / 381.5 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.00556, allocations: 12.36 kB / 381.5 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.162e-05/0.005591, allocations: 8.359 kB / 381.5 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001755/0.005767, allocations: 86.86 kB / 381.6 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.005779, allocations: 3.938 kB / 381.6 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.613e-05/0.005796, allocations: 7.984 kB / 381.6 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.005804, allocations: 0 / 381.6 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.341e-05/0.005868, allocations: 19.98 kB / 381.6 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005138/0.006382, allocations: 371.4 kB / 382 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.006493, allocations: 47.14 kB / 382.1 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.798e-05/0.006531, allocations: 19.69 kB / 382.1 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.006549, allocations: 4.031 kB / 382.1 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001572/0.006706, allocations: 88.95 kB / 382.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.764e-06/0.006708, allocations: 0 / 382.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002336/0.006941, allocations: 97.55 kB / 382.3 MB, free: 14.28 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.006981, allocations: 55.41 kB / 382.3 MB, free: 14.21 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.007094, allocations: 209 kB / 382.5 MB, free: 14 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.755e-05/0.007122, allocations: 29.7 kB / 382.5 MB, free: 13.96 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.084e-05/0.007183, allocations: 154.9 kB / 382.7 MB, free: 13.8 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.667e-05/0.007209, allocations: 27.75 kB / 382.7 MB, free: 13.78 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002852/0.007495, allocations: 35.36 kB / 382.8 MB, free: 13.73 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.007616, allocations: 0.5001 MB / 383.3 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.844e-05/0.007645, allocations: 11.98 kB / 383.3 MB, free: 13.21 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.49e-05/0.00771, allocations: 100.3 kB / 383.4 MB, free: 13.08 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001011/0.007811, allocations: 125 kB / 383.5 MB, free: 12.92 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.007813, allocations: 0 / 383.5 MB, free: 12.92 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001451/0.007958, allocations: 121.4 kB / 383.6 MB, free: 12.79 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.007975, allocations: 4 kB / 383.6 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.007982, allocations: 4.219 kB / 383.6 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.007998, allocations: 8 kB / 383.6 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.008101, allocations: 23.92 kB / 383.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.008109, allocations: 11.92 kB / 383.7 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.599e-05/0.008145, allocations: 4 kB / 383.7 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.008155, allocations: 15.94 kB / 383.7 MB, free: 12.72 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 8.995e-05/0.008245, allocations: 172.5 kB / 383.9 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.567e-05/0.008271, allocations: 19.91 kB / 383.9 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.666e-05/0.008308, allocations: 12.77 kB / 383.9 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.008312, allocations: 4 kB / 383.9 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.008317, allocations: 7.938 kB / 383.9 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.00832, allocations: 0 / 383.9 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001252/0.008446, allocations: 144.6 kB / 384 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.008447, allocations: 0 / 384 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.011e-05/0.008517, allocations: 19.98 kB / 384.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.00852, allocations: 0 / 384.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.008535, allocations: 0 / 384.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.008537, allocations: 0 / 384.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.008538, allocations: 0 / 384.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000213/0.008751, allocations: 140.2 kB / 384.2 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.824e-05/0.008769, allocations: 15.89 kB / 384.2 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/0.008789, allocations: 8.031 kB / 384.2 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.637e-05/0.008826, allocations: 4 kB / 384.2 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.477e-05/0.00886, allocations: 3.984 kB / 384.2 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.008872, allocations: 11.94 kB / 384.2 MB, free: 12.1 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.602e-05/0.008938, allocations: 147.2 kB / 384.4 MB, free: 11.96 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008938, allocations: 0 / 384.4 MB, free: 11.96 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002272/0.009165, allocations: 23.94 kB / 384.4 MB, free: 11.93 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 9.025e-05/0.009255, allocations: 99.19 kB / 384.5 MB, free: 11.83 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001433/0.009398, allocations: 63.66 kB / 384.6 MB, free: 11.76 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.009401, allocations: 4 kB / 384.6 MB, free: 11.76 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.813e-05/0.009449, allocations: 23.67 kB / 384.6 MB, free: 11.73 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001988/0.009648, allocations: 20.62 kB / 384.6 MB, free: 11.71 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006296/0.01028, allocations: 250.4 kB / 384.9 MB, free: 11.44 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.345e-05/0.01032, allocations: 67.33 kB / 384.9 MB, free: 11.35 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.086e-05/0.01036, allocations: 12.81 kB / 384.9 MB, free: 11.34 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.772e-05/0.0104, allocations: 16.5 kB / 384.9 MB, free: 11.32 MB / 362.7 MB Notification: Performance of SimCode: time 8.22e-07/0.0104, allocations: 0 / 384.9 MB, free: 11.32 MB / 362.7 MB Notification: Performance of Templates: time 0.003206/0.01361, allocations: 1.098 MB / 386 MB, free: 10.24 MB / 362.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 -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: 3.077795065008104]