Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002038/0.002038, allocations: 92.31 kB / 20.96 MB, free: 3.477 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002636/0.002636, allocations: 165.7 kB / 24.27 MB, free: 168 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.502/1.502, allocations: 177.2 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Mechanics.Translational.Examples.CompareBrakingForce") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 272.3 MB, free: 1.84 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.516e-05/2.666e-05, allocations: 2.312 kB / 272.3 MB, free: 1.836 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.CompareBrakingForce): time 0.003763/0.003789, allocations: 2.228 MB / 274.5 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00152/0.005309, allocations: 0.7205 MB / 275.3 MB, free: 14.87 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001558/0.005465, allocations: 7.938 kB / 275.3 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001788/0.005644, allocations: 39.58 kB / 275.3 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002893/0.005933, allocations: 91.27 kB / 275.4 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003717/0.006305, allocations: 119.6 kB / 275.5 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005412/0.006846, allocations: 318.5 kB / 275.8 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001416/0.006988, allocations: 44.86 kB / 275.9 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002401/0.007228, allocations: 163.6 kB / 276 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001774/0.007405, allocations: 91.7 kB / 276.1 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.595e-05/0.007451, allocations: 24 kB / 276.1 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.301e-05/0.007494, allocations: 23.94 kB / 276.2 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.388e-05/0.007558, allocations: 55.75 kB / 276.2 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000125/0.007683, allocations: 95.75 kB / 276.3 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003614/0.008045, allocations: 275 kB / 276.6 MB, free: 13.54 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.008048, allocations: 0 / 276.6 MB, free: 13.54 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.008049, allocations: 0 / 276.6 MB, free: 13.54 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.76e-06/0.008054, allocations: 0 / 276.6 MB, free: 13.54 MB / 266.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.001024/0.009078, allocations: 489.5 kB / 277 MB, free: 13.04 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.009114, allocations: 8.031 kB / 277.1 MB, free: 13.03 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001167/0.00923, allocations: 48.75 kB / 277.1 MB, free: 12.98 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004015/0.009632, allocations: 207 kB / 277.3 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.986e-05/0.009662, allocations: 16.88 kB / 277.3 MB, free: 12.73 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.015e-05/0.009722, allocations: 28.36 kB / 277.3 MB, free: 12.71 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005137/0.01024, allocations: 244 kB / 277.6 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.089e-05/0.01026, allocations: 4.141 kB / 277.6 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.995e-05/0.01029, allocations: 12.38 kB / 277.6 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.0103, allocations: 7.938 kB / 277.6 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004198/0.01072, allocations: 167.6 kB / 277.8 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001455/0.01217, allocations: 0.8997 MB / 278.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006365/0.01281, allocations: 286.5 kB / 279 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002125/0.01302, allocations: 87.41 kB / 279 MB, free: 10.89 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.239e-05/0.01305, allocations: 7.938 kB / 279 MB, free: 10.88 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.677e-05/0.0131, allocations: 46.48 kB / 279.1 MB, free: 10.82 MB / 266.7 MB Notification: Performance of pre-optimization done (n=28): time 1.593e-06/0.0131, allocations: 0 / 279.1 MB, free: 10.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.002251/0.01535, allocations: 1.044 MB / 280.1 MB, free: 9.664 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/0.01546, allocations: 136.5 kB / 280.3 MB, free: 9.5 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002583/0.01572, allocations: 203 kB / 280.5 MB, free: 9.289 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.531e-05/0.01575, allocations: 29.7 kB / 280.5 MB, free: 9.254 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001509/0.01591, allocations: 156.7 kB / 280.7 MB, free: 9.094 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001265/0.01603, allocations: 122.9 kB / 280.8 MB, free: 8.973 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001289/0.01616, allocations: 74.19 kB / 280.8 MB, free: 8.895 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001958/0.01636, allocations: 334.8 kB / 281.2 MB, free: 8.559 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002333/0.01659, allocations: 84.95 kB / 281.3 MB, free: 8.477 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003182/0.01691, allocations: 198.7 kB / 281.4 MB, free: 8.238 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005845/0.01749, allocations: 309.4 kB / 281.7 MB, free: 7.887 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.165e-06/0.01749, allocations: 0 / 281.7 MB, free: 7.887 MB / 266.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000733/0.01823, allocations: 357 kB / 282.1 MB, free: 7.531 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.01825, allocations: 4 kB / 282.1 MB, free: 7.527 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.01825, allocations: 4 kB / 282.1 MB, free: 7.523 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.819e-05/0.01828, allocations: 8.188 kB / 282.1 MB, free: 7.516 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003959/0.01868, allocations: 96.14 kB / 282.2 MB, free: 7.422 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.383e-05/0.01869, allocations: 7.938 kB / 282.2 MB, free: 7.414 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001745/0.01887, allocations: 15.98 kB / 282.2 MB, free: 7.398 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.77e-05/0.0189, allocations: 19.98 kB / 282.3 MB, free: 7.379 MB / 266.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 0.0001794/0.01908, allocations: 149.7 kB / 282.4 MB, free: 7.223 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001194/0.0192, allocations: 31.86 kB / 282.4 MB, free: 7.191 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.354e-05/0.01929, allocations: 37.45 kB / 282.5 MB, free: 7.152 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.01929, allocations: 4 kB / 282.5 MB, free: 7.148 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.0193, allocations: 0 / 282.5 MB, free: 7.148 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.0193, allocations: 0 / 282.5 MB, free: 7.148 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001722/0.02102, allocations: 0.881 MB / 283.3 MB, free: 6.203 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.02103, allocations: 0 / 283.3 MB, free: 6.203 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004018/0.02143, allocations: 79.89 kB / 283.4 MB, free: 6.125 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.506e-06/0.02144, allocations: 4 kB / 283.4 MB, free: 6.121 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.986e-05/0.02147, allocations: 12.25 kB / 283.4 MB, free: 6.109 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.999e-06/0.02148, allocations: 15.92 kB / 283.5 MB, free: 6.094 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.02148, allocations: 4.562 kB / 283.5 MB, free: 6.09 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009905/0.02247, allocations: 0.7002 MB / 284.2 MB, free: 5.34 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.585e-05/0.02252, allocations: 23.86 kB / 284.2 MB, free: 5.316 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.81e-05/0.02257, allocations: 15.94 kB / 284.2 MB, free: 5.301 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000287/0.02285, allocations: 11.98 kB / 284.2 MB, free: 5.289 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.651e-05/0.02294, allocations: 27.91 kB / 284.2 MB, free: 5.262 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.213e-05/0.02296, allocations: 11.98 kB / 284.3 MB, free: 5.25 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001513/0.02311, allocations: 148.6 kB / 284.4 MB, free: 5.105 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02311, allocations: 3.938 kB / 284.4 MB, free: 5.102 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005096/0.02362, allocations: 64 kB / 284.5 MB, free: 5.039 MB / 266.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.0001487/0.02377, allocations: 111.2 kB / 284.6 MB, free: 4.922 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005637/0.02433, allocations: 240.2 kB / 284.8 MB, free: 4.688 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.02434, allocations: 0 / 284.8 MB, free: 4.688 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002617/0.0246, allocations: 119.8 kB / 284.9 MB, free: 4.57 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008181/0.02542, allocations: 65.69 kB / 285 MB, free: 4.512 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001656/0.02707, allocations: 0.8148 MB / 285.8 MB, free: 3.641 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001998/0.02727, allocations: 151.1 kB / 286 MB, free: 3.465 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001346/0.02741, allocations: 34.97 kB / 286 MB, free: 3.43 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.675e-05/0.0275, allocations: 32.48 kB / 286 MB, free: 3.398 MB / 266.7 MB Notification: Performance of SimCode: time 7.81e-07/0.02751, allocations: 0 / 286 MB, free: 3.398 MB / 266.7 MB Notification: Performance of Templates: time 0.007798/0.0353, allocations: 3.065 MB / 289.1 MB, free: 396 kB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.CompareBrakingForce -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.558211622061208]