Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Vehicle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001789/0.001789, allocations: 114.3 kB / 21.18 MB, free: 0.6211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001747/0.001747, allocations: 212.9 kB / 24.48 MB, free: 4.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.438/1.438, allocations: 230.4 MB / 258.1 MB, free: 8.16 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Mechanics.Translational.Examples.Vehicle") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 67.83 kB / 378.7 MB, free: 2.914 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2205/0.2224, allocations: 53.32 MB / 432.1 MB, free: 7.402 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.007606/0.23, allocations: 6.291 MB / 438.3 MB, free: 1.082 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003664/0.2337, allocations: 2.314 MB / 440.7 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003553/0.234, allocations: 35.81 kB / 440.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007377/0.2348, allocations: 417.4 kB / 441.1 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009423/0.2357, allocations: 0.5046 MB / 441.6 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000876/0.2366, allocations: 0.4951 MB / 442.1 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001495/0.2381, allocations: 1.492 MB / 443.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000577/0.2387, allocations: 380.7 kB / 444 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006407/0.2393, allocations: 0.5642 MB / 444.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007595/0.2401, allocations: 0.6689 MB / 445.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001629/0.2402, allocations: 128 kB / 445.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002737/0.2405, allocations: 180 kB / 445.5 MB, free: 9.879 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002719/0.2408, allocations: 310.9 kB / 445.8 MB, free: 9.574 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005663/0.2413, allocations: 0.645 MB / 446.4 MB, free: 8.926 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001625/0.243, allocations: 1.663 MB / 448.1 MB, free: 7.258 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.243, allocations: 0 / 448.1 MB, free: 7.258 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.243, allocations: 0 / 448.1 MB, free: 7.258 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.644e-05/0.243, allocations: 0 / 448.1 MB, free: 7.258 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.002709/0.2457, allocations: 1.6 MB / 449.7 MB, free: 5.602 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.2457, allocations: 8.031 kB / 449.7 MB, free: 5.594 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004085/0.2461, allocations: 167.9 kB / 449.9 MB, free: 5.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001215/0.2474, allocations: 0.7789 MB / 450.7 MB, free: 4.609 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.858e-05/0.2474, allocations: 78.12 kB / 450.7 MB, free: 4.535 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001468/0.2476, allocations: 99.95 kB / 450.8 MB, free: 4.438 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001574/0.2491, allocations: 0.9156 MB / 451.8 MB, free: 3.504 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.424e-05/0.2492, allocations: 11.94 kB / 451.8 MB, free: 3.492 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.337e-05/0.2493, allocations: 40 kB / 451.8 MB, free: 3.453 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.729e-05/0.2493, allocations: 24 kB / 451.8 MB, free: 3.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001301/0.2506, allocations: 0.6325 MB / 452.5 MB, free: 2.797 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004691/0.2553, allocations: 3.21 MB / 455.7 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00134/0.2566, allocations: 0.5842 MB / 456.3 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005158/0.2571, allocations: 270.7 kB / 456.5 MB, free: 14.6 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.817e-05/0.2572, allocations: 12.64 kB / 456.5 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006458/0.2578, allocations: 344.4 kB / 456.9 MB, free: 14.25 MB / 366.1 MB Notification: Performance of pre-optimization done (n=80): time 2.294e-06/0.2578, allocations: 0 / 456.9 MB, free: 14.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.006004/0.2638, allocations: 3.086 MB / 460 MB, free: 11.09 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/0.2639, allocations: 60.41 kB / 460 MB, free: 11.01 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001145/0.265, allocations: 0.947 MB / 461 MB, free: 10.06 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.722e-05/0.2651, allocations: 41.7 kB / 461 MB, free: 10.01 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004287/0.2655, allocations: 0.5282 MB / 461.5 MB, free: 9.477 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002816/0.2658, allocations: 364.9 kB / 461.9 MB, free: 9.117 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002339/0.266, allocations: 158.6 kB / 462 MB, free: 8.957 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001834/0.2662, allocations: 345.9 kB / 462.4 MB, free: 8.613 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005508/0.2668, allocations: 265.9 kB / 462.6 MB, free: 8.355 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006907/0.2675, allocations: 433.4 kB / 463.1 MB, free: 7.875 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00127/0.2687, allocations: 0.7366 MB / 463.8 MB, free: 7.09 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/0.2687, allocations: 8 kB / 463.8 MB, free: 7.082 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001893/0.2706, allocations: 1.033 MB / 464.8 MB, free: 6.035 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.2707, allocations: 8 kB / 464.8 MB, free: 6.027 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.2707, allocations: 7.938 kB / 464.9 MB, free: 6.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004535/0.2711, allocations: 142 kB / 465 MB, free: 5.875 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007841/0.2719, allocations: 207.7 kB / 465.2 MB, free: 5.672 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00398/0.2759, allocations: 3.984 MB / 469.2 MB, free: 1.414 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004258/0.2763, allocations: 27.98 kB / 469.2 MB, free: 1.387 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.214e-05/0.2764, allocations: 40.06 kB / 469.2 MB, free: 1.348 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.0004266/0.2768, allocations: 306.2 kB / 469.5 MB, free: 1.039 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001533/0.2769, allocations: 107.3 kB / 469.6 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001882/0.2788, allocations: 0.9596 MB / 470.6 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.284e-05/0.2788, allocations: 7.969 kB / 470.6 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.2788, allocations: 0 / 470.6 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003535/0.2792, allocations: 240.3 kB / 470.8 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001139/0.2793, allocations: 20 kB / 470.9 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003648/0.2797, allocations: 23.98 kB / 470.9 MB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001294/0.2798, allocations: 72.83 kB / 471 MB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002437/0.2822, allocations: 1.061 MB / 472 MB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002214/0.2845, allocations: 1.382 MB / 473.4 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005728/0.285, allocations: 323.8 kB / 473.7 MB, free: 12.8 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008486/0.2859, allocations: 0.6669 MB / 474.4 MB, free: 12.14 MB / 382.1 MB Notification: Performance of Backend: time 3.8e-07/0.2859, allocations: 0 / 474.4 MB, free: 12.14 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003381/0.2893, allocations: 1.256 MB / 475.6 MB, free: 11.04 MB / 382.1 MB Notification: Performance of SimCode: time 0.003984/0.2932, allocations: 3.021 MB / 478.7 MB, free: 7.969 MB / 382.1 MB Notification: Performance of Templates: time 0.02474/0.318, allocations: 12.81 MB / 491.5 MB, free: 11.23 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Vehicle.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Vehicle.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Vehicle.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Vehicle.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Vehicle.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Vehicle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Vehicle.pipe 2>&1) [Timeout 480] Could not SIGINT process: 3474306. Could not SIGINT process: 3474307. Could not SIGINT process: 3474310. Could not SIGINT process: 3474003. [Calling os._exit(0), Time elapsed: 484.58759799040854] Failed to read output from testmodel.py, exit status != 0: ['time', 'vehicle.s', 'vehicle.v', 'vehicle1.s', 'vehicle1.v', 'trailer.s', 'trailer.v'] 0.3258556998334825 0.34480879999999997 0.096572397 Calling exit ...