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.001551/0.001551, allocations: 111 kB / 21.18 MB, free: 0.668 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.001728/0.001728, allocations: 209 kB / 24.48 MB, free: 3.969 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.536/1.536, allocations: 230.6 MB / 258.2 MB, free: 7.801 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.002468/0.002468, allocations: 43.92 kB / 379 MB, free: 2.488 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2349/0.2374, allocations: 53.37 MB / 432.3 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.007454/0.2448, allocations: 5.524 MB / 437.9 MB, free: 1.195 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003986/0.2488, allocations: 2.24 MB / 440.1 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004654/0.2493, allocations: 35.75 kB / 440.1 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007786/0.2501, allocations: 421.3 kB / 440.5 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001049/0.2511, allocations: 0.5124 MB / 441.1 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009272/0.252, allocations: 495.2 kB / 441.5 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001573/0.2536, allocations: 1.5 MB / 443 MB, free: 12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005991/0.2542, allocations: 380.1 kB / 443.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006621/0.2549, allocations: 0.5721 MB / 444 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007424/0.2556, allocations: 0.669 MB / 444.6 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001818/0.2558, allocations: 135.9 kB / 444.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003021/0.2561, allocations: 180 kB / 445 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002804/0.2564, allocations: 306.9 kB / 445.3 MB, free: 9.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004918/0.2569, allocations: 0.513 MB / 445.8 MB, free: 9.234 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001703/0.2586, allocations: 1.673 MB / 447.4 MB, free: 7.559 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.2586, allocations: 7.938 kB / 447.4 MB, free: 7.551 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2586, allocations: 0 / 447.4 MB, free: 7.551 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.596e-05/0.2586, allocations: 0 / 447.4 MB, free: 7.551 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.002765/0.2614, allocations: 1.532 MB / 449 MB, free: 5.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.2614, allocations: 8.031 kB / 449 MB, free: 5.973 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004043/0.2618, allocations: 156 kB / 449.1 MB, free: 5.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001254/0.2631, allocations: 0.6939 MB / 449.8 MB, free: 5.098 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.931e-05/0.2631, allocations: 78.12 kB / 449.9 MB, free: 5.023 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001618/0.2633, allocations: 108 kB / 450 MB, free: 4.918 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001675/0.265, allocations: 0.9118 MB / 450.9 MB, free: 3.988 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.631e-05/0.265, allocations: 15.89 kB / 450.9 MB, free: 3.973 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.739e-05/0.2651, allocations: 36 kB / 451 MB, free: 3.938 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.026e-05/0.2651, allocations: 24 kB / 451 MB, free: 3.914 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001297/0.2664, allocations: 0.6364 MB / 451.6 MB, free: 3.277 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004433/0.2708, allocations: 2.606 MB / 454.2 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001362/0.2722, allocations: 0.578 MB / 454.8 MB, free: 0 / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005366/0.2727, allocations: 274.8 kB / 455.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.565e-05/0.2728, allocations: 12.64 kB / 455.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006853/0.2735, allocations: 344.3 kB / 455.4 MB, free: 15.37 MB / 366.1 MB Notification: Performance of pre-optimization done (n=80): time 2.395e-06/0.2735, allocations: 0 / 455.4 MB, free: 15.37 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.006192/0.2797, allocations: 2.944 MB / 458.4 MB, free: 12.38 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.862e-05/0.2797, allocations: 64.34 kB / 458.4 MB, free: 12.31 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001074/0.2808, allocations: 0.876 MB / 459.3 MB, free: 11.43 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.891e-05/0.2809, allocations: 45.7 kB / 459.4 MB, free: 11.38 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004438/0.2813, allocations: 0.5359 MB / 459.9 MB, free: 10.83 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002982/0.2816, allocations: 364.9 kB / 460.3 MB, free: 10.47 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002449/0.2818, allocations: 154.7 kB / 460.4 MB, free: 10.32 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.282, allocations: 345.9 kB / 460.7 MB, free: 9.973 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005636/0.2826, allocations: 269.9 kB / 461 MB, free: 9.707 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006905/0.2832, allocations: 433.4 kB / 461.4 MB, free: 9.234 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00132/0.2846, allocations: 0.7598 MB / 462.2 MB, free: 8.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.2846, allocations: 0 / 462.2 MB, free: 8.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00197/0.2865, allocations: 1.033 MB / 463.2 MB, free: 7.383 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.2866, allocations: 10.81 kB / 463.2 MB, free: 7.375 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.2866, allocations: 7.984 kB / 463.2 MB, free: 7.367 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004721/0.287, allocations: 138 kB / 463.4 MB, free: 7.227 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008705/0.2879, allocations: 207.7 kB / 463.6 MB, free: 7.023 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003968/0.2919, allocations: 3.696 MB / 467.3 MB, free: 3.133 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005281/0.2924, allocations: 27.98 kB / 467.3 MB, free: 3.105 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.027e-05/0.2925, allocations: 32 kB / 467.3 MB, free: 3.074 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.0004831/0.293, allocations: 307.6 kB / 467.6 MB, free: 2.766 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001533/0.2931, allocations: 115.2 kB / 467.8 MB, free: 2.652 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001978/0.2951, allocations: 0.9551 MB / 468.7 MB, free: 1.676 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/0.2951, allocations: 12 kB / 468.7 MB, free: 1.664 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.2951, allocations: 0 / 468.7 MB, free: 1.664 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.182e-05/0.2951, allocations: 3.984 kB / 468.7 MB, free: 1.66 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003962/0.2991, allocations: 2.159 MB / 470.9 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/0.2991, allocations: 4 kB / 470.9 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008706/0.3, allocations: 183.8 kB / 471.1 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003907/0.3004, allocations: 118 kB / 471.2 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.209e-05/0.3004, allocations: 39.86 kB / 471.2 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003308/0.3037, allocations: 3.324 MB / 474.5 MB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/0.3037, allocations: 4 kB / 474.5 MB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00252/0.3063, allocations: 1.447 MB / 476 MB, free: 10.03 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003558/0.3066, allocations: 167.3 kB / 476.2 MB, free: 9.867 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001141/0.3067, allocations: 20 kB / 476.2 MB, free: 9.848 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004594/0.3072, allocations: 27.98 kB / 476.2 MB, free: 9.82 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001504/0.3073, allocations: 80.83 kB / 476.3 MB, free: 9.742 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.7e-05/0.3074, allocations: 35.98 kB / 476.3 MB, free: 9.707 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007873/0.3082, allocations: 0.6201 MB / 476.9 MB, free: 9.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3082, allocations: 0 / 476.9 MB, free: 9.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009275/0.3091, allocations: 240 kB / 477.2 MB, free: 8.855 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.001712/0.3108, allocations: 481.5 kB / 477.6 MB, free: 8.566 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001978/0.3128, allocations: 1.014 MB / 478.7 MB, free: 7.527 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.3128, allocations: 0 / 478.7 MB, free: 7.527 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001143/0.314, allocations: 0.6792 MB / 479.3 MB, free: 6.82 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009737/0.3149, allocations: 171.4 kB / 479.5 MB, free: 6.656 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004228/0.3192, allocations: 2.632 MB / 482.1 MB, free: 3.957 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005905/0.3197, allocations: 0.5111 MB / 482.6 MB, free: 3.41 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004232/0.3202, allocations: 111.2 kB / 482.8 MB, free: 3.297 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001992/0.3204, allocations: 71.42 kB / 482.8 MB, free: 3.227 MB / 382.1 MB Notification: Performance of SimCode: time 8.41e-07/0.3204, allocations: 0 / 482.8 MB, free: 3.227 MB / 382.1 MB Notification: Performance of Templates: time 0.02357/0.3439, allocations: 12.61 MB / 495.4 MB, free: 6.754 MB / 398.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 -s gbode -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: 4.903184106005938]