Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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=12000,variableFilter="time|vehicle.s|vehicle.v|vehicle1.s|vehicle1.v|trailer.s|trailer.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle") translateModel(Modelica.Mechanics.Translational.Examples.Vehicle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=12000,variableFilter="time|vehicle.s|vehicle.v|vehicle1.s|vehicle1.v|trailer.s|trailer.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001273/0.001273, allocations: 112.1 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001344/0.001344, allocations: 206.8 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.378/1.378, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 63.89 kB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.206/0.2072, allocations: 50.54 MB / 409.9 MB, free: 1.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.006772/0.214, allocations: 6.225 MB / 416.2 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003251/0.2172, allocations: 2.294 MB / 418.5 MB, free: 9.199 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003671/0.2176, allocations: 31.88 kB / 418.5 MB, free: 9.168 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006748/0.2183, allocations: 421.4 kB / 418.9 MB, free: 8.754 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008386/0.2192, allocations: 496.6 kB / 419.4 MB, free: 8.266 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007867/0.22, allocations: 495.1 kB / 419.9 MB, free: 7.781 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001261/0.2212, allocations: 1.5 MB / 421.4 MB, free: 6.277 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006846/0.2219, allocations: 0.5474 MB / 421.9 MB, free: 5.703 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00058/0.2225, allocations: 0.5759 MB / 422.5 MB, free: 5.125 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006325/0.2232, allocations: 0.6417 MB / 423.1 MB, free: 4.48 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001658/0.2233, allocations: 132 kB / 423.3 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002786/0.2236, allocations: 176 kB / 423.4 MB, free: 4.18 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002376/0.2239, allocations: 310.8 kB / 423.7 MB, free: 3.875 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005158/0.2244, allocations: 0.6489 MB / 424.4 MB, free: 3.223 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00134/0.2257, allocations: 1.652 MB / 426 MB, free: 1.566 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.2258, allocations: 0 / 426 MB, free: 1.566 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2258, allocations: 4 kB / 426 MB, free: 1.562 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.374e-05/0.2258, allocations: 0 / 426 MB, free: 1.562 MB / 334.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.002467/0.2283, allocations: 1.566 MB / 427.6 MB, free: 15.94 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.2283, allocations: 8.031 kB / 427.6 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003807/0.2287, allocations: 151.1 kB / 427.8 MB, free: 15.78 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001128/0.2298, allocations: 0.7704 MB / 428.5 MB, free: 14.97 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.1e-05/0.2299, allocations: 78.12 kB / 428.6 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001367/0.23, allocations: 103.9 kB / 428.7 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001484/0.2315, allocations: 0.9195 MB / 429.6 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.049e-05/0.2316, allocations: 7.891 kB / 429.6 MB, free: 13.85 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.471e-05/0.2317, allocations: 44 kB / 429.7 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.922e-05/0.2317, allocations: 24 kB / 429.7 MB, free: 13.78 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001234/0.2329, allocations: 0.6324 MB / 430.3 MB, free: 13.15 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004343/0.2373, allocations: 3.189 MB / 433.5 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001295/0.2386, allocations: 0.6156 MB / 434.1 MB, free: 9.199 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005122/0.2391, allocations: 302.7 kB / 434.4 MB, free: 8.902 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.999e-05/0.2392, allocations: 16.62 kB / 434.5 MB, free: 8.887 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006136/0.2398, allocations: 348.3 kB / 434.8 MB, free: 8.539 MB / 350.1 MB Notification: Performance of pre-optimization done (n=80): time 2.825e-06/0.2398, allocations: 0 / 434.8 MB, free: 8.539 MB / 350.1 MB Notification: Performance of matching and sorting (n=100): time 0.005729/0.2456, allocations: 3.065 MB / 437.9 MB, free: 5.395 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.162e-05/0.2456, allocations: 64.41 kB / 437.9 MB, free: 5.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001048/0.2467, allocations: 0.943 MB / 438.9 MB, free: 4.371 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.166e-05/0.2467, allocations: 41.7 kB / 438.9 MB, free: 4.324 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000358/0.2471, allocations: 0.5196 MB / 439.4 MB, free: 3.797 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002257/0.2473, allocations: 346.9 kB / 439.8 MB, free: 3.453 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002095/0.2475, allocations: 162.6 kB / 439.9 MB, free: 3.289 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.2477, allocations: 345.9 kB / 440.3 MB, free: 2.945 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005162/0.2482, allocations: 269.9 kB / 440.5 MB, free: 2.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006241/0.2488, allocations: 433.3 kB / 440.9 MB, free: 2.203 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00119/0.25, allocations: 0.7405 MB / 441.7 MB, free: 1.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.25, allocations: 4 kB / 441.7 MB, free: 1.406 MB / 350.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001732/0.2518, allocations: 1.032 MB / 442.7 MB, free: 372 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.2518, allocations: 11.12 kB / 442.7 MB, free: 364 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.2518, allocations: 4 kB / 442.7 MB, free: 360 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004244/0.2522, allocations: 145.6 kB / 442.9 MB, free: 208 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007633/0.253, allocations: 208 kB / 443.1 MB, free: 0 / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003495/0.2565, allocations: 3.988 MB / 447.1 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000433/0.257, allocations: 27.98 kB / 447.1 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.808e-05/0.257, allocations: 36 kB / 447.1 MB, free: 11.67 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.0003967/0.2574, allocations: 314.6 kB / 447.4 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001282/0.2576, allocations: 102.7 kB / 447.5 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001766/0.2593, allocations: 0.9557 MB / 448.5 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/0.2594, allocations: 3.984 kB / 448.5 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.2594, allocations: 0 / 448.5 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002971/0.2597, allocations: 243.7 kB / 448.7 MB, free: 10.03 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/0.2598, allocations: 16 kB / 448.8 MB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003656/0.2602, allocations: 20 kB / 448.8 MB, free: 9.992 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/0.2603, allocations: 72.88 kB / 448.8 MB, free: 9.918 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002242/0.2625, allocations: 1.061 MB / 449.9 MB, free: 8.844 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002016/0.2646, allocations: 1.38 MB / 451.3 MB, free: 7.449 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005402/0.2651, allocations: 343.8 kB / 451.6 MB, free: 7.113 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007497/0.2659, allocations: 0.6669 MB / 452.3 MB, free: 6.449 MB / 366.1 MB Notification: Performance of Backend: time 5.21e-07/0.2659, allocations: 0 / 452.3 MB, free: 6.449 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002629/0.2685, allocations: 1.268 MB / 453.6 MB, free: 5.309 MB / 366.1 MB Notification: Performance of SimCode: time 0.003566/0.2721, allocations: 2.965 MB / 456.5 MB, free: 2.293 MB / 366.1 MB Notification: Performance of Templates: time 0.02066/0.2928, allocations: 12.26 MB / 468.8 MB, free: 6.113 MB / 382.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.pipe 2>&1)