Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.00119/0.00119, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.00451/0.00451, allocations: 165 kB / 23.79 MB, free: 0.7773 MB / 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.9759/0.9759, allocations: 158.6 MB / 185.7 MB, free: 2.922 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.1717/0.1717, allocations: 32.36 MB / 270.4 MB, free: 14.71 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.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_3.2.3_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_3.2.3_ModelicaTest.Rotational.TestSpeed") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 347.6 MB, free: 9.484 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.677e-05/2.857e-05, allocations: 4.281 kB / 347.6 MB, free: 9.48 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.003227/0.003256, allocations: 2.618 MB / 350.3 MB, free: 6.848 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009309/0.004186, allocations: 0.6865 MB / 350.9 MB, free: 6.152 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001285/0.004315, allocations: 7.938 kB / 351 MB, free: 6.145 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001429/0.004458, allocations: 39.58 kB / 351 MB, free: 6.105 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00223/0.006688, allocations: 95.08 kB / 351.1 MB, free: 6.012 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002879/0.006976, allocations: 95.75 kB / 351.2 MB, free: 5.918 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003212/0.007297, allocations: 346.3 kB / 351.5 MB, free: 5.578 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001629/0.00746, allocations: 54.14 kB / 351.6 MB, free: 5.531 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002673/0.007727, allocations: 187.6 kB / 351.7 MB, free: 5.348 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001542/0.007882, allocations: 95.7 kB / 351.8 MB, free: 5.254 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.857e-05/0.00792, allocations: 24 kB / 351.9 MB, free: 5.23 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.626e-05/0.007956, allocations: 20 kB / 351.9 MB, free: 5.211 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.538e-05/0.008002, allocations: 59.73 kB / 351.9 MB, free: 5.152 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.356e-05/0.008085, allocations: 95.77 kB / 352 MB, free: 5.059 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000257/0.008342, allocations: 215.1 kB / 352.2 MB, free: 4.848 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.008344, allocations: 4 kB / 352.3 MB, free: 4.844 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.008346, allocations: 0 / 352.3 MB, free: 4.844 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.008351, allocations: 0 / 352.3 MB, free: 4.844 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0007228/0.009074, allocations: 0.6089 MB / 352.9 MB, free: 4.199 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.317e-05/0.009127, allocations: 11.97 kB / 352.9 MB, free: 4.188 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.831e-05/0.009215, allocations: 56.7 kB / 352.9 MB, free: 4.133 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002679/0.009483, allocations: 200.2 kB / 353.1 MB, free: 3.91 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.44e-05/0.009508, allocations: 20.88 kB / 353.1 MB, free: 3.887 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.68e-05/0.009564, allocations: 32.33 kB / 353.2 MB, free: 3.855 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003603/0.009925, allocations: 259.4 kB / 353.4 MB, free: 3.57 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.125e-05/0.009946, allocations: 12.14 kB / 353.4 MB, free: 3.559 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.663e-05/0.009973, allocations: 4.375 kB / 353.4 MB, free: 3.555 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.589e-05/0.009989, allocations: 11.94 kB / 353.5 MB, free: 3.543 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001495/0.01014, allocations: 105.8 kB / 353.6 MB, free: 3.445 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009854/0.01112, allocations: 1.424 MB / 355 MB, free: 1.93 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000235/0.01136, allocations: 208.5 kB / 355.2 MB, free: 1.676 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.182e-05/0.01144, allocations: 66.73 kB / 355.3 MB, free: 1.594 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.513e-05/0.01147, allocations: 4 kB / 355.3 MB, free: 1.59 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/0.01149, allocations: 45.38 kB / 355.3 MB, free: 1.535 MB / 282.7 MB Notification: Performance of pre-optimization done (n=26): time 3.476e-06/0.01149, allocations: 7.984 kB / 355.3 MB, free: 1.527 MB / 282.7 MB Notification: Performance of matching and sorting (n=32): time 0.001169/0.01266, allocations: 1.008 MB / 356.3 MB, free: 404 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.524e-05/0.0127, allocations: 136.5 kB / 356.5 MB, free: 236 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001719/0.01287, allocations: 284.2 kB / 356.7 MB, free: 15.93 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.01289, allocations: 29.7 kB / 356.8 MB, free: 15.9 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/0.01302, allocations: 227.3 kB / 357 MB, free: 15.67 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.988e-05/0.01309, allocations: 119 kB / 357.1 MB, free: 15.55 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.923e-05/0.01317, allocations: 83.84 kB / 357.2 MB, free: 15.46 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.01333, allocations: 0.504 MB / 357.7 MB, free: 14.95 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.274e-05/0.01342, allocations: 40.97 kB / 357.7 MB, free: 14.91 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001813/0.0136, allocations: 238.6 kB / 358 MB, free: 14.59 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002966/0.0139, allocations: 313.9 kB / 358.3 MB, free: 14.2 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.0139, allocations: 0 / 358.3 MB, free: 14.2 MB / 298.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003654/0.01427, allocations: 313.6 kB / 358.6 MB, free: 13.89 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.01428, allocations: 4 kB / 358.6 MB, free: 13.88 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.01429, allocations: 4.312 kB / 358.6 MB, free: 13.88 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.288e-05/0.01433, allocations: 11.94 kB / 358.6 MB, free: 13.87 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002262/0.01455, allocations: 95.88 kB / 358.7 MB, free: 13.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/0.01457, allocations: 15.88 kB / 358.7 MB, free: 13.76 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.593e-05/0.01466, allocations: 23.94 kB / 358.7 MB, free: 13.73 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.941e-05/0.01468, allocations: 20 kB / 358.7 MB, free: 13.71 MB / 298.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 0.0001185/0.0148, allocations: 188.6 kB / 358.9 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.407e-05/0.01487, allocations: 35.86 kB / 359 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.196e-05/0.01493, allocations: 29.77 kB / 359 MB, free: 13.45 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.01493, allocations: 7.938 kB / 359 MB, free: 13.44 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.01494, allocations: 4 kB / 359 MB, free: 13.44 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.01495, allocations: 0 / 359 MB, free: 13.44 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008847/0.01583, allocations: 0.9704 MB / 360 MB, free: 12.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.01583, allocations: 3.938 kB / 360 MB, free: 12.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001762/0.01601, allocations: 72.02 kB / 360 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.01601, allocations: 4 kB / 360 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.03e-05/0.01603, allocations: 8 kB / 360.1 MB, free: 12.33 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.01604, allocations: 7.938 kB / 360.1 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.01604, allocations: 0 / 360.1 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005278/0.01657, allocations: 0.7544 MB / 360.8 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.852e-05/0.01659, allocations: 27.81 kB / 360.8 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.685e-05/0.01662, allocations: 11.98 kB / 360.9 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.01675, allocations: 16 kB / 360.9 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.795e-05/0.01682, allocations: 27.89 kB / 360.9 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.01683, allocations: 15.98 kB / 360.9 MB, free: 11.44 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.622e-05/0.01693, allocations: 185.1 kB / 361.1 MB, free: 11.26 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01693, allocations: 0 / 361.1 MB, free: 11.26 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000312/0.01724, allocations: 64 kB / 361.2 MB, free: 11.2 MB / 298.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 0.0001098/0.01735, allocations: 115.1 kB / 361.3 MB, free: 11.07 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002842/0.01764, allocations: 180.8 kB / 361.4 MB, free: 10.89 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.01764, allocations: 0 / 361.4 MB, free: 10.89 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001033/0.01774, allocations: 92.08 kB / 361.5 MB, free: 10.8 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004366/0.01818, allocations: 41.45 kB / 361.6 MB, free: 10.76 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001289/0.01947, allocations: 0.7583 MB / 362.3 MB, free: 9.953 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.891e-05/0.01955, allocations: 92.92 kB / 362.4 MB, free: 9.84 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.301e-05/0.01965, allocations: 30.97 kB / 362.5 MB, free: 9.809 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.043e-05/0.01972, allocations: 28.48 kB / 362.5 MB, free: 9.781 MB / 298.7 MB Notification: Performance of SimCode: time 1.052e-06/0.01972, allocations: 0 / 362.5 MB, free: 9.781 MB / 298.7 MB Notification: Performance of Templates: time 0.004957/0.02468, allocations: 2.407 MB / 364.9 MB, free: 7.402 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 3.3453511181287467]