Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.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.0009663/0.0009663, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.004527/0.004527, allocations: 160.2 kB / 24.7 MB, free: 9.441 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.8654/0.8654, allocations: 177 MB / 204.9 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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(Modelica.Mechanics.Translational.Examples.CompareBrakingForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|mass1.v|mass2.v|mass3.v|mass4.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce") translateModel(Modelica.Mechanics.Translational.Examples.CompareBrakingForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|mass1.v|mass2.v|mass3.v|mass4.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.448e-05/3.617e-05, allocations: 11.06 kB / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.CompareBrakingForce): time 0.002399/0.002435, allocations: 2.216 MB / 328 MB, free: 13.18 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001003/0.003438, allocations: 0.7282 MB / 328.7 MB, free: 12.45 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001107/0.003549, allocations: 11.94 kB / 328.7 MB, free: 12.44 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001237/0.003672, allocations: 39.64 kB / 328.8 MB, free: 12.4 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002323/0.003905, allocations: 91.14 kB / 328.9 MB, free: 12.31 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002533/0.004158, allocations: 119.7 kB / 329 MB, free: 12.19 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000254/0.004412, allocations: 318.4 kB / 329.3 MB, free: 11.88 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001488/0.004561, allocations: 48.84 kB / 329.3 MB, free: 11.83 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001402/0.004701, allocations: 163.7 kB / 329.5 MB, free: 11.67 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001148/0.004816, allocations: 95.69 kB / 329.6 MB, free: 11.58 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002876/0.005103, allocations: 20 kB / 329.6 MB, free: 11.56 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.19e-05/0.005125, allocations: 20 kB / 329.6 MB, free: 11.54 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.616e-05/0.005161, allocations: 63.69 kB / 329.7 MB, free: 11.48 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.337e-05/0.005225, allocations: 91.75 kB / 329.8 MB, free: 11.39 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002332/0.005458, allocations: 279 kB / 330 MB, free: 11.11 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.005461, allocations: 0 / 330 MB, free: 11.11 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.005463, allocations: 0 / 330 MB, free: 11.11 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.491e-06/0.005468, allocations: 0 / 330 MB, free: 11.11 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0006114/0.00608, allocations: 485.5 kB / 330.5 MB, free: 10.61 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.006115, allocations: 11.98 kB / 330.5 MB, free: 10.6 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.863e-05/0.006163, allocations: 32.75 kB / 330.6 MB, free: 10.57 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002769/0.00644, allocations: 198.7 kB / 330.8 MB, free: 10.34 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.198e-05/0.006462, allocations: 20.88 kB / 330.8 MB, free: 10.32 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.464e-05/0.006497, allocations: 28.36 kB / 330.8 MB, free: 10.3 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002821/0.006779, allocations: 236 kB / 331 MB, free: 10.05 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.006795, allocations: 4.141 kB / 331 MB, free: 10.05 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/0.006811, allocations: 12.38 kB / 331.1 MB, free: 10.04 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.076e-06/0.006819, allocations: 7.938 kB / 331.1 MB, free: 10.03 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002198/0.007039, allocations: 163.8 kB / 331.2 MB, free: 9.867 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007748/0.007814, allocations: 0.8994 MB / 332.1 MB, free: 8.895 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003246/0.008139, allocations: 278.1 kB / 332.4 MB, free: 8.586 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/0.008242, allocations: 88.03 kB / 332.5 MB, free: 8.488 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.625e-05/0.008269, allocations: 19.84 kB / 332.5 MB, free: 8.469 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.008293, allocations: 38.56 kB / 332.5 MB, free: 8.422 MB / 298.7 MB Notification: Performance of pre-optimization done (n=28): time 1.412e-06/0.008294, allocations: 0 / 332.5 MB, free: 8.422 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.001162/0.009456, allocations: 1.032 MB / 333.6 MB, free: 7.273 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.758e-05/0.009514, allocations: 136.5 kB / 333.7 MB, free: 7.109 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001434/0.009657, allocations: 210.7 kB / 333.9 MB, free: 6.895 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.009675, allocations: 29.7 kB / 333.9 MB, free: 6.859 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.549e-05/0.00975, allocations: 156.7 kB / 334.1 MB, free: 6.699 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.251e-05/0.009813, allocations: 126.9 kB / 334.2 MB, free: 6.574 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.695e-05/0.00988, allocations: 70.19 kB / 334.3 MB, free: 6.5 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.628e-05/0.009966, allocations: 338.8 kB / 334.6 MB, free: 6.16 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001228/0.01009, allocations: 84.95 kB / 334.7 MB, free: 6.078 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001536/0.01024, allocations: 190.7 kB / 334.9 MB, free: 5.84 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002854/0.01053, allocations: 313.7 kB / 335.2 MB, free: 5.484 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.01053, allocations: 0 / 335.2 MB, free: 5.484 MB / 298.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003533/0.01088, allocations: 333.1 kB / 335.5 MB, free: 5.152 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.0109, allocations: 8 kB / 335.5 MB, free: 5.145 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.01091, allocations: 4.25 kB / 335.5 MB, free: 5.141 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.01093, allocations: 15.94 kB / 335.5 MB, free: 5.125 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001995/0.01113, allocations: 95.83 kB / 335.6 MB, free: 5.031 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.01114, allocations: 4 kB / 335.6 MB, free: 5.027 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.14e-05/0.01122, allocations: 19.98 kB / 335.7 MB, free: 5.008 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.683e-05/0.01123, allocations: 12 kB / 335.7 MB, free: 4.996 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 9.479e-05/0.01133, allocations: 153.6 kB / 335.8 MB, free: 4.836 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.727e-05/0.01139, allocations: 27.86 kB / 335.8 MB, free: 4.809 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.326e-05/0.01143, allocations: 33.45 kB / 335.9 MB, free: 4.777 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.01143, allocations: 4 kB / 335.9 MB, free: 4.773 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.01144, allocations: 4 kB / 335.9 MB, free: 4.77 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.01145, allocations: 4 kB / 335.9 MB, free: 4.766 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001126/0.01257, allocations: 0.8733 MB / 336.8 MB, free: 3.828 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.01257, allocations: 0 / 336.8 MB, free: 3.828 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001903/0.01276, allocations: 80.16 kB / 336.8 MB, free: 3.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.01277, allocations: 8 kB / 336.8 MB, free: 3.742 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.61e-05/0.01279, allocations: 11.98 kB / 336.9 MB, free: 3.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/0.01279, allocations: 7.938 kB / 336.9 MB, free: 3.723 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.01279, allocations: 7.938 kB / 336.9 MB, free: 3.715 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004809/0.01327, allocations: 0.6846 MB / 337.6 MB, free: 2.98 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.13e-05/0.01331, allocations: 27.86 kB / 337.6 MB, free: 2.953 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.51e-05/0.01333, allocations: 15.92 kB / 337.6 MB, free: 2.938 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/0.01346, allocations: 12 kB / 337.6 MB, free: 2.926 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.869e-05/0.01351, allocations: 27.95 kB / 337.6 MB, free: 2.898 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-06/0.01352, allocations: 8 kB / 337.6 MB, free: 2.891 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.565e-05/0.0136, allocations: 148.6 kB / 337.8 MB, free: 2.746 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0136, allocations: 3.938 kB / 337.8 MB, free: 2.742 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002975/0.01389, allocations: 64 kB / 337.9 MB, free: 2.68 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 8 (mass4.s,mass4.v,mass3.s,mass3.v,mass2.s,mass2.v,mass1.s,mass1.v) * 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.000124/0.01402, allocations: 119 kB / 338 MB, free: 2.555 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003092/0.01433, allocations: 240.6 kB / 338.2 MB, free: 2.32 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.01433, allocations: 4 kB / 338.2 MB, free: 2.316 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001345/0.01447, allocations: 120.4 kB / 338.3 MB, free: 2.199 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004848/0.01495, allocations: 72.88 kB / 338.4 MB, free: 2.137 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008798/0.01583, allocations: 0.8064 MB / 339.2 MB, free: 1.262 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001084/0.01594, allocations: 155.1 kB / 339.4 MB, free: 1.086 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.753e-05/0.01601, allocations: 32.5 kB / 339.4 MB, free: 1.055 MB / 298.7 MB Notification: Performance of SimCode: time 8.72e-07/0.01601, allocations: 0 / 339.4 MB, free: 1.055 MB / 298.7 MB Notification: Performance of Templates: time 0.003513/0.01952, allocations: 3.488 MB / 342.9 MB, free: 13.57 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/CompareBrakingForce/CompareBrakingForce.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.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: 4.552337336353958]