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.001531/0.001531, allocations: 112.5 kB / 21.19 MB, free: 0.7617 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.001688/0.001688, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.387/1.387, allocations: 230.6 MB / 258.3 MB, free: 7.98 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.001558/0.001558, allocations: 47.92 kB / 379 MB, free: 2.629 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2251/0.2267, allocations: 53.37 MB / 432.4 MB, free: 6.918 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.CompareBrakingForce): time 0.003807/0.2305, allocations: 2.382 MB / 434.8 MB, free: 4.527 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001526/0.232, allocations: 0.7712 MB / 435.5 MB, free: 3.75 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001728/0.2322, allocations: 7.938 kB / 435.5 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001468/0.2323, allocations: 43.53 kB / 435.6 MB, free: 3.699 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003018/0.2326, allocations: 91.06 kB / 435.7 MB, free: 3.613 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003631/0.233, allocations: 119.7 kB / 435.8 MB, free: 3.496 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003963/0.2334, allocations: 306.7 kB / 436.1 MB, free: 3.195 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001572/0.2335, allocations: 44.92 kB / 436.1 MB, free: 3.148 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001725/0.2337, allocations: 119.5 kB / 436.3 MB, free: 3.031 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001957/0.2339, allocations: 131.3 kB / 436.4 MB, free: 2.902 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.468e-05/0.2339, allocations: 20 kB / 436.4 MB, free: 2.883 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.239e-05/0.234, allocations: 24 kB / 436.4 MB, free: 2.859 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.951e-05/0.234, allocations: 47.83 kB / 436.5 MB, free: 2.812 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000128/0.2342, allocations: 135.3 kB / 436.6 MB, free: 2.68 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003305/0.2345, allocations: 272.1 kB / 436.9 MB, free: 2.418 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.2345, allocations: 4 kB / 436.9 MB, free: 2.414 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2345, allocations: 0 / 436.9 MB, free: 2.414 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.357e-05/0.2345, allocations: 0 / 436.9 MB, free: 2.414 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.0009474/0.2355, allocations: 489.5 kB / 437.4 MB, free: 1.906 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.2355, allocations: 8.031 kB / 437.4 MB, free: 1.898 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.611e-05/0.2356, allocations: 32.75 kB / 437.4 MB, free: 1.867 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003563/0.2359, allocations: 199.7 kB / 437.6 MB, free: 1.645 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.465e-05/0.2359, allocations: 20.81 kB / 437.6 MB, free: 1.625 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.261e-05/0.236, allocations: 24.38 kB / 437.6 MB, free: 1.602 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004469/0.2364, allocations: 243 kB / 437.9 MB, free: 1.348 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.198e-05/0.2365, allocations: 7.891 kB / 437.9 MB, free: 1.34 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.55e-05/0.2365, allocations: 12 kB / 437.9 MB, free: 1.328 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.2365, allocations: 4 kB / 437.9 MB, free: 1.324 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003748/0.2369, allocations: 155.9 kB / 438 MB, free: 1.172 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001377/0.2382, allocations: 0.9804 MB / 439 MB, free: 116 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000569/0.2388, allocations: 282.3 kB / 439.3 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001841/0.239, allocations: 91.41 kB / 439.4 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.387e-05/0.239, allocations: 0 / 439.4 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.757e-05/0.2391, allocations: 46.48 kB / 439.4 MB, free: 15.64 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.222e-06/0.2391, allocations: 0 / 439.4 MB, free: 15.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001868/0.2409, allocations: 1.044 MB / 440.5 MB, free: 14.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.184e-05/0.241, allocations: 132.5 kB / 440.6 MB, free: 14.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002121/0.2412, allocations: 206.8 kB / 440.8 MB, free: 14.11 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/0.2413, allocations: 29.7 kB / 440.8 MB, free: 14.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/0.2414, allocations: 156.7 kB / 441 MB, free: 13.91 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001122/0.2415, allocations: 130.9 kB / 441.1 MB, free: 13.79 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.45e-05/0.2416, allocations: 66.14 kB / 441.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.2417, allocations: 338.8 kB / 441.5 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002041/0.242, allocations: 88.61 kB / 441.6 MB, free: 13.29 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002805/0.2422, allocations: 198.1 kB / 441.8 MB, free: 13.05 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004831/0.2427, allocations: 302 kB / 442.1 MB, free: 12.7 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2427, allocations: 0 / 442.1 MB, free: 12.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006176/0.2433, allocations: 345.2 kB / 442.4 MB, free: 12.36 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.2434, allocations: 8.031 kB / 442.4 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.2434, allocations: 8 kB / 442.4 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.2434, allocations: 8 kB / 442.5 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003569/0.2437, allocations: 91.89 kB / 442.5 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.541e-05/0.2438, allocations: 11.92 kB / 442.6 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001593/0.2439, allocations: 15.94 kB / 442.6 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.972e-05/0.2439, allocations: 16 kB / 442.6 MB, free: 12.2 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.0001523/0.2441, allocations: 145.7 kB / 442.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.971e-05/0.2442, allocations: 31.86 kB / 442.8 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.255e-05/0.2443, allocations: 33.39 kB / 442.8 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.2443, allocations: 7.938 kB / 442.8 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.2443, allocations: 0 / 442.8 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/0.2443, allocations: 11.92 kB / 442.8 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001468/0.2458, allocations: 0.9274 MB / 443.7 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.2458, allocations: 4 kB / 443.7 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003661/0.2461, allocations: 75.89 kB / 443.8 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.124e-05/0.2461, allocations: 4 kB / 443.8 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.557e-05/0.2462, allocations: 16.25 kB / 443.8 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/0.2462, allocations: 4 kB / 443.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.2462, allocations: 4 kB / 443.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008647/0.247, allocations: 0.7083 MB / 444.6 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.113e-05/0.2471, allocations: 27.83 kB / 444.6 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.936e-05/0.2471, allocations: 15.94 kB / 444.6 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002652/0.2474, allocations: 12 kB / 444.6 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.655e-05/0.2475, allocations: 27.89 kB / 444.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-05/0.2475, allocations: 16 kB / 444.7 MB, free: 10 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001344/0.2476, allocations: 144.6 kB / 444.8 MB, free: 9.863 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2476, allocations: 0 / 444.8 MB, free: 9.863 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004791/0.2481, allocations: 64 kB / 444.9 MB, free: 9.801 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.0001266/0.2482, allocations: 119.6 kB / 445 MB, free: 9.672 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005046/0.2487, allocations: 228.8 kB / 445.2 MB, free: 9.449 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.2487, allocations: 0 / 445.2 MB, free: 9.449 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002421/0.249, allocations: 124.4 kB / 445.3 MB, free: 9.328 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007359/0.2497, allocations: 74.05 kB / 445.4 MB, free: 9.262 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001672/0.2514, allocations: 0.993 MB / 446.4 MB, free: 8.207 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004249/0.2518, allocations: 0.7604 MB / 447.1 MB, free: 7.418 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.402e-05/0.2519, allocations: 31.42 kB / 447.2 MB, free: 7.387 MB / 350.1 MB Notification: Performance of SimCode: time 3.5e-07/0.2519, allocations: 0 / 447.2 MB, free: 7.387 MB / 350.1 MB Notification: Performance of Templates: time 0.006057/0.258, allocations: 3.373 MB / 450.5 MB, free: 4.02 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 -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: 7.3022691670339555]