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.001929/0.001929, allocations: 85.58 kB / 20.68 MB, free: 1.035 MB / 14.72 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.002395/0.002395, allocations: 157.5 kB / 23.95 MB, free: 4.168 MB / 14.72 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.452/1.452, allocations: 177 MB / 204.1 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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.282e-06/1.282e-06, allocations: 0 / 325 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.863e-05/1.991e-05, allocations: 2.281 kB / 325 MB, free: 500 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.CompareBrakingForce): time 0.003151/0.003171, allocations: 2.212 MB / 327.2 MB, free: 15 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001425/0.004596, allocations: 0.7382 MB / 327.9 MB, free: 14.49 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001259/0.004722, allocations: 8.344 kB / 328 MB, free: 14.48 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001465/0.004869, allocations: 41.67 kB / 328 MB, free: 14.46 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002765/0.005145, allocations: 98.55 kB / 328.1 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003499/0.005495, allocations: 112.1 kB / 328.2 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000369/0.005864, allocations: 318.7 kB / 328.5 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001441/0.006008, allocations: 40.53 kB / 328.6 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002341/0.006242, allocations: 177 kB / 328.7 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001762/0.006418, allocations: 96.27 kB / 328.8 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.292e-05/0.006461, allocations: 20.59 kB / 328.8 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.748e-05/0.006509, allocations: 21.28 kB / 328.9 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001021/0.006611, allocations: 53.14 kB / 328.9 MB, free: 14 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001182/0.006729, allocations: 91.12 kB / 329 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003606/0.00709, allocations: 275.8 kB / 329.3 MB, free: 13.86 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.007092, allocations: 1.578 kB / 329.3 MB, free: 13.86 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.51e-07/0.007093, allocations: 0 / 329.3 MB, free: 13.86 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.007098, allocations: 0 / 329.3 MB, free: 13.86 MB / 302.1 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.001075/0.008173, allocations: 493.3 kB / 329.8 MB, free: 13.47 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.008217, allocations: 13.33 kB / 329.8 MB, free: 13.47 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.005e-05/0.008297, allocations: 31.06 kB / 329.8 MB, free: 13.45 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003893/0.008686, allocations: 197.7 kB / 330 MB, free: 13.28 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.709e-05/0.008713, allocations: 13.16 kB / 330 MB, free: 13.27 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.872e-05/0.008762, allocations: 23.72 kB / 330 MB, free: 13.27 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000489/0.009251, allocations: 237.8 kB / 330.3 MB, free: 13.14 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.321e-05/0.009274, allocations: 7.109 kB / 330.3 MB, free: 13.13 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.356e-05/0.009307, allocations: 10.59 kB / 330.3 MB, free: 13.12 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.42e-05/0.009322, allocations: 16.44 kB / 330.3 MB, free: 13.11 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004708/0.009793, allocations: 165.2 kB / 330.5 MB, free: 13.06 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001358/0.01115, allocations: 0.8868 MB / 331.3 MB, free: 12.26 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005954/0.01175, allocations: 284 kB / 331.6 MB, free: 12.07 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000196/0.01194, allocations: 87.75 kB / 331.7 MB, free: 12 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.51e-05/0.01197, allocations: 15.31 kB / 331.7 MB, free: 11.99 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.938e-05/0.01201, allocations: 39 kB / 331.8 MB, free: 11.95 MB / 302.1 MB Notification: Performance of pre-optimization done (n=28): time 1.553e-06/0.01201, allocations: 0 / 331.8 MB, free: 11.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.00198/0.01399, allocations: 1.044 MB / 332.8 MB, free: 11.09 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001298/0.01412, allocations: 137 kB / 332.9 MB, free: 10.93 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002246/0.01434, allocations: 207.9 kB / 333.1 MB, free: 10.77 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.969e-05/0.01437, allocations: 32.02 kB / 333.2 MB, free: 10.74 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001454/0.01452, allocations: 154.9 kB / 333.3 MB, free: 10.59 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/0.01463, allocations: 125.4 kB / 333.4 MB, free: 10.48 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.01474, allocations: 66.72 kB / 333.5 MB, free: 10.43 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001749/0.01491, allocations: 337.5 kB / 333.8 MB, free: 10.1 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000202/0.01511, allocations: 80.56 kB / 333.9 MB, free: 10.07 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002935/0.01541, allocations: 196.3 kB / 334.1 MB, free: 9.883 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005144/0.01592, allocations: 306.4 kB / 334.4 MB, free: 9.645 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.01593, allocations: 5.453 kB / 334.4 MB, free: 9.641 MB / 302.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006707/0.0166, allocations: 346.4 kB / 334.8 MB, free: 9.457 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.01661, allocations: 6.344 kB / 334.8 MB, free: 9.457 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.116e-06/0.01662, allocations: 2.781 kB / 334.8 MB, free: 9.457 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.01664, allocations: 7.125 kB / 334.8 MB, free: 9.457 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003623/0.017, allocations: 88.02 kB / 334.9 MB, free: 9.441 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.256e-05/0.01701, allocations: 9.031 kB / 334.9 MB, free: 9.438 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001755/0.01719, allocations: 15.44 kB / 334.9 MB, free: 9.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.155e-05/0.01722, allocations: 21.33 kB / 334.9 MB, free: 9.422 MB / 302.1 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 0.00016/0.01738, allocations: 150.2 kB / 335 MB, free: 9.277 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.01749, allocations: 28.89 kB / 335.1 MB, free: 9.262 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.556e-05/0.01757, allocations: 34.14 kB / 335.1 MB, free: 9.234 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.01757, allocations: 5.281 kB / 335.1 MB, free: 9.234 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.01758, allocations: 1.5 kB / 335.1 MB, free: 9.234 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.01758, allocations: 0 / 335.1 MB, free: 9.234 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001464/0.01905, allocations: 0.8743 MB / 336 MB, free: 8.492 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.01905, allocations: 7.219 kB / 336 MB, free: 8.488 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000389/0.01944, allocations: 80.95 kB / 336.1 MB, free: 8.469 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.01945, allocations: 4 kB / 336.1 MB, free: 8.469 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.72e-05/0.01947, allocations: 9.625 kB / 336.1 MB, free: 8.465 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.128e-06/0.01948, allocations: 11.61 kB / 336.1 MB, free: 8.457 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/0.01949, allocations: 6.969 kB / 336.1 MB, free: 8.453 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000946/0.02043, allocations: 0.6899 MB / 336.8 MB, free: 7.887 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.527e-05/0.02048, allocations: 29.94 kB / 336.8 MB, free: 7.867 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.922e-05/0.02053, allocations: 12.97 kB / 336.8 MB, free: 7.859 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002843/0.02081, allocations: 13.45 kB / 336.8 MB, free: 7.852 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.739e-05/0.02088, allocations: 23.38 kB / 336.9 MB, free: 7.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.646e-05/0.02091, allocations: 17.7 kB / 336.9 MB, free: 7.832 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001367/0.02104, allocations: 140.3 kB / 337 MB, free: 7.73 MB / 302.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.02104, allocations: 1.156 kB / 337 MB, free: 7.73 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005037/0.02155, allocations: 66.41 kB / 337.1 MB, free: 7.719 MB / 302.1 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.0001401/0.02169, allocations: 120.8 kB / 337.2 MB, free: 7.609 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005329/0.02222, allocations: 234.4 kB / 337.4 MB, free: 7.508 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.02222, allocations: 1.375 kB / 337.4 MB, free: 7.508 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002687/0.02249, allocations: 123.3 kB / 337.6 MB, free: 7.453 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008014/0.02329, allocations: 76.16 kB / 337.6 MB, free: 7.414 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001541/0.02483, allocations: 0.7821 MB / 338.4 MB, free: 6.77 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001837/0.02502, allocations: 152.8 kB / 338.6 MB, free: 6.652 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001297/0.02515, allocations: 32.06 kB / 338.6 MB, free: 6.641 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.032e-05/0.02524, allocations: 28.09 kB / 338.6 MB, free: 6.633 MB / 302.1 MB Notification: Performance of SimCode: time 7.31e-07/0.02524, allocations: 0 / 338.6 MB, free: 6.633 MB / 302.1 MB Notification: Performance of Templates: time 0.008288/0.03353, allocations: 3.05 MB / 341.7 MB, free: 3.766 MB / 302.1 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.69894490018487]