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.001446/0.001446, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.001739/0.001739, allocations: 215.5 kB / 24.48 MB, free: 3.836 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.458/1.458, allocations: 230.5 MB / 258.1 MB, free: 7.809 MB / 206.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 0.001937/0.001937, allocations: 63.84 kB / 379 MB, free: 2.336 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2312/0.2331, allocations: 53.41 MB / 432.4 MB, free: 6.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.CompareBrakingForce): time 0.00379/0.2369, allocations: 2.207 MB / 434.6 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001521/0.2384, allocations: 0.7245 MB / 435.3 MB, free: 3.594 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001239/0.2386, allocations: 7.938 kB / 435.3 MB, free: 3.586 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001487/0.2387, allocations: 39.58 kB / 435.4 MB, free: 3.547 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002805/0.239, allocations: 95.27 kB / 435.5 MB, free: 3.453 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003372/0.2393, allocations: 115.7 kB / 435.6 MB, free: 3.34 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003573/0.2397, allocations: 310.6 kB / 435.9 MB, free: 3.035 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001509/0.2398, allocations: 47.8 kB / 435.9 MB, free: 2.988 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001475/0.24, allocations: 119.5 kB / 436 MB, free: 2.871 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001832/0.2402, allocations: 115.4 kB / 436.1 MB, free: 2.758 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.917e-05/0.2402, allocations: 20 kB / 436.2 MB, free: 2.738 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.369e-05/0.2403, allocations: 20 kB / 436.2 MB, free: 2.719 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.228e-05/0.2403, allocations: 51.78 kB / 436.2 MB, free: 2.668 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001454/0.2405, allocations: 111.5 kB / 436.3 MB, free: 2.559 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003271/0.2408, allocations: 270.5 kB / 436.6 MB, free: 2.297 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.2408, allocations: 4 kB / 436.6 MB, free: 2.293 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.2408, allocations: 4 kB / 436.6 MB, free: 2.289 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.2408, allocations: 0 / 436.6 MB, free: 2.289 MB / 334.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.0009411/0.2417, allocations: 485.4 kB / 437.1 MB, free: 1.785 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.2418, allocations: 15.98 kB / 437.1 MB, free: 1.77 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.546e-05/0.2418, allocations: 28.75 kB / 437.1 MB, free: 1.742 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004095/0.2423, allocations: 200.3 kB / 437.3 MB, free: 1.52 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.656e-05/0.2423, allocations: 20.81 kB / 437.4 MB, free: 1.5 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.933e-05/0.2423, allocations: 24.36 kB / 437.4 MB, free: 1.477 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004563/0.2428, allocations: 242.9 kB / 437.6 MB, free: 1.223 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.572e-05/0.2428, allocations: 11.94 kB / 437.6 MB, free: 1.211 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.305e-05/0.2428, allocations: 8 kB / 437.6 MB, free: 1.203 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.2428, allocations: 8 kB / 437.6 MB, free: 1.195 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003708/0.2432, allocations: 163.8 kB / 437.8 MB, free: 1.035 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001307/0.2445, allocations: 0.8951 MB / 438.7 MB, free: 76 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000621/0.2451, allocations: 278.6 kB / 439 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001819/0.2453, allocations: 95.48 kB / 439.1 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.2453, allocations: 4 kB / 439.1 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.714e-05/0.2454, allocations: 38.55 kB / 439.1 MB, free: 15.61 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.853e-06/0.2454, allocations: 4 kB / 439.1 MB, free: 15.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.002048/0.2474, allocations: 1.036 MB / 440.1 MB, free: 14.45 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/0.2475, allocations: 140.4 kB / 440.3 MB, free: 14.29 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002306/0.2478, allocations: 210.7 kB / 440.5 MB, free: 14.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.993e-05/0.2478, allocations: 33.7 kB / 440.5 MB, free: 14.03 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.2479, allocations: 152.8 kB / 440.7 MB, free: 13.88 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001047/0.248, allocations: 127 kB / 440.8 MB, free: 13.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/0.2481, allocations: 66.14 kB / 440.9 MB, free: 13.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.2483, allocations: 342.8 kB / 441.2 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001917/0.2485, allocations: 80.83 kB / 441.3 MB, free: 13.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000285/0.2488, allocations: 201.9 kB / 441.5 MB, free: 13.01 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005094/0.2493, allocations: 301.8 kB / 441.8 MB, free: 12.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.2493, allocations: 0 / 441.8 MB, free: 12.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006742/0.25, allocations: 349.2 kB / 442.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.25, allocations: 10.66 kB / 442.1 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.25, allocations: 0 / 442.1 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.25, allocations: 11.98 kB / 442.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000388/0.2504, allocations: 87.84 kB / 442.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.349e-05/0.2504, allocations: 7.984 kB / 442.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001637/0.2506, allocations: 16 kB / 442.2 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.958e-05/0.2506, allocations: 16 kB / 442.3 MB, free: 12.17 MB / 350.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.0001662/0.2508, allocations: 153.7 kB / 442.4 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.2509, allocations: 31.91 kB / 442.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.668e-05/0.2509, allocations: 25.41 kB / 442.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.251, allocations: 4 kB / 442.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.251, allocations: 4 kB / 442.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.251, allocations: 3.984 kB / 442.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00149/0.2525, allocations: 0.8774 MB / 443.3 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/0.2525, allocations: 4 kB / 443.3 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003691/0.2528, allocations: 79.89 kB / 443.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.107e-06/0.2528, allocations: 7.938 kB / 443.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.276e-05/0.2529, allocations: 8 kB / 443.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.644e-06/0.2529, allocations: 7.938 kB / 443.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.2529, allocations: 4 kB / 443.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009517/0.2538, allocations: 0.6963 MB / 444.2 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.113e-05/0.2539, allocations: 35.75 kB / 444.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.471e-05/0.2539, allocations: 12 kB / 444.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002896/0.2542, allocations: 12 kB / 444.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.901e-05/0.2543, allocations: 31.83 kB / 444.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.699e-05/0.2543, allocations: 12 kB / 444.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001469/0.2544, allocations: 144.6 kB / 444.4 MB, free: 9.906 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2544, allocations: 0 / 444.4 MB, free: 9.906 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004961/0.2549, allocations: 64 kB / 444.5 MB, free: 9.844 MB / 350.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.0001749/0.2551, allocations: 119.1 kB / 444.6 MB, free: 9.715 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006053/0.2557, allocations: 227.7 kB / 444.8 MB, free: 9.492 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.2557, allocations: 0 / 444.8 MB, free: 9.492 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002439/0.256, allocations: 116.7 kB / 444.9 MB, free: 9.379 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008361/0.2568, allocations: 89.47 kB / 445 MB, free: 9.297 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001927/0.2587, allocations: 0.98 MB / 446 MB, free: 8.254 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000188/0.2589, allocations: 147 kB / 446.1 MB, free: 8.082 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.259, allocations: 35.42 kB / 446.2 MB, free: 8.047 MB / 350.1 MB Notification: Performance of SimCode: time 9.52e-07/0.259, allocations: 0 / 446.2 MB, free: 8.047 MB / 350.1 MB Notification: Performance of Templates: time 0.007029/0.2661, allocations: 3.486 MB / 449.6 MB, free: 4.574 MB / 350.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/CompareBrakingForce/CompareBrakingForce.csv","/var/lib/jenkins1/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: 7.672951533924788]