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.001161/0.001161, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.001429/0.001429, allocations: 160.9 kB / 24.91 MB, free: 8.719 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 1.016/1.016, allocations: 177 MB / 205.2 MB, free: 5.039 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.2433/0.2433, allocations: 34.86 MB / 296.6 MB, free: 392 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.322e-06/1.322e-06, allocations: 0 / 325.9 MB, free: 7.113 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.085e-05/1.217e-05, allocations: 5.266 kB / 325.9 MB, free: 7.109 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.002543/0.002556, allocations: 2.662 MB / 328.6 MB, free: 4.434 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009153/0.003471, allocations: 0.726 MB / 329.3 MB, free: 3.703 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001085/0.003579, allocations: 11.88 kB / 329.3 MB, free: 3.691 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001275/0.003707, allocations: 47.52 kB / 329.4 MB, free: 3.645 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001267/0.003834, allocations: 95.14 kB / 329.5 MB, free: 3.551 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002103/0.004044, allocations: 103.7 kB / 329.6 MB, free: 3.449 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002524/0.004296, allocations: 359 kB / 329.9 MB, free: 3.098 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.004421, allocations: 60.09 kB / 330 MB, free: 3.039 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002051/0.004626, allocations: 199.6 kB / 330.2 MB, free: 2.844 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001137/0.00474, allocations: 91.7 kB / 330.3 MB, free: 2.754 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.726e-05/0.004767, allocations: 24 kB / 330.3 MB, free: 2.73 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.145e-05/0.004828, allocations: 24 kB / 330.3 MB, free: 2.707 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.417e-05/0.004863, allocations: 63.73 kB / 330.4 MB, free: 2.645 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.138e-05/0.004924, allocations: 95.75 kB / 330.5 MB, free: 2.551 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002004/0.005124, allocations: 219.1 kB / 330.7 MB, free: 2.336 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.005128, allocations: 3.984 kB / 330.7 MB, free: 2.332 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.005128, allocations: 0 / 330.7 MB, free: 2.332 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.005132, allocations: 0 / 330.7 MB, free: 2.332 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.0004611/0.005593, allocations: 0.4933 MB / 331.2 MB, free: 1.816 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.573e-05/0.005619, allocations: 8.031 kB / 331.2 MB, free: 1.809 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001354/0.005754, allocations: 60.88 kB / 331.2 MB, free: 1.75 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001922/0.005947, allocations: 201.2 kB / 331.4 MB, free: 1.527 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.005964, allocations: 20.81 kB / 331.5 MB, free: 1.504 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.125e-05/0.005995, allocations: 32.31 kB / 331.5 MB, free: 1.473 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002027/0.006198, allocations: 230.4 kB / 331.7 MB, free: 1.223 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.006211, allocations: 12.12 kB / 331.7 MB, free: 1.211 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.006225, allocations: 16.31 kB / 331.7 MB, free: 1.195 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.006233, allocations: 7.938 kB / 331.8 MB, free: 1.188 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.354e-05/0.006326, allocations: 68.89 kB / 331.8 MB, free: 1.121 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007987/0.007125, allocations: 1.01 MB / 332.8 MB, free: 40 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001652/0.00729, allocations: 162.4 kB / 333 MB, free: 15.84 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.907e-05/0.007339, allocations: 55.48 kB / 333 MB, free: 15.78 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.516e-05/0.007354, allocations: 4 kB / 333 MB, free: 15.77 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.008e-05/0.007375, allocations: 38.55 kB / 333.1 MB, free: 15.73 MB / 314.7 MB Notification: Performance of pre-optimization done (n=26): time 1.393e-06/0.007376, allocations: 4 kB / 333.1 MB, free: 15.72 MB / 314.7 MB Notification: Performance of matching and sorting (n=32): time 0.0008943/0.00827, allocations: 0.8228 MB / 333.9 MB, free: 14.79 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/0.008319, allocations: 140.5 kB / 334 MB, free: 14.62 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.00844, allocations: 225 kB / 334.3 MB, free: 14.39 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.008457, allocations: 29.7 kB / 334.3 MB, free: 14.35 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.772e-05/0.008524, allocations: 169 kB / 334.5 MB, free: 14.18 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.76e-05/0.008582, allocations: 122.9 kB / 334.6 MB, free: 14.06 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.397e-05/0.008646, allocations: 70.16 kB / 334.7 MB, free: 13.99 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.466e-05/0.008731, allocations: 338.8 kB / 335 MB, free: 13.65 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.069e-05/0.008771, allocations: 32.98 kB / 335 MB, free: 13.62 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/0.00888, allocations: 178 kB / 335.2 MB, free: 13.38 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001808/0.009061, allocations: 245.5 kB / 335.4 MB, free: 13.08 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.009063, allocations: 0 / 335.4 MB, free: 13.08 MB / 314.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0002222/0.009285, allocations: 238.6 kB / 335.7 MB, free: 12.84 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.009296, allocations: 9.406 kB / 335.7 MB, free: 12.84 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.009302, allocations: 4 kB / 335.7 MB, free: 12.83 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.009314, allocations: 4 kB / 335.7 MB, free: 12.83 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001974/0.009512, allocations: 112.2 kB / 335.8 MB, free: 12.72 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.009518, allocations: 11.88 kB / 335.8 MB, free: 12.71 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.413e-05/0.009602, allocations: 19.98 kB / 335.8 MB, free: 12.69 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/0.009617, allocations: 16.31 kB / 335.8 MB, free: 12.67 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.208e-05/0.009689, allocations: 133.7 kB / 336 MB, free: 12.53 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.047e-05/0.00975, allocations: 31.97 kB / 336 MB, free: 12.5 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.507e-05/0.009785, allocations: 33.77 kB / 336 MB, free: 12.46 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.009788, allocations: 8 kB / 336 MB, free: 12.46 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.009791, allocations: 7.938 kB / 336 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.009796, allocations: 0 / 336 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005544/0.01035, allocations: 0.6586 MB / 336.7 MB, free: 11.76 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.01035, allocations: 4 kB / 336.7 MB, free: 11.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001782/0.01053, allocations: 75.89 kB / 336.8 MB, free: 11.68 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.89e-06/0.01054, allocations: 4 kB / 336.8 MB, free: 11.68 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.01055, allocations: 11.98 kB / 336.8 MB, free: 11.66 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.01055, allocations: 0 / 336.8 MB, free: 11.66 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.01056, allocations: 7.938 kB / 336.8 MB, free: 11.66 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003196/0.01088, allocations: 0.5107 MB / 337.3 MB, free: 11.12 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.532e-05/0.0109, allocations: 31.8 kB / 337.3 MB, free: 11.09 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.32e-05/0.01092, allocations: 8 kB / 337.4 MB, free: 11.08 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.01105, allocations: 11.98 kB / 337.4 MB, free: 11.07 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.025e-05/0.01111, allocations: 35.89 kB / 337.4 MB, free: 11.04 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/0.01112, allocations: 4 kB / 337.4 MB, free: 11.03 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.899e-05/0.01117, allocations: 70.78 kB / 337.5 MB, free: 10.96 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01117, allocations: 0 / 337.5 MB, free: 10.96 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002682/0.01144, allocations: 64 kB / 337.5 MB, free: 10.9 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 7.526e-05/0.01152, allocations: 104.2 kB / 337.6 MB, free: 10.79 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001745/0.01169, allocations: 150.2 kB / 337.8 MB, free: 10.64 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.01169, allocations: 4 kB / 337.8 MB, free: 10.64 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.273e-05/0.01177, allocations: 87.36 kB / 337.9 MB, free: 10.55 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003819/0.01215, allocations: 48.3 kB / 337.9 MB, free: 10.51 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008178/0.01297, allocations: 0.6276 MB / 338.5 MB, free: 9.836 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.422e-05/0.01303, allocations: 92.91 kB / 338.6 MB, free: 9.727 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.697e-05/0.01312, allocations: 34.95 kB / 338.7 MB, free: 9.691 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.01322, allocations: 99.3 kB / 338.8 MB, free: 9.594 MB / 314.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01322, allocations: 3.938 kB / 338.8 MB, free: 9.59 MB / 314.7 MB Notification: Performance of Templates: time 0.00407/0.01729, allocations: 2.477 MB / 341.3 MB, free: 7.168 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 -s gbode -gbm=radauIIA3 -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.9414855567738414]