Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle.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.0009176/0.0009176, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001299/0.002217, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007369/0.0007369, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009446/0.001681, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 0.9367/0.9367, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08078/1.017, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] 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.Vehicle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=6000,variableFilter="time|vehicle.s|vehicle.v|vehicle1.s|vehicle1.v|trailer.s|trailer.v",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle") translateModel(Modelica.Mechanics.Translational.Examples.Vehicle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=6000,variableFilter="time|vehicle.s|vehicle.v|vehicle1.s|vehicle1.v|trailer.s|trailer.v",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 244.5 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.566e-05/1.681e-05, allocations: 4.984 kB / 244.5 MB, free: 14.33 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.004891/0.004908, allocations: 6.022 MB / 250.5 MB, free: 8.266 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003218/0.008126, allocations: 2.363 MB / 252.9 MB, free: 5.895 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000453/0.008579, allocations: 39.69 kB / 252.9 MB, free: 5.855 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005403/0.00912, allocations: 465.1 kB / 253.4 MB, free: 5.398 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000783/0.009903, allocations: 0.5354 MB / 253.9 MB, free: 4.859 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000667/0.01057, allocations: 0.491 MB / 254.4 MB, free: 4.367 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00116/0.01173, allocations: 1.527 MB / 256 MB, free: 2.836 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004064/0.01214, allocations: 365 kB / 256.3 MB, free: 2.449 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008841/0.01302, allocations: 0.9383 MB / 257.3 MB, free: 1.512 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004672/0.01349, allocations: 0.5024 MB / 257.8 MB, free: 1.008 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001189/0.01361, allocations: 128 kB / 257.9 MB, free: 0.8828 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000211/0.01382, allocations: 183.9 kB / 258.1 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001515/0.01397, allocations: 239.2 kB / 258.3 MB, free: 480 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002561/0.01422, allocations: 351.2 kB / 258.6 MB, free: 128 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007135/0.01494, allocations: 0.9183 MB / 259.6 MB, free: 15.2 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.505e-05/0.01495, allocations: 0 / 259.6 MB, free: 15.2 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.01495, allocations: 0 / 259.6 MB, free: 15.2 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.298e-05/0.01498, allocations: 0 / 259.6 MB, free: 15.2 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.001586/0.01656, allocations: 1.745 MB / 261.3 MB, free: 13.43 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.698e-05/0.01659, allocations: 8.031 kB / 261.3 MB, free: 13.42 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000304/0.01689, allocations: 273.7 kB / 261.6 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006544/0.01755, allocations: 0.5675 MB / 262.1 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.44e-05/0.01759, allocations: 70.38 kB / 262.2 MB, free: 12.47 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.87e-05/0.01768, allocations: 108.3 kB / 262.3 MB, free: 12.37 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006343/0.01832, allocations: 0.6651 MB / 263 MB, free: 11.68 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.158e-05/0.01835, allocations: 11.94 kB / 263 MB, free: 11.67 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.914e-05/0.01839, allocations: 44 kB / 263 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.53e-05/0.0184, allocations: 24 kB / 263.1 MB, free: 11.6 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003247/0.01873, allocations: 268.6 kB / 263.3 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0022/0.02093, allocations: 1.953 MB / 265.3 MB, free: 9.32 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005119/0.02144, allocations: 420.3 kB / 265.7 MB, free: 8.898 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001373/0.02158, allocations: 134.7 kB / 265.8 MB, free: 8.766 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.567e-05/0.02161, allocations: 12.66 kB / 265.8 MB, free: 8.754 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002468/0.02186, allocations: 227.1 kB / 266 MB, free: 8.516 MB / 266.7 MB Notification: Performance of pre-optimization done (n=80): time 2.164e-06/0.02186, allocations: 0 / 266 MB, free: 8.516 MB / 266.7 MB Notification: Performance of matching and sorting (n=100): time 0.002379/0.02424, allocations: 1.949 MB / 268 MB, free: 6.531 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.981e-05/0.02427, allocations: 60.41 kB / 268.1 MB, free: 6.461 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004272/0.0247, allocations: 0.6849 MB / 268.7 MB, free: 5.766 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.447e-05/0.02473, allocations: 49.64 kB / 268.8 MB, free: 5.711 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000176/0.02491, allocations: 438.6 kB / 269.2 MB, free: 5.277 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001856/0.02509, allocations: 360.8 kB / 269.6 MB, free: 4.922 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001692/0.02526, allocations: 170.8 kB / 269.7 MB, free: 4.746 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.215e-05/0.02535, allocations: 349.8 kB / 270.1 MB, free: 4.398 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001167/0.02547, allocations: 97.39 kB / 270.2 MB, free: 4.305 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001942/0.02566, allocations: 293.7 kB / 270.5 MB, free: 3.945 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003705/0.02604, allocations: 0.4889 MB / 271 MB, free: 3.379 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.02604, allocations: 0 / 271 MB, free: 3.379 MB / 266.7 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.0005702/0.02661, allocations: 0.585 MB / 271.5 MB, free: 2.781 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.02662, allocations: 15.88 kB / 271.6 MB, free: 2.766 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.02663, allocations: 4.594 kB / 271.6 MB, free: 2.762 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002174/0.02685, allocations: 113.6 kB / 271.7 MB, free: 2.645 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004439/0.02729, allocations: 258.3 kB / 271.9 MB, free: 2.395 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001662/0.02896, allocations: 3.139 MB / 275.1 MB, free: 15.09 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002041/0.02916, allocations: 32 kB / 275.1 MB, free: 15.06 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.37e-05/0.02919, allocations: 31.98 kB / 275.1 MB, free: 15.03 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.timeTableTorqueInclination.nextTimeEvent,$whenCondition1,timeTableTorqueInclination.nextTimeEventScaled,$PRE.timeTableTorqueInclination.nextTimeEventScaled,timeTableTorqueInclination.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001671/0.02936, allocations: 172.3 kB / 275.3 MB, free: 14.85 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.757e-05/0.02944, allocations: 91.91 kB / 275.4 MB, free: 14.76 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005397/0.02998, allocations: 0.5315 MB / 275.9 MB, free: 14.21 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.02998, allocations: 8 kB / 275.9 MB, free: 14.2 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.02999, allocations: 4 kB / 275.9 MB, free: 14.2 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.679e-06/0.03, allocations: 7.969 kB / 275.9 MB, free: 14.19 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001386/0.03138, allocations: 1.384 MB / 277.3 MB, free: 12.73 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.03138, allocations: 0 / 277.3 MB, free: 12.73 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004013/0.03179, allocations: 218.8 kB / 277.5 MB, free: 12.52 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001405/0.03193, allocations: 107.3 kB / 277.6 MB, free: 12.41 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001714/0.0321, allocations: 93.94 kB / 277.7 MB, free: 12.31 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.935e-05/0.03213, allocations: 24 kB / 277.7 MB, free: 12.29 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001301/0.03343, allocations: 2.829 MB / 280.6 MB, free: 9.293 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.03343, allocations: 7.938 kB / 280.6 MB, free: 9.285 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006774/0.03411, allocations: 0.8546 MB / 281.4 MB, free: 8.367 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.98e-05/0.03417, allocations: 27.98 kB / 281.5 MB, free: 8.34 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/0.03434, allocations: 20 kB / 281.5 MB, free: 8.32 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.895e-05/0.03442, allocations: 84.73 kB / 281.6 MB, free: 8.238 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.878e-05/0.03444, allocations: 23.98 kB / 281.6 MB, free: 8.215 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002329/0.03468, allocations: 359.3 kB / 281.9 MB, free: 7.867 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.03468, allocations: 0 / 281.9 MB, free: 7.867 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004734/0.03515, allocations: 255.9 kB / 282.2 MB, free: 7.617 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 10 (vehicle.mass.s,vehicle.mass.v,vehicle.windSpeed.s,vehicle.windSpeed.v,vehicle1.mass.s,vehicle1.mass.v,vehicle1.windSpeed.s,vehicle1.windSpeed.v,trailer.windSpeed.s,trailer.windSpeed.v) * Number of discrete variables: 3 ($whenCondition1,timeTableTorqueInclination.nextTimeEvent,timeTableTorqueInclination.nextTimeEventScaled) * Number of discrete states: 2 (timeTableTorqueInclination.nextTimeEvent,timeTableTorqueInclination.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001114/0.03626, allocations: 0.5738 MB / 282.8 MB, free: 7.316 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006465/0.03691, allocations: 0.7393 MB / 283.5 MB, free: 6.551 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.016e-05/0.03693, allocations: 19.94 kB / 283.5 MB, free: 6.531 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003665/0.0373, allocations: 0.5419 MB / 284.1 MB, free: 5.965 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004757/0.03777, allocations: 270.1 kB / 284.3 MB, free: 5.707 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005591/0.04336, allocations: 2.086 MB / 286.4 MB, free: 3.539 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001522/0.04352, allocations: 225 kB / 286.6 MB, free: 3.297 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002332/0.04375, allocations: 115.4 kB / 286.7 MB, free: 3.18 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002735/0.04402, allocations: 221.3 kB / 287 MB, free: 2.961 MB / 282.7 MB Notification: Performance of SimCode: time 6.01e-07/0.04402, allocations: 0 / 287 MB, free: 2.961 MB / 282.7 MB Notification: Performance of Templates: time 0.1098/0.1539, allocations: 12.38 MB / 299.3 MB, free: 32.83 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Vehicle/Vehicle.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0643792962655425]