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.001821/0.001821, allocations: 106.5 kB / 21.2 MB, free: 0.6406 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.002185/0.002185, allocations: 216.6 kB / 24.49 MB, free: 3.93 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.455/1.455, allocations: 230.6 MB / 258.3 MB, free: 7.785 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.001553/0.001553, allocations: 39.94 kB / 379 MB, free: 2.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2144/0.2159, allocations: 53.36 MB / 432.3 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.007925/0.2239, allocations: 5.526 MB / 437.9 MB, free: 1.141 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004394/0.2283, allocations: 2.24 MB / 440.1 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007423/0.229, allocations: 39.69 kB / 440.1 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00091/0.2299, allocations: 413.4 kB / 440.5 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001328/0.2312, allocations: 0.5085 MB / 441.1 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001039/0.2323, allocations: 499.1 kB / 441.5 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001599/0.2339, allocations: 1.496 MB / 443 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006118/0.2345, allocations: 380.1 kB / 443.4 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006688/0.2352, allocations: 0.5798 MB / 444 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007606/0.2359, allocations: 0.6651 MB / 444.7 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001753/0.2361, allocations: 128 kB / 444.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003076/0.2364, allocations: 180 kB / 445 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002844/0.2367, allocations: 314.7 kB / 445.3 MB, free: 9.699 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005024/0.2372, allocations: 0.5169 MB / 445.8 MB, free: 9.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001698/0.2389, allocations: 1.669 MB / 447.4 MB, free: 7.508 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.2389, allocations: 4 kB / 447.4 MB, free: 7.504 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2389, allocations: 0 / 447.4 MB, free: 7.504 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.371e-05/0.2389, allocations: 7.938 kB / 447.5 MB, free: 7.496 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.002816/0.2417, allocations: 1.521 MB / 449 MB, free: 5.938 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.2418, allocations: 12.02 kB / 449 MB, free: 5.926 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004161/0.2422, allocations: 156 kB / 449.1 MB, free: 5.773 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001276/0.2434, allocations: 0.6939 MB / 449.8 MB, free: 5.051 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.745e-05/0.2435, allocations: 86.06 kB / 449.9 MB, free: 4.969 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001721/0.2437, allocations: 108 kB / 450 MB, free: 4.863 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001728/0.2454, allocations: 0.9079 MB / 450.9 MB, free: 3.938 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.644e-05/0.2455, allocations: 11.95 kB / 450.9 MB, free: 3.926 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.728e-05/0.2455, allocations: 36 kB / 451 MB, free: 3.891 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.261e-05/0.2456, allocations: 24 kB / 451 MB, free: 3.867 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001374/0.2469, allocations: 0.6402 MB / 451.6 MB, free: 3.227 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004546/0.2515, allocations: 2.61 MB / 454.3 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001394/0.2529, allocations: 0.5781 MB / 454.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005444/0.2534, allocations: 274.6 kB / 455.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.679e-05/0.2535, allocations: 16.62 kB / 455.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006995/0.2542, allocations: 348.3 kB / 455.5 MB, free: 15.31 MB / 366.1 MB Notification: Performance of pre-optimization done (n=80): time 2.675e-06/0.2542, allocations: 7.938 kB / 455.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.006225/0.2604, allocations: 2.932 MB / 458.4 MB, free: 12.33 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.996e-05/0.2605, allocations: 68.39 kB / 458.5 MB, free: 12.25 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001077/0.2615, allocations: 0.8682 MB / 459.3 MB, free: 11.38 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.564e-05/0.2616, allocations: 45.7 kB / 459.4 MB, free: 11.33 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004501/0.262, allocations: 0.5398 MB / 459.9 MB, free: 10.78 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003038/0.2623, allocations: 360.9 kB / 460.3 MB, free: 10.43 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002488/0.2626, allocations: 158.7 kB / 460.4 MB, free: 10.27 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.2628, allocations: 345.9 kB / 460.8 MB, free: 9.922 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005745/0.2633, allocations: 269.9 kB / 461 MB, free: 9.656 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006991/0.264, allocations: 437.4 kB / 461.5 MB, free: 9.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001329/0.2654, allocations: 0.7522 MB / 462.2 MB, free: 8.379 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.2654, allocations: 4 kB / 462.2 MB, free: 8.375 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001946/0.2673, allocations: 1.029 MB / 463.2 MB, free: 7.332 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.2673, allocations: 10.81 kB / 463.2 MB, free: 7.324 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.2673, allocations: 4 kB / 463.3 MB, free: 7.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004593/0.2678, allocations: 134 kB / 463.4 MB, free: 7.184 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008544/0.2687, allocations: 211.7 kB / 463.6 MB, free: 6.977 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003893/0.2726, allocations: 3.699 MB / 467.3 MB, free: 3.082 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004409/0.273, allocations: 27.98 kB / 467.3 MB, free: 3.055 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.836e-05/0.2731, allocations: 36 kB / 467.3 MB, free: 3.02 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.0004322/0.2735, allocations: 307.8 kB / 467.7 MB, free: 2.711 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000146/0.2736, allocations: 107.4 kB / 467.8 MB, free: 2.605 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001958/0.2756, allocations: 0.9589 MB / 468.7 MB, free: 1.625 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.337e-05/0.2756, allocations: 7.922 kB / 468.7 MB, free: 1.617 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.2756, allocations: 48 / 468.7 MB, free: 1.617 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003322/0.2759, allocations: 163.2 kB / 468.9 MB, free: 1.457 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001157/0.2761, allocations: 24 kB / 468.9 MB, free: 1.434 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003743/0.2764, allocations: 23.98 kB / 468.9 MB, free: 1.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000142/0.2766, allocations: 76.84 kB / 469 MB, free: 1.336 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002496/0.2791, allocations: 1.061 MB / 470.1 MB, free: 272 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002301/0.2814, allocations: 1.408 MB / 471.5 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005927/0.282, allocations: 323.8 kB / 471.8 MB, free: 14.52 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007615/0.2827, allocations: 0.6201 MB / 472.4 MB, free: 13.91 MB / 382.1 MB Notification: Performance of Backend: time 3.81e-07/0.2827, allocations: 4 kB / 472.4 MB, free: 13.9 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003671/0.2864, allocations: 1.278 MB / 473.7 MB, free: 12.81 MB / 382.1 MB Notification: Performance of SimCode: time 0.004243/0.2906, allocations: 2.994 MB / 476.7 MB, free: 9.762 MB / 382.1 MB Notification: Performance of Templates: time 0.02462/0.3153, allocations: 14.32 MB / 491 MB, free: 11.61 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 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe 2>&1) [Timeout 480] Could not SIGINT process: 455398. Could not SIGINT process: 455399. Could not SIGINT process: 455402. Could not SIGINT process: 455102. [Calling os._exit(0), Time elapsed: 484.64062468900374] Failed to read output from testmodel.py, exit status != 0: ['time', 'vehicle.s', 'vehicle.v', 'vehicle1.s', 'vehicle1.v', 'trailer.s', 'trailer.v'] 0.32334227300452767 0.33769967700000003 0.095741698 Calling exit ...