Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.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.0009397/0.0009397, allocations: 80.8 kB / 21.49 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.001003/0.001003, allocations: 169.1 kB / 24.91 MB, free: 9.191 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.008/1.008, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.2802/0.2802, allocations: 32.81 MB / 294.6 MB, free: 0.6719 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.Rotational.TestSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed") translateModel(ModelicaTest.Rotational.TestSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 323.2 MB, free: 9.547 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.372e-05/1.502e-05, allocations: 2.312 kB / 323.2 MB, free: 9.543 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.002828/0.002843, allocations: 2.663 MB / 325.9 MB, free: 6.863 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000988/0.003831, allocations: 0.7251 MB / 326.6 MB, free: 6.133 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001253/0.003956, allocations: 15.88 kB / 326.6 MB, free: 6.117 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001335/0.00409, allocations: 43.58 kB / 326.7 MB, free: 6.074 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001324/0.004222, allocations: 91.14 kB / 326.8 MB, free: 5.984 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002267/0.004449, allocations: 103.8 kB / 326.9 MB, free: 5.883 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002721/0.004721, allocations: 354.9 kB / 327.2 MB, free: 5.535 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.004848, allocations: 68.02 kB / 327.3 MB, free: 5.469 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002179/0.005066, allocations: 195.6 kB / 327.5 MB, free: 5.277 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00012/0.005186, allocations: 99.69 kB / 327.6 MB, free: 5.18 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.753e-05/0.005213, allocations: 23.94 kB / 327.6 MB, free: 5.156 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.42e-05/0.005278, allocations: 24 kB / 327.6 MB, free: 5.133 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.382e-05/0.005311, allocations: 59.77 kB / 327.7 MB, free: 5.074 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.407e-05/0.005376, allocations: 99.73 kB / 327.8 MB, free: 4.977 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002232/0.005599, allocations: 211.2 kB / 328 MB, free: 4.77 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.0056, allocations: 0 / 328 MB, free: 4.77 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.005601, allocations: 0 / 328 MB, free: 4.77 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.724e-06/0.005609, allocations: 0 / 328 MB, free: 4.77 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0004909/0.0061, allocations: 0.497 MB / 328.5 MB, free: 4.25 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.855e-05/0.006128, allocations: 8.031 kB / 328.5 MB, free: 4.242 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001435/0.006272, allocations: 60.89 kB / 328.5 MB, free: 4.184 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002007/0.006473, allocations: 213.2 kB / 328.8 MB, free: 3.949 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.006489, allocations: 24.81 kB / 328.8 MB, free: 3.922 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.303e-05/0.006522, allocations: 28.33 kB / 328.8 MB, free: 3.895 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002187/0.006741, allocations: 230.4 kB / 329 MB, free: 3.645 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.006757, allocations: 12.12 kB / 329 MB, free: 3.633 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.00677, allocations: 12.31 kB / 329.1 MB, free: 3.621 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.916e-06/0.006779, allocations: 11.94 kB / 329.1 MB, free: 3.609 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.771e-05/0.006876, allocations: 75.25 kB / 329.1 MB, free: 3.539 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008226/0.007699, allocations: 1.002 MB / 330.1 MB, free: 2.469 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001717/0.007871, allocations: 166.4 kB / 330.3 MB, free: 2.27 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.398e-05/0.007925, allocations: 51.55 kB / 330.4 MB, free: 2.207 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.694e-05/0.007942, allocations: 8 kB / 330.4 MB, free: 2.199 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.007965, allocations: 42.5 kB / 330.4 MB, free: 2.148 MB / 298.7 MB Notification: Performance of pre-optimization done (n=26): time 3.386e-06/0.007968, allocations: 4 kB / 330.4 MB, free: 2.145 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.0009701/0.008938, allocations: 0.8165 MB / 331.2 MB, free: 1.219 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.207e-05/0.00899, allocations: 140.5 kB / 331.4 MB, free: 1.051 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.009118, allocations: 221 kB / 331.6 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.009135, allocations: 37.7 kB / 331.6 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7e-05/0.009205, allocations: 165 kB / 331.8 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.764e-05/0.009273, allocations: 130.9 kB / 331.9 MB, free: 496 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.264e-05/0.009336, allocations: 66.17 kB / 332 MB, free: 424 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.392e-05/0.00943, allocations: 342.8 kB / 332.3 MB, free: 72 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.189e-05/0.009471, allocations: 28.98 kB / 332.3 MB, free: 44 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001518/0.009623, allocations: 182 kB / 332.5 MB, free: 15.8 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002112/0.009834, allocations: 240.8 kB / 332.7 MB, free: 15.51 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.009837, allocations: 4 kB / 332.7 MB, free: 15.5 MB / 314.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0002353/0.01007, allocations: 225.4 kB / 333 MB, free: 15.28 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.01009, allocations: 8 kB / 333 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.01009, allocations: 4 kB / 333 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.01011, allocations: 11.98 kB / 333 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002172/0.01033, allocations: 104.2 kB / 333.1 MB, free: 15.15 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.707e-06/0.01033, allocations: 15.94 kB / 333.1 MB, free: 15.14 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.643e-05/0.01042, allocations: 16.05 kB / 333.1 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.686e-05/0.01044, allocations: 20.75 kB / 333.1 MB, free: 15.1 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 48 * 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 9.498e-05/0.01053, allocations: 141.6 kB / 333.3 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.59e-05/0.0106, allocations: 23.98 kB / 333.3 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.102e-05/0.01064, allocations: 37.77 kB / 333.3 MB, free: 14.89 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.01064, allocations: 4 kB / 333.3 MB, free: 14.89 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.01065, allocations: 4.25 kB / 333.4 MB, free: 14.88 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.01065, allocations: 7.984 kB / 333.4 MB, free: 14.88 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005975/0.01125, allocations: 0.654 MB / 334 MB, free: 14.19 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.01125, allocations: 0 / 334 MB, free: 14.19 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001891/0.01144, allocations: 83.88 kB / 334.1 MB, free: 14.11 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.01145, allocations: 4 kB / 334.1 MB, free: 14.1 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.01146, allocations: 4 kB / 334.1 MB, free: 14.1 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.01146, allocations: 4 kB / 334.1 MB, free: 14.09 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.01146, allocations: 3.938 kB / 334.1 MB, free: 14.09 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003388/0.0118, allocations: 0.5231 MB / 334.6 MB, free: 13.54 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.44e-05/0.01183, allocations: 23.81 kB / 334.7 MB, free: 13.52 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.36e-05/0.01185, allocations: 11.98 kB / 334.7 MB, free: 13.51 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/0.01198, allocations: 12 kB / 334.7 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.66e-05/0.01204, allocations: 27.89 kB / 334.7 MB, free: 13.47 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.01205, allocations: 7.984 kB / 334.7 MB, free: 13.46 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.988e-05/0.0121, allocations: 74.78 kB / 334.8 MB, free: 13.39 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0121, allocations: 0 / 334.8 MB, free: 13.39 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002939/0.01239, allocations: 68 kB / 334.9 MB, free: 13.32 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (speed4.s,speed3.s,speed3.v,speed1.phi,speed1.w,speed2.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * 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 Backend phase and start with SimCode phase: time 8.602e-05/0.01248, allocations: 96.17 kB / 334.9 MB, free: 13.22 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001986/0.01268, allocations: 157.5 kB / 335.1 MB, free: 13.06 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.674e-06/0.01269, allocations: 4 kB / 335.1 MB, free: 13.06 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.562e-05/0.01276, allocations: 81.56 kB / 335.2 MB, free: 12.98 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003593/0.01312, allocations: 44.62 kB / 335.2 MB, free: 12.93 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008111/0.01393, allocations: 0.6285 MB / 335.9 MB, free: 12.26 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.379e-05/0.014, allocations: 92.92 kB / 335.9 MB, free: 12.15 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.06e-05/0.01408, allocations: 34.95 kB / 336 MB, free: 12.12 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/0.01419, allocations: 99.28 kB / 336.1 MB, free: 12.02 MB / 314.7 MB Notification: Performance of SimCode: time 1.042e-06/0.01419, allocations: 7.938 kB / 336.1 MB, free: 12.01 MB / 314.7 MB Notification: Performance of Templates: time 0.004894/0.01908, allocations: 2.486 MB / 338.6 MB, free: 9.582 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/TestSpeed/TestSpeed.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.9326141756027937]