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.001346/0.001346, allocations: 85.36 kB / 20.68 MB, free: 1.039 MB / 14.72 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.001446/0.001446, allocations: 164.7 kB / 23.96 MB, free: 4.164 MB / 14.72 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.471/1.471, allocations: 177.1 MB / 204.3 MB, free: 9.199 MB / 190.1 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.643e-06/1.643e-06, allocations: 0 / 325.1 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.919e-05/3.084e-05, allocations: 2.281 kB / 325.1 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.CompareBrakingForce): time 0.003262/0.003293, allocations: 2.223 MB / 327.3 MB, free: 15.06 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001462/0.004755, allocations: 0.7337 MB / 328 MB, free: 14.55 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001318/0.004887, allocations: 8.125 kB / 328 MB, free: 14.55 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001584/0.005045, allocations: 46 kB / 328.1 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002934/0.005339, allocations: 95.11 kB / 328.2 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003677/0.005707, allocations: 116.9 kB / 328.3 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003863/0.006093, allocations: 317.8 kB / 328.6 MB, free: 14.22 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001522/0.006245, allocations: 46.09 kB / 328.6 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002378/0.006483, allocations: 164.1 kB / 328.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001861/0.006669, allocations: 104.2 kB / 328.9 MB, free: 14.1 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.523e-05/0.006714, allocations: 20.88 kB / 328.9 MB, free: 14.1 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.007e-05/0.006764, allocations: 20.88 kB / 328.9 MB, free: 14.1 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.321e-05/0.006827, allocations: 48.42 kB / 329 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000134/0.006961, allocations: 91.25 kB / 329.1 MB, free: 14.03 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003913/0.007353, allocations: 284.5 kB / 329.3 MB, free: 13.92 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.007358, allocations: 0 / 329.3 MB, free: 13.92 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.007359, allocations: 1.031 kB / 329.3 MB, free: 13.92 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.712e-06/0.007366, allocations: 0 / 329.3 MB, free: 13.92 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.0009789/0.008345, allocations: 486.5 kB / 329.8 MB, free: 13.54 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.008381, allocations: 9.25 kB / 329.8 MB, free: 13.54 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.422e-05/0.008456, allocations: 30.47 kB / 329.9 MB, free: 13.52 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003395/0.008795, allocations: 204.8 kB / 330.1 MB, free: 13.34 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.91e-05/0.008824, allocations: 13.12 kB / 330.1 MB, free: 13.34 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.059e-05/0.008875, allocations: 27.55 kB / 330.1 MB, free: 13.32 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004784/0.009353, allocations: 233.9 kB / 330.3 MB, free: 13.2 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.325e-05/0.009376, allocations: 6.781 kB / 330.3 MB, free: 13.19 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.768e-05/0.009404, allocations: 10.53 kB / 330.3 MB, free: 13.18 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.689e-06/0.009414, allocations: 10.19 kB / 330.4 MB, free: 13.18 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004075/0.009821, allocations: 161.3 kB / 330.5 MB, free: 13.13 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001344/0.01117, allocations: 0.8949 MB / 331.4 MB, free: 12.34 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005888/0.01175, allocations: 274.1 kB / 331.7 MB, free: 12.15 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001979/0.01195, allocations: 99.66 kB / 331.8 MB, free: 12.08 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.387e-05/0.01199, allocations: 11.89 kB / 331.8 MB, free: 12.07 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/0.01202, allocations: 37.84 kB / 331.8 MB, free: 12.03 MB / 302.1 MB Notification: Performance of pre-optimization done (n=28): time 1.743e-06/0.01202, allocations: 0 / 331.8 MB, free: 12.03 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.001953/0.01398, allocations: 1.036 MB / 332.9 MB, free: 11.18 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.998e-05/0.01407, allocations: 136.8 kB / 333 MB, free: 11.02 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002173/0.01428, allocations: 208.1 kB / 333.2 MB, free: 10.86 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.075e-05/0.01431, allocations: 35.73 kB / 333.2 MB, free: 10.82 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000118/0.01443, allocations: 154.6 kB / 333.4 MB, free: 10.67 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/0.01454, allocations: 133.4 kB / 333.5 MB, free: 10.55 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/0.01464, allocations: 62.89 kB / 333.6 MB, free: 10.51 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.01481, allocations: 341.1 kB / 333.9 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002053/0.01502, allocations: 81.95 kB / 334 MB, free: 10.14 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002903/0.01531, allocations: 195.4 kB / 334.2 MB, free: 9.961 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005116/0.01582, allocations: 313.5 kB / 334.5 MB, free: 9.715 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.01582, allocations: 1 kB / 334.5 MB, free: 9.715 MB / 302.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006452/0.01647, allocations: 335.8 kB / 334.8 MB, free: 9.543 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.01648, allocations: 6.406 kB / 334.8 MB, free: 9.543 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.01649, allocations: 3.125 kB / 334.8 MB, free: 9.543 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/0.01652, allocations: 6.688 kB / 334.8 MB, free: 9.543 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003684/0.01688, allocations: 100.9 kB / 334.9 MB, free: 9.516 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.529e-05/0.0169, allocations: 8.891 kB / 334.9 MB, free: 9.512 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001753/0.01707, allocations: 15.03 kB / 334.9 MB, free: 9.504 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.168e-05/0.01711, allocations: 17.69 kB / 335 MB, free: 9.5 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.0001551/0.01726, allocations: 149.2 kB / 335.1 MB, free: 9.355 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.01737, allocations: 25.36 kB / 335.1 MB, free: 9.344 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.076e-05/0.01745, allocations: 34.86 kB / 335.2 MB, free: 9.316 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.01745, allocations: 4.75 kB / 335.2 MB, free: 9.316 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/0.01746, allocations: 5.016 kB / 335.2 MB, free: 9.312 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.01747, allocations: 9.359 kB / 335.2 MB, free: 9.305 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001447/0.01892, allocations: 0.8642 MB / 336.1 MB, free: 8.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.01893, allocations: 4.031 kB / 336.1 MB, free: 8.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003727/0.0193, allocations: 77.41 kB / 336.1 MB, free: 8.555 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.947e-06/0.01931, allocations: 8.172 kB / 336.1 MB, free: 8.551 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.458e-05/0.01933, allocations: 13.94 kB / 336.2 MB, free: 8.543 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.239e-05/0.01934, allocations: 15.44 kB / 336.2 MB, free: 8.531 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.01935, allocations: 3.688 kB / 336.2 MB, free: 8.531 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008595/0.02021, allocations: 0.69 MB / 336.9 MB, free: 7.965 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.967e-05/0.02025, allocations: 20.11 kB / 336.9 MB, free: 7.953 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.802e-05/0.02029, allocations: 18.11 kB / 336.9 MB, free: 7.941 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002752/0.02057, allocations: 13 kB / 336.9 MB, free: 7.934 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.121e-05/0.02064, allocations: 35.17 kB / 336.9 MB, free: 7.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.205e-05/0.02066, allocations: 13.97 kB / 337 MB, free: 7.906 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001374/0.0208, allocations: 140.2 kB / 337.1 MB, free: 7.805 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.0208, allocations: 1.062 kB / 337.1 MB, free: 7.805 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004972/0.0213, allocations: 66.53 kB / 337.2 MB, free: 7.793 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.0001416/0.02144, allocations: 113.4 kB / 337.3 MB, free: 7.691 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005192/0.02196, allocations: 243.4 kB / 337.5 MB, free: 7.582 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.02196, allocations: 3.938 kB / 337.5 MB, free: 7.578 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000248/0.02221, allocations: 119.1 kB / 337.6 MB, free: 7.527 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008082/0.02302, allocations: 59.64 kB / 337.7 MB, free: 7.5 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001411/0.02443, allocations: 0.7931 MB / 338.5 MB, free: 6.844 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001766/0.0246, allocations: 149.9 kB / 338.6 MB, free: 6.727 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.00012/0.02472, allocations: 31.97 kB / 338.7 MB, free: 6.715 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.876e-05/0.02481, allocations: 35.14 kB / 338.7 MB, free: 6.699 MB / 302.1 MB Notification: Performance of SimCode: time 4.31e-07/0.02481, allocations: 1.094 kB / 338.7 MB, free: 6.699 MB / 302.1 MB Notification: Performance of Templates: time 0.007661/0.03248, allocations: 3.04 MB / 341.7 MB, free: 3.867 MB / 302.1 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.543716948479414]