Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0009228/0.0009228, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001002/0.001002, allocations: 173 kB / 24.91 MB, free: 8.723 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 0.9922/0.9922, allocations: 177.1 MB / 205.3 MB, free: 5.094 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.2753/0.2753, allocations: 34.25 MB / 296.1 MB, free: 0.6836 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.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.1.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.1.0_ModelicaTest.Rotational.TestSpeed") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 325.3 MB, free: 7.707 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.399e-05/2.566e-05, allocations: 5.125 kB / 325.3 MB, free: 7.703 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.003686/0.003712, allocations: 2.663 MB / 327.9 MB, free: 5.023 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001276/0.004988, allocations: 0.7298 MB / 328.7 MB, free: 4.289 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001237/0.005112, allocations: 7.938 kB / 328.7 MB, free: 4.281 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001366/0.005248, allocations: 47.47 kB / 328.7 MB, free: 4.234 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00015/0.005398, allocations: 95.12 kB / 328.8 MB, free: 4.141 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002516/0.00565, allocations: 99.86 kB / 328.9 MB, free: 4.043 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002863/0.005936, allocations: 346.8 kB / 329.2 MB, free: 3.703 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.006061, allocations: 71.95 kB / 329.3 MB, free: 3.633 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002552/0.006317, allocations: 195.6 kB / 329.5 MB, free: 3.441 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001242/0.006441, allocations: 99.69 kB / 329.6 MB, free: 3.344 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.813e-05/0.006469, allocations: 20 kB / 329.6 MB, free: 3.324 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.541e-05/0.006534, allocations: 24 kB / 329.6 MB, free: 3.301 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.496e-05/0.006569, allocations: 59.75 kB / 329.7 MB, free: 3.242 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.624e-05/0.006636, allocations: 103.8 kB / 329.8 MB, free: 3.141 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002379/0.006874, allocations: 223 kB / 330 MB, free: 2.922 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.006875, allocations: 0 / 330 MB, free: 2.922 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.006876, allocations: 0 / 330 MB, free: 2.922 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.006881, allocations: 0 / 330 MB, free: 2.922 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.0005001/0.007381, allocations: 0.4894 MB / 330.5 MB, free: 2.41 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.828e-05/0.007409, allocations: 8.031 kB / 330.5 MB, free: 2.402 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001455/0.007555, allocations: 60.89 kB / 330.6 MB, free: 2.344 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002139/0.007768, allocations: 205.2 kB / 330.8 MB, free: 2.117 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.007783, allocations: 16.88 kB / 330.8 MB, free: 2.098 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.795e-05/0.007821, allocations: 32.33 kB / 330.8 MB, free: 2.066 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002259/0.008046, allocations: 238.3 kB / 331.1 MB, free: 1.809 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.00806, allocations: 8.141 kB / 331.1 MB, free: 1.801 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.008074, allocations: 12.38 kB / 331.1 MB, free: 1.789 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.008084, allocations: 15.92 kB / 331.1 MB, free: 1.773 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.244e-05/0.008176, allocations: 71.88 kB / 331.2 MB, free: 1.703 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008351/0.009011, allocations: 1.006 MB / 332.2 MB, free: 0.625 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001637/0.009175, allocations: 166.2 kB / 332.3 MB, free: 436 kB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.96e-05/0.009224, allocations: 51.55 kB / 332.4 MB, free: 372 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.785e-05/0.009242, allocations: 4 kB / 332.4 MB, free: 368 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.406e-05/0.009266, allocations: 42.69 kB / 332.4 MB, free: 316 kB / 298.7 MB Notification: Performance of pre-optimization done (n=26): time 1.794e-06/0.009268, allocations: 0 / 332.4 MB, free: 316 kB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.001248/0.01052, allocations: 0.8214 MB / 333.2 MB, free: 15.38 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.697e-05/0.01056, allocations: 140.5 kB / 333.4 MB, free: 15.21 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.01068, allocations: 217 kB / 333.6 MB, free: 14.98 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.0107, allocations: 33.7 kB / 333.6 MB, free: 14.94 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.123e-05/0.01077, allocations: 169 kB / 333.8 MB, free: 14.77 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.229e-05/0.01085, allocations: 126.9 kB / 333.9 MB, free: 14.65 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.46e-05/0.01091, allocations: 66.11 kB / 334 MB, free: 14.58 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.466e-05/0.011, allocations: 350.8 kB / 334.3 MB, free: 14.23 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.275e-05/0.01104, allocations: 32.97 kB / 334.4 MB, free: 14.2 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/0.01114, allocations: 170.1 kB / 334.5 MB, free: 13.96 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001875/0.01133, allocations: 253.7 kB / 334.8 MB, free: 13.66 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.01133, allocations: 4 kB / 334.8 MB, free: 13.65 MB / 314.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0002198/0.01155, allocations: 225.5 kB / 335 MB, free: 13.43 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.01157, allocations: 8 kB / 335 MB, free: 13.42 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.01157, allocations: 4 kB / 335 MB, free: 13.41 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.01159, allocations: 8 kB / 335 MB, free: 13.41 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001997/0.01179, allocations: 103.8 kB / 335.1 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.0118, allocations: 11.92 kB / 335.1 MB, free: 13.29 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.371e-05/0.01188, allocations: 20 kB / 335.1 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.01189, allocations: 15.98 kB / 335.2 MB, free: 13.26 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 7.955e-05/0.01197, allocations: 137.7 kB / 335.3 MB, free: 13.11 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.114e-05/0.01203, allocations: 28.02 kB / 335.3 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.401e-05/0.01208, allocations: 37.77 kB / 335.4 MB, free: 13.05 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.01208, allocations: 4 kB / 335.4 MB, free: 13.04 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.01209, allocations: 3.938 kB / 335.4 MB, free: 13.04 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.01209, allocations: 7.922 kB / 335.4 MB, free: 13.03 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005664/0.01266, allocations: 0.6582 MB / 336 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.01266, allocations: 4 kB / 336 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001791/0.01284, allocations: 87.94 kB / 336.1 MB, free: 12.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.01284, allocations: 0 / 336.1 MB, free: 12.25 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.01286, allocations: 8 kB / 336.1 MB, free: 12.24 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.01286, allocations: 4 kB / 336.1 MB, free: 12.24 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.01286, allocations: 0 / 336.1 MB, free: 12.24 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002999/0.01316, allocations: 0.5145 MB / 336.6 MB, free: 11.7 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.284e-05/0.01318, allocations: 28.05 kB / 336.7 MB, free: 11.67 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.17e-05/0.01321, allocations: 11.98 kB / 336.7 MB, free: 11.66 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001252/0.01333, allocations: 12 kB / 336.7 MB, free: 11.65 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.011e-05/0.01338, allocations: 31.94 kB / 336.7 MB, free: 11.62 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.01339, allocations: 7.984 kB / 336.7 MB, free: 11.61 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.859e-05/0.01344, allocations: 74.77 kB / 336.8 MB, free: 11.54 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01344, allocations: 0 / 336.8 MB, free: 11.54 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002745/0.01371, allocations: 72 kB / 336.9 MB, free: 11.47 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.011e-05/0.01379, allocations: 88.23 kB / 337 MB, free: 11.38 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000174/0.01397, allocations: 166.1 kB / 337.1 MB, free: 11.21 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.01397, allocations: 4 kB / 337.1 MB, free: 11.21 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.532e-05/0.01404, allocations: 68.7 kB / 337.2 MB, free: 11.14 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003443/0.01438, allocations: 44.86 kB / 337.2 MB, free: 11.1 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007861/0.01517, allocations: 0.632 MB / 337.9 MB, free: 10.42 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.438e-05/0.01523, allocations: 92.92 kB / 338 MB, free: 10.31 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.229e-05/0.01532, allocations: 35.42 kB / 338 MB, free: 10.28 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001039/0.01542, allocations: 99.28 kB / 338.1 MB, free: 10.18 MB / 314.7 MB Notification: Performance of SimCode: time 6.92e-07/0.01542, allocations: 0 / 338.1 MB, free: 10.18 MB / 314.7 MB Notification: Performance of Templates: time 0.004523/0.01994, allocations: 2.493 MB / 340.6 MB, free: 7.742 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.8573797550052404]