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.001939/0.001939, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.002125/0.002125, allocations: 165.3 kB / 24.27 MB, free: 152 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.603/1.603, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.3434/0.3434, allocations: 32.8 MB / 293.9 MB, free: 1.219 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.904e-06/1.904e-06, allocations: 0 / 375.2 MB, free: 5.016 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.402e-05/3.593e-05, allocations: 2.312 kB / 375.2 MB, free: 5.012 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.007068/0.007104, allocations: 2.614 MB / 377.9 MB, free: 2.383 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002022/0.009126, allocations: 0.705 MB / 378.6 MB, free: 1.672 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002011/0.009328, allocations: 7.938 kB / 378.6 MB, free: 1.664 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002452/0.009573, allocations: 43.52 kB / 378.6 MB, free: 1.621 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003025/0.009875, allocations: 91.14 kB / 378.7 MB, free: 1.531 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004439/0.01032, allocations: 99.8 kB / 378.8 MB, free: 1.434 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006389/0.01096, allocations: 358.3 kB / 379.1 MB, free: 1.082 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002377/0.0112, allocations: 58.06 kB / 379.2 MB, free: 1.02 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004795/0.01168, allocations: 191.6 kB / 379.4 MB, free: 0.832 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002774/0.01195, allocations: 99.69 kB / 379.5 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.003e-05/0.01202, allocations: 20 kB / 379.5 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001206/0.01214, allocations: 28 kB / 379.5 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.075e-05/0.01223, allocations: 55.75 kB / 379.6 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000198/0.01243, allocations: 103.7 kB / 379.7 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006209/0.01305, allocations: 310.9 kB / 380 MB, free: 232 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.01306, allocations: 0 / 380 MB, free: 232 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.01306, allocations: 4 kB / 380 MB, free: 228 kB / 346.7 MB Notification: Performance of Transformations before backend: time 6.742e-06/0.01307, allocations: 0 / 380 MB, free: 228 kB / 346.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.001512/0.01458, allocations: 0.6242 MB / 380.6 MB, free: 15.56 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.01463, allocations: 12.02 kB / 380.6 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004406/0.01507, allocations: 72.69 kB / 380.7 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005537/0.01562, allocations: 224 kB / 380.9 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.987e-05/0.01566, allocations: 16.88 kB / 380.9 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.488e-05/0.01574, allocations: 32.33 kB / 381 MB, free: 15.19 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008394/0.01658, allocations: 294.6 kB / 381.3 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.301e-05/0.01662, allocations: 8.188 kB / 381.3 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.735e-05/0.01665, allocations: 8.375 kB / 381.3 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.78e-05/0.01667, allocations: 11.94 kB / 381.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007094/0.01738, allocations: 171.7 kB / 381.4 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003112/0.02049, allocations: 1.487 MB / 382.9 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007858/0.02128, allocations: 268.4 kB / 383.2 MB, free: 12.78 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003533/0.02163, allocations: 102.7 kB / 383.3 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.873e-05/0.02168, allocations: 4 kB / 383.3 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.471e-05/0.02175, allocations: 49.31 kB / 383.4 MB, free: 12.6 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 2.074e-06/0.02175, allocations: 0 / 383.4 MB, free: 12.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=32): time 0.003644/0.02539, allocations: 1.179 MB / 384.5 MB, free: 11.3 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/0.0255, allocations: 132.5 kB / 384.7 MB, free: 11.14 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003525/0.02585, allocations: 320.2 kB / 385 MB, free: 10.81 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.59e-05/0.02589, allocations: 33.7 kB / 385 MB, free: 10.77 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002161/0.02611, allocations: 235.3 kB / 385.2 MB, free: 10.54 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001308/0.02624, allocations: 131 kB / 385.4 MB, free: 10.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001397/0.02638, allocations: 83.8 kB / 385.4 MB, free: 10.32 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003634/0.02674, allocations: 0.5235 MB / 386 MB, free: 9.781 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002407/0.02698, allocations: 92.94 kB / 386.1 MB, free: 9.691 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004363/0.02742, allocations: 286.6 kB / 386.3 MB, free: 9.328 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007128/0.02813, allocations: 418.8 kB / 386.7 MB, free: 8.836 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.02813, allocations: 0 / 386.7 MB, free: 8.836 MB / 362.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008045/0.02894, allocations: 397.5 kB / 387.1 MB, free: 8.441 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.02896, allocations: 8 kB / 387.1 MB, free: 8.434 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.02897, allocations: 4 kB / 387.1 MB, free: 8.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.501e-05/0.02899, allocations: 11.94 kB / 387.2 MB, free: 8.418 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003832/0.02938, allocations: 100.2 kB / 387.3 MB, free: 8.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.02939, allocations: 8 kB / 387.3 MB, free: 8.312 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002123/0.0296, allocations: 23.98 kB / 387.3 MB, free: 8.289 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.947e-05/0.02963, allocations: 16 kB / 387.3 MB, free: 8.273 MB / 362.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.0001957/0.02983, allocations: 200.4 kB / 387.5 MB, free: 8.066 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/0.02994, allocations: 39.81 kB / 387.5 MB, free: 8.027 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.066e-05/0.03003, allocations: 37.77 kB / 387.6 MB, free: 7.992 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/0.03004, allocations: 7.938 kB / 387.6 MB, free: 7.984 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.03005, allocations: 0 / 387.6 MB, free: 7.984 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.03006, allocations: 7.984 kB / 387.6 MB, free: 7.977 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001703/0.03176, allocations: 1.095 MB / 388.7 MB, free: 6.828 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.03177, allocations: 4 kB / 388.7 MB, free: 6.824 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003499/0.03212, allocations: 67.89 kB / 388.8 MB, free: 6.758 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.03212, allocations: 4 kB / 388.8 MB, free: 6.754 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.435e-05/0.03215, allocations: 8 kB / 388.8 MB, free: 6.746 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.114e-05/0.03216, allocations: 7.984 kB / 388.8 MB, free: 6.738 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.03216, allocations: 4.062 kB / 388.8 MB, free: 6.734 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001166/0.03333, allocations: 0.891 MB / 389.7 MB, free: 5.812 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.855e-05/0.03337, allocations: 27.75 kB / 389.7 MB, free: 5.785 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.234e-05/0.03343, allocations: 11.98 kB / 389.7 MB, free: 5.773 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002547/0.03368, allocations: 12 kB / 389.7 MB, free: 5.762 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.674e-05/0.03378, allocations: 35.89 kB / 389.8 MB, free: 5.727 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-05/0.0338, allocations: 11.98 kB / 389.8 MB, free: 5.715 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002031/0.034, allocations: 209.1 kB / 390 MB, free: 5.512 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.034, allocations: 0 / 390 MB, free: 5.512 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004837/0.03448, allocations: 71.98 kB / 390 MB, free: 5.441 MB / 362.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.0001515/0.03464, allocations: 103.2 kB / 390.1 MB, free: 5.328 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000655/0.03529, allocations: 272.9 kB / 390.4 MB, free: 5.059 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.0353, allocations: 4 kB / 390.4 MB, free: 5.055 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003045/0.0356, allocations: 131.8 kB / 390.5 MB, free: 4.922 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006883/0.03629, allocations: 48.33 kB / 390.6 MB, free: 4.871 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001459/0.03775, allocations: 0.7637 MB / 391.4 MB, free: 4.055 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002047/0.03795, allocations: 168.1 kB / 391.5 MB, free: 3.867 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001324/0.03808, allocations: 34.95 kB / 391.6 MB, free: 3.836 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.582e-05/0.03817, allocations: 24.5 kB / 391.6 MB, free: 3.812 MB / 362.7 MB Notification: Performance of SimCode: time 7.01e-07/0.03817, allocations: 4 kB / 391.6 MB, free: 3.809 MB / 362.7 MB Notification: Performance of Templates: time 0.007119/0.04529, allocations: 2.398 MB / 394 MB, free: 1.445 MB / 362.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 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.024563867016695]