Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.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.001284/0.001284, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001579/0.001579, allocations: 215.7 kB / 23.75 MB, free: 4.668 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.467/1.467, allocations: 230.6 MB / 257.5 MB, free: 8.008 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.Accelerate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|accelerate.s|accelerate.v",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate") translateModel(Modelica.Mechanics.Translational.Examples.Accelerate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|accelerate.s|accelerate.v",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001568/0.001568, allocations: 48.06 kB / 378.2 MB, free: 2.633 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2389/0.2405, allocations: 53.37 MB / 431.6 MB, free: 7.074 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.004032/0.2445, allocations: 1.664 MB / 433.3 MB, free: 5.406 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003119/0.2449, allocations: 75.7 kB / 433.4 MB, free: 5.332 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.849e-05/0.2449, allocations: 4 kB / 433.4 MB, free: 5.328 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001198/0.2451, allocations: 3.938 kB / 433.4 MB, free: 5.324 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.223e-05/0.2451, allocations: 19.84 kB / 433.4 MB, free: 5.305 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001441/0.2453, allocations: 19.92 kB / 433.4 MB, free: 5.285 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001718/0.2454, allocations: 63.73 kB / 433.5 MB, free: 5.223 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.2456, allocations: 11.98 kB / 433.5 MB, free: 5.211 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.374e-05/0.2456, allocations: 31.86 kB / 433.5 MB, free: 5.18 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.967e-05/0.2457, allocations: 27.84 kB / 433.5 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.373e-05/0.2457, allocations: 8 kB / 433.5 MB, free: 5.145 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.809e-05/0.2458, allocations: 4 kB / 433.5 MB, free: 5.141 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.585e-05/0.2458, allocations: 8 kB / 433.5 MB, free: 5.133 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.903e-05/0.2459, allocations: 31.86 kB / 433.6 MB, free: 5.102 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002103/0.2461, allocations: 65.27 kB / 433.6 MB, free: 5.039 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2461, allocations: 4 kB / 433.6 MB, free: 5.035 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2461, allocations: 0 / 433.6 MB, free: 5.035 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.2461, allocations: 4 kB / 433.7 MB, free: 5.031 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005636/0.2466, allocations: 282.2 kB / 433.9 MB, free: 4.723 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.2467, allocations: 8.031 kB / 433.9 MB, free: 4.715 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.802e-05/0.2467, allocations: 8.891 kB / 433.9 MB, free: 4.707 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002533/0.247, allocations: 126.4 kB / 434.1 MB, free: 4.559 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.247, allocations: 8.375 kB / 434.1 MB, free: 4.551 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.918e-05/0.247, allocations: 12.31 kB / 434.1 MB, free: 4.539 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002073/0.2472, allocations: 74.17 kB / 434.2 MB, free: 4.461 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.2472, allocations: 192 / 434.2 MB, free: 4.461 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.2473, allocations: 7.875 kB / 434.2 MB, free: 4.453 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.2473, allocations: 0 / 434.2 MB, free: 4.453 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001231/0.2474, allocations: 39.97 kB / 434.2 MB, free: 4.414 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000837/0.2482, allocations: 342.9 kB / 434.5 MB, free: 4.031 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000147/0.2484, allocations: 58.56 kB / 434.6 MB, free: 3.965 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.128e-05/0.2484, allocations: 20.86 kB / 434.6 MB, free: 3.941 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.412e-05/0.2484, allocations: 0 / 434.6 MB, free: 3.941 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/0.2485, allocations: 30.56 kB / 434.6 MB, free: 3.902 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.2485, allocations: 0 / 434.6 MB, free: 3.902 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0009318/0.2494, allocations: 379 kB / 435 MB, free: 3.477 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.324e-05/0.2495, allocations: 51.41 kB / 435.1 MB, free: 3.414 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001469/0.2496, allocations: 121.8 kB / 435.2 MB, free: 3.285 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.2496, allocations: 25.7 kB / 435.2 MB, free: 3.254 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.2497, allocations: 100 kB / 435.3 MB, free: 3.152 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.935e-05/0.2498, allocations: 39.69 kB / 435.4 MB, free: 3.113 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.486e-05/0.2499, allocations: 21.72 kB / 435.4 MB, free: 3.086 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001799/0.25, allocations: 322.8 kB / 435.7 MB, free: 2.762 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.091e-05/0.2501, allocations: 20 kB / 435.7 MB, free: 2.742 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001026/0.2502, allocations: 53.14 kB / 435.8 MB, free: 2.672 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001802/0.2504, allocations: 97 kB / 435.9 MB, free: 2.559 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.2504, allocations: 480 / 435.9 MB, free: 2.559 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002759/0.2507, allocations: 109.5 kB / 436 MB, free: 2.445 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.2507, allocations: 4 kB / 436 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.2507, allocations: 4 kB / 436 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.2507, allocations: 0 / 436 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.2508, allocations: 27.92 kB / 436 MB, free: 2.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.301e-05/0.2509, allocations: 7.938 kB / 436 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.539e-05/0.2509, allocations: 4.094 kB / 436 MB, free: 2.398 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.458e-05/0.2509, allocations: 8 kB / 436 MB, free: 2.391 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (13): * Single equations (assignments): 13 * 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.000116/0.251, allocations: 117.8 kB / 436.1 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.052e-05/0.2511, allocations: 11.94 kB / 436.1 MB, free: 2.254 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.838e-05/0.2512, allocations: 12.38 kB / 436.2 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.299e-06/0.2512, allocations: 4 kB / 436.2 MB, free: 2.23 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.2512, allocations: 3.938 kB / 436.2 MB, free: 2.227 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.2512, allocations: 0 / 436.2 MB, free: 2.227 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006902/0.2519, allocations: 389.6 kB / 436.5 MB, free: 1.781 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.2519, allocations: 0 / 436.5 MB, free: 1.781 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001292/0.252, allocations: 19.94 kB / 436.6 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.252, allocations: 0 / 436.6 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.252, allocations: 4 kB / 436.6 MB, free: 1.758 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.252, allocations: 4.141 kB / 436.6 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.252, allocations: 8 kB / 436.6 MB, free: 1.746 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003318/0.2524, allocations: 231.7 kB / 436.8 MB, free: 1.488 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.082e-05/0.2524, allocations: 12.2 kB / 436.8 MB, free: 1.477 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.284e-05/0.2524, allocations: 0 / 436.8 MB, free: 1.477 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001274/0.2525, allocations: 11.94 kB / 436.8 MB, free: 1.465 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.695e-05/0.2526, allocations: 11.97 kB / 436.8 MB, free: 1.453 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.052e-06/0.2526, allocations: 0 / 436.8 MB, free: 1.453 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.76e-05/0.2527, allocations: 95.27 kB / 436.9 MB, free: 1.359 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2527, allocations: 0 / 436.9 MB, free: 1.359 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004702/0.2531, allocations: 16 kB / 436.9 MB, free: 1.344 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (accelerate.s,accelerate.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 (9): * Single equations (assignments): 9 * 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.0001387/0.2533, allocations: 104.7 kB / 437 MB, free: 1.234 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002181/0.2535, allocations: 64.17 kB / 437.1 MB, free: 1.172 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.2535, allocations: 0 / 437.1 MB, free: 1.172 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.402e-05/0.2536, allocations: 31.86 kB / 437.1 MB, free: 1.141 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005044/0.2541, allocations: 18.5 kB / 437.2 MB, free: 1.125 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008557/0.2549, allocations: 332.1 kB / 437.5 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004374/0.2553, allocations: 0.6924 MB / 438.2 MB, free: 44 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.216e-05/0.2554, allocations: 12.42 kB / 438.2 MB, free: 32 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.73e-05/0.2554, allocations: 11.44 kB / 438.2 MB, free: 20 kB / 334.1 MB Notification: Performance of SimCode: time 3.7e-07/0.2554, allocations: 4 kB / 438.2 MB, free: 16 kB / 334.1 MB Notification: Performance of Templates: time 0.004706/0.2601, allocations: 0.7216 MB / 438.9 MB, free: 15.3 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Accelerate/Accelerate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Accelerate.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.366193947149441]