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.001858/0.001858, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002288/0.002288, allocations: 212.3 kB / 24.48 MB, free: 3.941 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.478/1.478, allocations: 230.6 MB / 258.2 MB, free: 7.781 MB / 206.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 0.001525/0.001525, allocations: 51.94 kB / 379 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2084/0.2099, allocations: 53.36 MB / 432.3 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.CompareBrakingForce): time 0.003563/0.2135, allocations: 2.219 MB / 434.5 MB, free: 4.48 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001355/0.2149, allocations: 0.7206 MB / 435.3 MB, free: 3.754 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.215, allocations: 11.94 kB / 435.3 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001489/0.2151, allocations: 43.58 kB / 435.3 MB, free: 3.699 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002578/0.2154, allocations: 91.27 kB / 435.4 MB, free: 3.609 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003206/0.2157, allocations: 115.7 kB / 435.5 MB, free: 3.496 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003546/0.216, allocations: 302.6 kB / 435.8 MB, free: 3.199 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001435/0.2162, allocations: 51.86 kB / 435.9 MB, free: 3.148 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001405/0.2163, allocations: 123.5 kB / 436 MB, free: 3.027 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002283/0.2166, allocations: 131.4 kB / 436.1 MB, free: 2.898 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.665e-05/0.2166, allocations: 20 kB / 436.1 MB, free: 2.879 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.565e-05/0.2166, allocations: 20 kB / 436.2 MB, free: 2.859 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.124e-05/0.2167, allocations: 47.84 kB / 436.2 MB, free: 2.812 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001223/0.2168, allocations: 119.4 kB / 436.3 MB, free: 2.695 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000305/0.2171, allocations: 270.5 kB / 436.6 MB, free: 2.434 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.2171, allocations: 4 kB / 436.6 MB, free: 2.43 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.2171, allocations: 0 / 436.6 MB, free: 2.43 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.2171, allocations: 0 / 436.6 MB, free: 2.43 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.0009597/0.2181, allocations: 485.5 kB / 437.1 MB, free: 1.926 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.2181, allocations: 12.03 kB / 437.1 MB, free: 1.914 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.519e-05/0.2182, allocations: 28.75 kB / 437.1 MB, free: 1.887 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003463/0.2185, allocations: 207.6 kB / 437.3 MB, free: 1.656 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.229e-05/0.2186, allocations: 24.81 kB / 437.3 MB, free: 1.633 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.659e-05/0.2186, allocations: 20.38 kB / 437.3 MB, free: 1.613 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004687/0.2191, allocations: 235 kB / 437.6 MB, free: 1.367 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.703e-05/0.2191, allocations: 15.94 kB / 437.6 MB, free: 1.352 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.283e-05/0.2191, allocations: 4 kB / 437.6 MB, free: 1.348 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.2191, allocations: 8 kB / 437.6 MB, free: 1.34 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003902/0.2195, allocations: 163.8 kB / 437.8 MB, free: 1.18 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001317/0.2208, allocations: 0.8951 MB / 438.7 MB, free: 224 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006107/0.2215, allocations: 274.6 kB / 438.9 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001963/0.2217, allocations: 99.31 kB / 439 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/0.2217, allocations: 7.984 kB / 439 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.055e-05/0.2217, allocations: 38.56 kB / 439.1 MB, free: 15.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.532e-06/0.2217, allocations: 0 / 439.1 MB, free: 15.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.00196/0.2237, allocations: 1.044 MB / 440.1 MB, free: 14.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.575e-05/0.2238, allocations: 132.5 kB / 440.2 MB, free: 14.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002265/0.224, allocations: 210.7 kB / 440.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.008e-05/0.224, allocations: 33.7 kB / 440.5 MB, free: 14.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.2241, allocations: 152.7 kB / 440.6 MB, free: 14.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001109/0.2243, allocations: 127 kB / 440.8 MB, free: 13.89 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.2244, allocations: 66.14 kB / 440.8 MB, free: 13.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.2245, allocations: 350.7 kB / 441.2 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000214/0.2247, allocations: 76.84 kB / 441.2 MB, free: 13.39 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002958/0.225, allocations: 197.9 kB / 441.4 MB, free: 13.15 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005206/0.2256, allocations: 297.5 kB / 441.7 MB, free: 12.81 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2256, allocations: 0 / 441.7 MB, free: 12.81 MB / 350.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000659/0.2262, allocations: 349.1 kB / 442.1 MB, free: 12.46 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.2262, allocations: 4 kB / 442.1 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.2262, allocations: 8.25 kB / 442.1 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.201e-05/0.2263, allocations: 12 kB / 442.1 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003839/0.2266, allocations: 91.89 kB / 442.2 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.482e-05/0.2267, allocations: 7.938 kB / 442.2 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001749/0.2268, allocations: 12 kB / 442.2 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.796e-05/0.2269, allocations: 16 kB / 442.2 MB, free: 12.32 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.0001533/0.227, allocations: 153.7 kB / 442.4 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.2271, allocations: 23.86 kB / 442.4 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.458e-05/0.2272, allocations: 29.41 kB / 442.4 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.2272, allocations: 8.172 kB / 442.4 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.2272, allocations: 8 kB / 442.4 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.2272, allocations: 3.984 kB / 442.4 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001434/0.2286, allocations: 0.8693 MB / 443.3 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-05/0.2287, allocations: 4 kB / 443.3 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000417/0.2291, allocations: 80.08 kB / 443.4 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.075e-06/0.2291, allocations: 11.94 kB / 443.4 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.707e-05/0.2291, allocations: 12 kB / 443.4 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.2291, allocations: 7.938 kB / 443.4 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.2291, allocations: 4 kB / 443.4 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008923/0.23, allocations: 0.7082 MB / 444.1 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.27e-05/0.2301, allocations: 27.78 kB / 444.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.11e-05/0.2301, allocations: 8 kB / 444.2 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002912/0.2304, allocations: 19.98 kB / 444.2 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.479e-05/0.2305, allocations: 27.84 kB / 444.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.491e-05/0.2305, allocations: 19.98 kB / 444.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001271/0.2306, allocations: 140.6 kB / 444.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2306, allocations: 0 / 444.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000496/0.2311, allocations: 68 kB / 444.4 MB, free: 9.973 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.0001189/0.2312, allocations: 107.1 kB / 444.5 MB, free: 9.855 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005032/0.2317, allocations: 228.2 kB / 444.8 MB, free: 9.633 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2317, allocations: 0 / 444.8 MB, free: 9.633 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002547/0.232, allocations: 119.8 kB / 444.9 MB, free: 9.516 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007602/0.2327, allocations: 64.67 kB / 444.9 MB, free: 9.457 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001601/0.2343, allocations: 0.9559 MB / 445.9 MB, free: 8.445 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001725/0.2345, allocations: 159 kB / 446 MB, free: 8.266 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001265/0.2346, allocations: 34.95 kB / 446.1 MB, free: 8.23 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.139e-05/0.2347, allocations: 27.44 kB / 446.1 MB, free: 8.203 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2347, allocations: 0 / 446.1 MB, free: 8.203 MB / 350.1 MB Notification: Performance of Templates: time 0.007602/0.2423, allocations: 3.428 MB / 449.5 MB, free: 4.82 MB / 350.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 -s gbode -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/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_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.668149201999768]