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.001329/0.001329, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001469/0.001469, allocations: 209 kB / 24.48 MB, free: 3.938 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.548/1.548, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.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 0.001632/0.001632, allocations: 51.92 kB / 379 MB, free: 2.445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2401/0.2417, allocations: 53.37 MB / 432.3 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.007549/0.2493, allocations: 5.526 MB / 437.9 MB, free: 1.137 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00424/0.2535, allocations: 2.236 MB / 440.1 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005872/0.2541, allocations: 39.69 kB / 440.1 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008634/0.2549, allocations: 421.4 kB / 440.5 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001122/0.2561, allocations: 0.5046 MB / 441 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009997/0.2571, allocations: 499.1 kB / 441.5 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001611/0.2587, allocations: 1.492 MB / 443 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006044/0.2593, allocations: 356.1 kB / 443.4 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007203/0.26, allocations: 0.5798 MB / 444 MB, free: 11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007622/0.2608, allocations: 0.5987 MB / 444.6 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001753/0.2609, allocations: 132 kB / 444.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003118/0.2613, allocations: 176 kB / 444.9 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002926/0.2615, allocations: 314.8 kB / 445.2 MB, free: 9.789 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005003/0.262, allocations: 0.5168 MB / 445.7 MB, free: 9.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001711/0.2638, allocations: 1.669 MB / 447.3 MB, free: 7.598 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.2638, allocations: 4 kB / 447.4 MB, free: 7.594 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2638, allocations: 0 / 447.4 MB, free: 7.594 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.826e-05/0.2638, allocations: 0 / 447.4 MB, free: 7.594 MB / 350.1 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.002684/0.2665, allocations: 1.528 MB / 448.9 MB, free: 6.027 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.2665, allocations: 12.03 kB / 448.9 MB, free: 6.016 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000393/0.2669, allocations: 156 kB / 449 MB, free: 5.863 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001281/0.2682, allocations: 0.6939 MB / 449.7 MB, free: 5.141 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.326e-05/0.2682, allocations: 82.06 kB / 449.8 MB, free: 5.062 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001652/0.2684, allocations: 104 kB / 449.9 MB, free: 4.961 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00161/0.27, allocations: 0.9118 MB / 450.8 MB, free: 4.031 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.511e-05/0.2701, allocations: 7.953 kB / 450.8 MB, free: 4.023 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.299e-05/0.2702, allocations: 44 kB / 450.9 MB, free: 3.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.26e-05/0.2702, allocations: 27.94 kB / 450.9 MB, free: 3.953 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001343/0.2715, allocations: 0.6402 MB / 451.6 MB, free: 3.312 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00481/0.2763, allocations: 2.602 MB / 454.2 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001339/0.2777, allocations: 0.582 MB / 454.7 MB, free: 36 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005899/0.2783, allocations: 270.7 kB / 455 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.372e-05/0.2783, allocations: 16.64 kB / 455 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006769/0.279, allocations: 348.3 kB / 455.4 MB, free: 15.4 MB / 366.1 MB Notification: Performance of pre-optimization done (n=80): time 3.266e-06/0.279, allocations: 3.938 kB / 455.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.006742/0.2857, allocations: 2.94 MB / 458.3 MB, free: 12.42 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.361e-05/0.2858, allocations: 60.41 kB / 458.4 MB, free: 12.35 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001151/0.2869, allocations: 0.8721 MB / 459.2 MB, free: 11.47 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.797e-05/0.287, allocations: 45.7 kB / 459.3 MB, free: 11.42 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004686/0.2875, allocations: 0.532 MB / 459.8 MB, free: 10.88 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003047/0.2878, allocations: 364.9 kB / 460.2 MB, free: 10.52 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000233/0.288, allocations: 158.7 kB / 460.3 MB, free: 10.36 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.2882, allocations: 345.9 kB / 460.7 MB, free: 10.02 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007091/0.2889, allocations: 269.9 kB / 460.9 MB, free: 9.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007173/0.2896, allocations: 441.4 kB / 461.4 MB, free: 9.27 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001325/0.2909, allocations: 0.7483 MB / 462.1 MB, free: 8.473 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.2909, allocations: 0 / 462.1 MB, free: 8.473 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001958/0.2929, allocations: 1.033 MB / 463.1 MB, free: 7.422 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.2929, allocations: 6.812 kB / 463.1 MB, free: 7.418 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.2929, allocations: 4 kB / 463.1 MB, free: 7.414 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004606/0.2934, allocations: 154 kB / 463.3 MB, free: 7.258 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007867/0.2942, allocations: 195.8 kB / 463.5 MB, free: 7.066 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003995/0.2982, allocations: 3.704 MB / 467.2 MB, free: 3.168 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005036/0.2987, allocations: 28 kB / 467.2 MB, free: 3.141 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.657e-05/0.2987, allocations: 35.98 kB / 467.3 MB, free: 3.105 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (108): * Single equations (assignments): 106 * 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.0005208/0.2993, allocations: 305.7 kB / 467.5 MB, free: 2.797 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001593/0.2994, allocations: 115.2 kB / 467.7 MB, free: 2.684 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002016/0.3014, allocations: 0.955 MB / 468.6 MB, free: 1.711 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/0.3014, allocations: 12 kB / 468.6 MB, free: 1.699 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.3014, allocations: 4 kB / 468.6 MB, free: 1.695 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.144e-05/0.3015, allocations: 7.969 kB / 468.6 MB, free: 1.688 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003898/0.3054, allocations: 2.147 MB / 470.8 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.326e-06/0.3054, allocations: 4 kB / 470.8 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008082/0.3062, allocations: 191.8 kB / 471 MB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003756/0.3065, allocations: 118 kB / 471.1 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.943e-05/0.3066, allocations: 27.98 kB / 471.1 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003369/0.31, allocations: 3.32 MB / 474.4 MB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/0.31, allocations: 7.938 kB / 474.4 MB, free: 11.58 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002546/0.3125, allocations: 1.443 MB / 475.9 MB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000384/0.3129, allocations: 167.2 kB / 476.1 MB, free: 9.914 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/0.313, allocations: 24 kB / 476.1 MB, free: 9.891 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004059/0.3134, allocations: 23.98 kB / 476.1 MB, free: 9.867 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001778/0.3136, allocations: 80.83 kB / 476.2 MB, free: 9.789 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.277e-05/0.3137, allocations: 35.98 kB / 476.2 MB, free: 9.754 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008067/0.3145, allocations: 0.6201 MB / 476.8 MB, free: 9.137 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3145, allocations: 0 / 476.8 MB, free: 9.137 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000925/0.3154, allocations: 244 kB / 477.1 MB, free: 8.898 MB / 382.1 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.001731/0.3171, allocations: 482.3 kB / 477.5 MB, free: 8.609 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002003/0.3191, allocations: 1.01 MB / 478.6 MB, free: 7.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.3191, allocations: 0 / 478.6 MB, free: 7.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001124/0.3203, allocations: 0.6757 MB / 479.2 MB, free: 6.871 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009648/0.3212, allocations: 182 kB / 479.4 MB, free: 6.699 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004387/0.3256, allocations: 2.661 MB / 482.1 MB, free: 3.961 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006/0.3262, allocations: 0.5189 MB / 482.6 MB, free: 3.406 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002503/0.3265, allocations: 79.41 kB / 482.7 MB, free: 3.328 MB / 382.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3265, allocations: 0 / 482.7 MB, free: 3.328 MB / 382.1 MB Notification: Performance of Templates: time 0.03003/0.3565, allocations: 23.52 MB / 0.4943 GB, free: 11.8 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Vehicle/Vehicle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle.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: 9.279758347198367]