Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.TestBraking.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.001014/0.001014, allocations: 84.34 kB / 22.21 MB, free: 2.285 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.001354/0.001354, allocations: 162.9 kB / 25.61 MB, free: 8.922 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.9762/0.9762, allocations: 177 MB / 205.9 MB, free: 4.418 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.1606/0.1606, allocations: 34.87 MB / 297.4 MB, free: 13.33 MB / 282.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.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.TestBraking") translateModel(ModelicaTest.Rotational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.TestBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.42e-07/9.42e-07, allocations: 3.938 kB / 380 MB, free: 22.78 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.123e-05/1.217e-05, allocations: 3.062 kB / 380 MB, free: 22.78 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestBraking): time 0.00248/0.002492, allocations: 3.025 MB / 383 MB, free: 19.74 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00112/0.003613, allocations: 1.059 MB / 384.1 MB, free: 18.68 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001343/0.003747, allocations: 11.88 kB / 384.1 MB, free: 18.67 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001347/0.003882, allocations: 63.38 kB / 384.1 MB, free: 18.61 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001325/0.004014, allocations: 126.8 kB / 384.3 MB, free: 18.48 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003286/0.004343, allocations: 183.4 kB / 384.4 MB, free: 18.3 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002811/0.004624, allocations: 477.5 kB / 384.9 MB, free: 17.83 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.004755, allocations: 71.98 kB / 385 MB, free: 17.75 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001639/0.004919, allocations: 247.5 kB / 385.2 MB, free: 17.51 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001263/0.005045, allocations: 127.6 kB / 385.3 MB, free: 17.39 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.813e-05/0.005073, allocations: 28 kB / 385.4 MB, free: 17.36 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.346e-05/0.005146, allocations: 55.97 kB / 385.4 MB, free: 17.3 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.85e-05/0.005185, allocations: 83.66 kB / 385.5 MB, free: 17.22 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.178e-05/0.005257, allocations: 131.7 kB / 385.6 MB, free: 17.09 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002239/0.005481, allocations: 310.8 kB / 385.9 MB, free: 16.79 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.005482, allocations: 0 / 385.9 MB, free: 16.79 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.005483, allocations: 4 kB / 385.9 MB, free: 16.79 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.005488, allocations: 0 / 385.9 MB, free: 16.79 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.0005254/0.006014, allocations: 0.6947 MB / 386.6 MB, free: 16.05 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.742e-05/0.006041, allocations: 8.031 kB / 386.6 MB, free: 16.05 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001999/0.006241, allocations: 100.6 kB / 386.7 MB, free: 15.95 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002009/0.006442, allocations: 236 kB / 387 MB, free: 15.69 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/0.006463, allocations: 29.38 kB / 387 MB, free: 15.66 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.801e-05/0.006501, allocations: 44.31 kB / 387 MB, free: 15.62 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002498/0.006751, allocations: 309.8 kB / 387.3 MB, free: 15.29 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/0.006769, allocations: 8.125 kB / 387.4 MB, free: 15.28 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.894e-05/0.006788, allocations: 15.94 kB / 387.4 MB, free: 15.26 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.307e-06/0.006797, allocations: 12 kB / 387.4 MB, free: 15.25 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001398/0.006937, allocations: 120.8 kB / 387.5 MB, free: 15.13 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009443/0.007881, allocations: 1.615 MB / 389.1 MB, free: 13.43 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002267/0.008108, allocations: 274.6 kB / 389.4 MB, free: 13.09 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.251e-05/0.00816, allocations: 86.03 kB / 389.5 MB, free: 12.98 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.293e-05/0.008173, allocations: 8 kB / 389.5 MB, free: 12.97 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.66e-05/0.00819, allocations: 41.39 kB / 389.5 MB, free: 12.92 MB / 314.7 MB Notification: Performance of pre-optimization done (n=26): time 1.944e-06/0.008192, allocations: 0 / 389.5 MB, free: 12.92 MB / 314.7 MB Notification: Performance of matching and sorting (n=26): time 0.0002732/0.008465, allocations: 217.4 kB / 389.7 MB, free: 12.7 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.687e-05/0.008502, allocations: 187.9 kB / 389.9 MB, free: 12.47 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.008609, allocations: 284.1 kB / 390.2 MB, free: 12.18 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.059e-05/0.00862, allocations: 29.7 kB / 390.2 MB, free: 12.14 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.488e-05/0.008695, allocations: 263 kB / 390.5 MB, free: 11.88 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.482e-05/0.00874, allocations: 119 kB / 390.6 MB, free: 11.76 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.618e-05/0.008796, allocations: 83.89 kB / 390.7 MB, free: 11.67 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.243e-05/0.008858, allocations: 0.5118 MB / 391.2 MB, free: 11.15 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.533e-05/0.008904, allocations: 32.97 kB / 391.2 MB, free: 11.12 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.009007, allocations: 273.1 kB / 391.5 MB, free: 10.75 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001803/0.009188, allocations: 355.7 kB / 391.8 MB, free: 10.29 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.009191, allocations: 8 kB / 391.8 MB, free: 10.29 MB / 314.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0002458/0.009436, allocations: 301.4 kB / 392.1 MB, free: 9.984 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.009448, allocations: 16 kB / 392.1 MB, free: 9.969 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.009454, allocations: 7.938 kB / 392.2 MB, free: 9.961 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.009465, allocations: 8 kB / 392.2 MB, free: 9.953 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001717/0.009636, allocations: 107.8 kB / 392.3 MB, free: 9.848 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.009646, allocations: 15.92 kB / 392.3 MB, free: 9.832 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.258e-05/0.009739, allocations: 31.78 kB / 392.3 MB, free: 9.801 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.437e-05/0.009753, allocations: 20.25 kB / 392.3 MB, free: 9.781 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (52): * Single equations (assignments): 52 * 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.005e-05/0.009823, allocations: 184.4 kB / 392.5 MB, free: 9.59 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.296e-05/0.009906, allocations: 35.81 kB / 392.5 MB, free: 9.555 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.384e-05/0.01, allocations: 95.39 kB / 392.6 MB, free: 9.453 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.01, allocations: 4 kB / 392.6 MB, free: 9.449 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.01001, allocations: 7.984 kB / 392.7 MB, free: 9.441 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.01001, allocations: 0 / 392.7 MB, free: 9.441 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003035/0.01032, allocations: 204.9 kB / 392.9 MB, free: 9.215 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.01032, allocations: 4 kB / 392.9 MB, free: 9.211 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001885/0.01051, allocations: 79.95 kB / 392.9 MB, free: 9.133 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.01051, allocations: 0 / 392.9 MB, free: 9.133 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/0.01053, allocations: 8 kB / 392.9 MB, free: 9.125 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.01053, allocations: 7.938 kB / 392.9 MB, free: 9.117 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.01053, allocations: 3.938 kB / 393 MB, free: 9.113 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003279/0.01086, allocations: 0.9553 MB / 393.9 MB, free: 8.133 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.326e-05/0.01088, allocations: 27.78 kB / 393.9 MB, free: 8.105 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.459e-05/0.01091, allocations: 11.94 kB / 393.9 MB, free: 8.094 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/0.01107, allocations: 11.98 kB / 394 MB, free: 8.082 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.285e-05/0.0111, allocations: 19.91 kB / 394 MB, free: 8.062 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.01111, allocations: 12 kB / 394 MB, free: 8.051 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.517e-05/0.01116, allocations: 185.1 kB / 394.2 MB, free: 7.871 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01116, allocations: 0 / 394.2 MB, free: 7.871 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003536/0.01152, allocations: 103.7 kB / 394.3 MB, free: 7.77 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 13 (inertia1.w,linearSpeedDependentTorque.phi,inertia2.w,quadraticSpeedDependentTorque.phi,inertia3.w,constantTorque.phi,inertia4.w,signTorque.phi,inertia6.w,inverseSpeedDependentTorque.phi,eddyCurrentTorque.phi,inertia5.w,heatCapacitor.T) * 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 (27): * Single equations (assignments): 27 * 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 5.921e-05/0.01158, allocations: 104.2 kB / 394.4 MB, free: 7.66 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001704/0.01175, allocations: 172.2 kB / 394.5 MB, free: 7.488 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.01175, allocations: 1.25 kB / 394.5 MB, free: 7.488 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.132e-05/0.01181, allocations: 84.33 kB / 394.6 MB, free: 7.402 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004989/0.01231, allocations: 83.53 kB / 394.7 MB, free: 7.332 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009958/0.0133, allocations: 1.043 MB / 395.8 MB, free: 6.234 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.048e-05/0.01337, allocations: 100.5 kB / 395.8 MB, free: 6.113 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.055e-05/0.01345, allocations: 38.95 kB / 395.9 MB, free: 6.078 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/0.01356, allocations: 142.1 kB / 396 MB, free: 5.938 MB / 314.7 MB Notification: Performance of SimCode: time 8.72e-07/0.01356, allocations: 0 / 396 MB, free: 5.938 MB / 314.7 MB Notification: Performance of Templates: time 0.004918/0.01848, allocations: 3.379 MB / 399.4 MB, free: 2.656 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.TestBraking.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.TestBraking.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.TestBraking.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.TestBraking.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.TestBraking -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.TestBraking.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.TestBraking_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/TestBraking/TestBraking.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.1847501760348678]