Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001318/0.001318, allocations: 80.2 kB / 20.65 MB, free: 3.844 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.001135/0.001135, allocations: 173 kB / 24.06 MB, free: 456 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9682/0.9682, allocations: 158.6 MB / 185.9 MB, free: 2.789 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1416/0.1416, allocations: 32.38 MB / 270.7 MB, free: 14.53 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Blocks.RootMeanSquare") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 3.984 kB / 348.1 MB, free: 9.184 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.32e-05/2.544e-05, allocations: 6.25 kB / 348.1 MB, free: 9.176 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.002693/0.002718, allocations: 1.677 MB / 349.8 MB, free: 7.496 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001089/0.003807, allocations: 0.5579 MB / 350.3 MB, free: 6.93 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.876e-05/0.003906, allocations: 0 / 350.3 MB, free: 6.93 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001246/0.00403, allocations: 11.88 kB / 350.4 MB, free: 6.918 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.892e-05/0.004099, allocations: 27.78 kB / 350.4 MB, free: 6.891 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003543/0.004453, allocations: 55.7 kB / 350.4 MB, free: 6.836 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001499/0.004603, allocations: 111.7 kB / 350.5 MB, free: 6.727 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.004719, allocations: 19.98 kB / 350.6 MB, free: 6.707 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001441/0.004863, allocations: 63.81 kB / 350.6 MB, free: 6.645 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.004976, allocations: 35.89 kB / 350.7 MB, free: 6.609 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.499e-05/0.005001, allocations: 8 kB / 350.7 MB, free: 6.602 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.725e-05/0.005019, allocations: 8 kB / 350.7 MB, free: 6.594 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.683e-05/0.005055, allocations: 27.92 kB / 350.7 MB, free: 6.566 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.81e-05/0.005104, allocations: 31.91 kB / 350.7 MB, free: 6.535 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001348/0.005238, allocations: 75.72 kB / 350.8 MB, free: 6.461 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.943e-06/0.00524, allocations: 0 / 350.8 MB, free: 6.461 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.005241, allocations: 0 / 350.8 MB, free: 6.461 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.008e-06/0.005245, allocations: 0 / 350.8 MB, free: 6.461 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005086/0.005754, allocations: 463.5 kB / 351.3 MB, free: 5.965 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.005795, allocations: 11.97 kB / 351.3 MB, free: 5.953 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.907e-05/0.005844, allocations: 16.89 kB / 351.3 MB, free: 5.938 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.005991, allocations: 156.3 kB / 351.4 MB, free: 5.758 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.006003, allocations: 12.31 kB / 351.5 MB, free: 5.746 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.997e-05/0.006033, allocations: 12.36 kB / 351.5 MB, free: 5.734 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000141/0.006174, allocations: 74.92 kB / 351.5 MB, free: 5.652 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.006186, allocations: 192 / 351.5 MB, free: 5.652 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.006197, allocations: 384 / 351.5 MB, free: 5.652 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.006204, allocations: 7.938 kB / 351.6 MB, free: 5.645 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.116e-05/0.006245, allocations: 11.98 kB / 351.6 MB, free: 5.633 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003859/0.006631, allocations: 320.2 kB / 351.9 MB, free: 5.293 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.941e-05/0.00671, allocations: 58.97 kB / 351.9 MB, free: 5.223 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.35e-05/0.006734, allocations: 11.78 kB / 351.9 MB, free: 5.207 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.006757, allocations: 4 kB / 351.9 MB, free: 5.203 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001405/0.006898, allocations: 92.97 kB / 352 MB, free: 5.098 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.593e-06/0.0069, allocations: 0 / 352 MB, free: 5.098 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002185/0.007118, allocations: 89.52 kB / 352.1 MB, free: 5.004 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.954e-05/0.007148, allocations: 55.39 kB / 352.2 MB, free: 4.938 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.209e-05/0.00724, allocations: 192.1 kB / 352.4 MB, free: 4.734 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.007252, allocations: 33.7 kB / 352.4 MB, free: 4.695 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.831e-05/0.0073, allocations: 155 kB / 352.6 MB, free: 4.539 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.038e-05/0.00733, allocations: 27.78 kB / 352.6 MB, free: 4.512 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.83e-05/0.007379, allocations: 35.34 kB / 352.6 MB, free: 4.469 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.759e-05/0.007466, allocations: 0.4923 MB / 353.1 MB, free: 3.965 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.818e-05/0.007495, allocations: 11.98 kB / 353.1 MB, free: 3.953 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.608e-05/0.007551, allocations: 93.09 kB / 353.2 MB, free: 3.824 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.982e-05/0.00765, allocations: 125 kB / 353.3 MB, free: 3.664 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.007654, allocations: 3.938 kB / 353.3 MB, free: 3.66 MB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001628/0.007816, allocations: 113.4 kB / 353.4 MB, free: 3.543 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.007832, allocations: 4 kB / 353.5 MB, free: 3.539 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.007839, allocations: 8 kB / 353.5 MB, free: 3.531 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.007854, allocations: 4.219 kB / 353.5 MB, free: 3.527 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.007975, allocations: 27.92 kB / 353.5 MB, free: 3.5 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.007981, allocations: 11.92 kB / 353.5 MB, free: 3.488 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.367e-05/0.008034, allocations: 8 kB / 353.5 MB, free: 3.48 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.008044, allocations: 4 kB / 353.5 MB, free: 3.477 MB / 282.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,$PRE.mean1.y,$whenCondition2,$whenCondition1,rootMeanSquare.mean.y,$PRE.rootMeanSquare.mean.y) * 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.174e-05/0.008125, allocations: 179.1 kB / 353.7 MB, free: 3.293 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.174e-05/0.008147, allocations: 11.91 kB / 353.7 MB, free: 3.281 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.396e-05/0.008191, allocations: 16.77 kB / 353.7 MB, free: 3.266 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.008194, allocations: 0 / 353.7 MB, free: 3.266 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.008195, allocations: 4 kB / 353.7 MB, free: 3.262 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.008199, allocations: 0 / 353.7 MB, free: 3.262 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.912e-05/0.008298, allocations: 125.2 kB / 353.8 MB, free: 3.113 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.008301, allocations: 3.984 kB / 353.8 MB, free: 3.109 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.171e-05/0.008373, allocations: 8 kB / 353.9 MB, free: 3.102 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.008376, allocations: 3.938 kB / 353.9 MB, free: 3.098 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.008387, allocations: 4 kB / 353.9 MB, free: 3.094 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.008388, allocations: 0 / 353.9 MB, free: 3.094 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.00839, allocations: 3.984 kB / 353.9 MB, free: 3.09 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001847/0.008575, allocations: 124.7 kB / 354 MB, free: 2.945 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.064e-05/0.008595, allocations: 19.97 kB / 354 MB, free: 2.926 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.038e-05/0.008616, allocations: 8.016 kB / 354 MB, free: 2.918 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.465e-05/0.008661, allocations: 0 / 354 MB, free: 2.918 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.39e-05/0.008694, allocations: 7.984 kB / 354 MB, free: 2.91 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.478e-06/0.008704, allocations: 8 kB / 354 MB, free: 2.902 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.247e-05/0.008746, allocations: 145.6 kB / 354.2 MB, free: 2.762 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008746, allocations: 0 / 354.2 MB, free: 2.762 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002385/0.008985, allocations: 23.95 kB / 354.2 MB, free: 2.738 MB / 282.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,rootMeanSquare.mean.y) * 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.09e-05/0.009066, allocations: 99.12 kB / 354.3 MB, free: 2.629 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001185/0.009184, allocations: 63.62 kB / 354.4 MB, free: 2.562 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.009186, allocations: 0 / 354.4 MB, free: 2.562 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.256e-05/0.009229, allocations: 27.67 kB / 354.4 MB, free: 2.531 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00019/0.009419, allocations: 11.98 kB / 354.4 MB, free: 2.52 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005435/0.009962, allocations: 236.9 kB / 354.6 MB, free: 2.262 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.697e-05/0.009989, allocations: 63.34 kB / 354.7 MB, free: 2.18 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.305e-05/0.01003, allocations: 16.86 kB / 354.7 MB, free: 2.164 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.757e-05/0.01009, allocations: 86.14 kB / 354.8 MB, free: 2.078 MB / 282.7 MB Notification: Performance of SimCode: time 7.72e-07/0.01009, allocations: 0 / 354.8 MB, free: 2.078 MB / 282.7 MB Notification: Performance of Templates: time 0.003217/0.01331, allocations: 1.033 MB / 355.8 MB, free: 1.059 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.2387717640958726]