Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001219/0.001219, allocations: 88.73 kB / 21.5 MB, free: 2.984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.004463/0.004463, allocations: 164.2 kB / 24.91 MB, free: 8.762 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9385/0.9385, allocations: 177 MB / 205.2 MB, free: 5.051 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2742/0.2742, allocations: 34.86 MB / 296.6 MB, free: 484 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Rotational.TestSpeed") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 325.9 MB, free: 7.223 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.989e-05/2.133e-05, allocations: 2.969 kB / 325.9 MB, free: 7.219 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.002768/0.00279, allocations: 2.624 MB / 328.5 MB, free: 4.582 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001151/0.003941, allocations: 0.7182 MB / 329.2 MB, free: 3.859 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001367/0.004078, allocations: 11.88 kB / 329.2 MB, free: 3.848 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001402/0.004218, allocations: 47.52 kB / 329.3 MB, free: 3.801 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001483/0.004366, allocations: 91.14 kB / 329.4 MB, free: 3.711 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002814/0.004648, allocations: 103.8 kB / 329.5 MB, free: 3.609 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002711/0.004919, allocations: 355.1 kB / 329.8 MB, free: 3.262 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.00504, allocations: 64.02 kB / 329.9 MB, free: 3.199 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002421/0.005282, allocations: 203.5 kB / 330.1 MB, free: 3 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001129/0.005395, allocations: 95.7 kB / 330.2 MB, free: 2.906 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.694e-05/0.005422, allocations: 20 kB / 330.2 MB, free: 2.887 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.287e-05/0.005474, allocations: 27.98 kB / 330.2 MB, free: 2.859 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.789e-05/0.005512, allocations: 59.75 kB / 330.3 MB, free: 2.801 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.204e-05/0.005574, allocations: 95.75 kB / 330.4 MB, free: 2.707 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004913/0.006066, allocations: 219.1 kB / 330.6 MB, free: 2.492 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.295e-06/0.006068, allocations: 0 / 330.6 MB, free: 2.492 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.006069, allocations: 0 / 330.6 MB, free: 2.492 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.006074, allocations: 3.938 kB / 330.6 MB, free: 2.488 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.0005017/0.006576, allocations: 0.4933 MB / 331.1 MB, free: 1.973 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.953e-05/0.006605, allocations: 8.031 kB / 331.1 MB, free: 1.965 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001428/0.006748, allocations: 60.88 kB / 331.1 MB, free: 1.906 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001972/0.006945, allocations: 205.2 kB / 331.3 MB, free: 1.68 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.00696, allocations: 16.88 kB / 331.4 MB, free: 1.66 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.931e-05/0.006999, allocations: 40.31 kB / 331.4 MB, free: 1.621 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002222/0.007221, allocations: 230.3 kB / 331.6 MB, free: 1.371 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.007235, allocations: 4.141 kB / 331.6 MB, free: 1.367 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.007248, allocations: 8.375 kB / 331.6 MB, free: 1.359 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.007256, allocations: 15.94 kB / 331.7 MB, free: 1.344 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.293e-05/0.007349, allocations: 80.48 kB / 331.7 MB, free: 1.266 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007878/0.008137, allocations: 1.006 MB / 332.7 MB, free: 192 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001662/0.008303, allocations: 162.4 kB / 332.9 MB, free: 15.99 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.683e-05/0.00835, allocations: 51.56 kB / 332.9 MB, free: 15.93 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.603e-05/0.008366, allocations: 4 kB / 333 MB, free: 15.93 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.968e-05/0.008385, allocations: 42.69 kB / 333 MB, free: 15.88 MB / 314.7 MB Notification: Performance of pre-optimization done (n=26): time 1.804e-06/0.008387, allocations: 4 kB / 333 MB, free: 15.87 MB / 314.7 MB Notification: Performance of matching and sorting (n=32): time 0.0009144/0.009301, allocations: 0.8243 MB / 333.8 MB, free: 14.94 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.009346, allocations: 140.5 kB / 334 MB, free: 14.77 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.009462, allocations: 221 kB / 334.2 MB, free: 14.54 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.009477, allocations: 29.7 kB / 334.2 MB, free: 14.5 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.353e-05/0.009541, allocations: 165 kB / 334.4 MB, free: 14.34 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.85e-05/0.009599, allocations: 130.9 kB / 334.5 MB, free: 14.21 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.921e-05/0.009658, allocations: 70.16 kB / 334.6 MB, free: 14.14 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.892e-05/0.009737, allocations: 338.8 kB / 334.9 MB, free: 13.8 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.03e-05/0.009778, allocations: 28.98 kB / 334.9 MB, free: 13.77 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001051/0.009883, allocations: 186 kB / 335.1 MB, free: 13.53 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001803/0.01006, allocations: 239.5 kB / 335.3 MB, free: 13.23 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.01007, allocations: 4 kB / 335.3 MB, free: 13.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0002134/0.01028, allocations: 229.1 kB / 335.6 MB, free: 13 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.01029, allocations: 8 kB / 335.6 MB, free: 12.99 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.0103, allocations: 4 kB / 335.6 MB, free: 12.99 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.01031, allocations: 8 kB / 335.6 MB, free: 12.98 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000171/0.01048, allocations: 96.23 kB / 335.7 MB, free: 12.89 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.01049, allocations: 19.98 kB / 335.7 MB, free: 12.87 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.349e-05/0.01058, allocations: 16 kB / 335.7 MB, free: 12.85 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.667e-05/0.01059, allocations: 19.98 kB / 335.7 MB, free: 12.83 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 8.047e-05/0.01067, allocations: 137.7 kB / 335.9 MB, free: 12.69 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.33e-05/0.01073, allocations: 23.98 kB / 335.9 MB, free: 12.66 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.546e-05/0.01076, allocations: 33.77 kB / 335.9 MB, free: 12.63 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.01076, allocations: 4 kB / 335.9 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.01077, allocations: 3.938 kB / 335.9 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.01077, allocations: 3.984 kB / 335.9 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000569/0.01134, allocations: 0.6712 MB / 336.6 MB, free: 11.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.01135, allocations: 4 kB / 336.6 MB, free: 11.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000163/0.01151, allocations: 71.95 kB / 336.7 MB, free: 11.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.01151, allocations: 0 / 336.7 MB, free: 11.84 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.01152, allocations: 15.92 kB / 336.7 MB, free: 11.82 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.766e-06/0.01153, allocations: 4 kB / 336.7 MB, free: 11.82 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.01153, allocations: 0 / 336.7 MB, free: 11.82 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003058/0.01183, allocations: 0.5223 MB / 337.2 MB, free: 11.27 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.343e-05/0.01186, allocations: 23.81 kB / 337.2 MB, free: 11.25 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.077e-05/0.01188, allocations: 8 kB / 337.3 MB, free: 11.24 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001243/0.012, allocations: 15.98 kB / 337.3 MB, free: 11.23 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.767e-05/0.01205, allocations: 23.95 kB / 337.3 MB, free: 11.2 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.01206, allocations: 8 kB / 337.3 MB, free: 11.2 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.029e-05/0.01211, allocations: 70.78 kB / 337.4 MB, free: 11.12 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01211, allocations: 0 / 337.4 MB, free: 11.12 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005411/0.01265, allocations: 68 kB / 337.4 MB, free: 11.06 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.609e-05/0.01274, allocations: 100.2 kB / 337.5 MB, free: 10.95 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001832/0.01292, allocations: 157.5 kB / 337.7 MB, free: 10.8 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.501e-06/0.01293, allocations: 0 / 337.7 MB, free: 10.8 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.743e-05/0.01299, allocations: 74.28 kB / 337.8 MB, free: 10.72 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003468/0.01334, allocations: 50.19 kB / 337.8 MB, free: 10.68 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008557/0.0142, allocations: 0.6339 MB / 338.4 MB, free: 10 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.6e-05/0.01426, allocations: 96.91 kB / 338.5 MB, free: 9.887 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.511e-05/0.01435, allocations: 34.95 kB / 338.6 MB, free: 9.852 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001028/0.01445, allocations: 99.3 kB / 338.7 MB, free: 9.754 MB / 314.7 MB Notification: Performance of SimCode: time 7.61e-07/0.01445, allocations: 4 kB / 338.7 MB, free: 9.75 MB / 314.7 MB Notification: Performance of Templates: time 0.004347/0.0188, allocations: 2.47 MB / 341.1 MB, free: 7.332 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.8761303019709885]