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.0009927/0.0009927, allocations: 113.2 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00116/0.00116, allocations: 206.7 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.348/1.348, allocations: 227.4 MB / 247.6 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 59.91 kB / 359.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2117/0.2129, allocations: 50.54 MB / 409.9 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.007257/0.2202, allocations: 6.229 MB / 416.2 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004175/0.2244, allocations: 2.293 MB / 418.5 MB, free: 8.977 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004795/0.2249, allocations: 27.88 kB / 418.5 MB, free: 8.949 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007462/0.2256, allocations: 425.3 kB / 418.9 MB, free: 8.531 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000907/0.2266, allocations: 0.5007 MB / 419.4 MB, free: 8.027 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008485/0.2274, allocations: 499.1 kB / 419.9 MB, free: 7.539 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00129/0.2287, allocations: 1.504 MB / 421.4 MB, free: 6.031 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007042/0.2294, allocations: 0.5435 MB / 421.9 MB, free: 5.461 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000594/0.23, allocations: 0.5681 MB / 422.5 MB, free: 4.891 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006486/0.2307, allocations: 0.6534 MB / 423.2 MB, free: 4.234 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001634/0.2309, allocations: 128 kB / 423.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002847/0.2312, allocations: 180 kB / 423.5 MB, free: 3.934 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002429/0.2314, allocations: 306.9 kB / 423.8 MB, free: 3.633 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005168/0.2319, allocations: 0.645 MB / 424.4 MB, free: 2.984 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001387/0.2333, allocations: 1.655 MB / 426.1 MB, free: 1.328 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.2334, allocations: 0 / 426.1 MB, free: 1.328 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2334, allocations: 0 / 426.1 MB, free: 1.328 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.341e-05/0.2334, allocations: 0 / 426.1 MB, free: 1.328 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.002538/0.2359, allocations: 1.57 MB / 427.6 MB, free: 15.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.236, allocations: 8.031 kB / 427.6 MB, free: 15.69 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003922/0.2364, allocations: 155.1 kB / 427.8 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001139/0.2375, allocations: 0.7626 MB / 428.5 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.04e-05/0.2376, allocations: 82.12 kB / 428.6 MB, free: 14.65 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000143/0.2377, allocations: 99.91 kB / 428.7 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001592/0.2393, allocations: 0.9117 MB / 429.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.044e-05/0.2394, allocations: 11.89 kB / 429.6 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.107e-05/0.2395, allocations: 40 kB / 429.7 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.108e-05/0.2395, allocations: 24 kB / 429.7 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001278/0.2408, allocations: 0.6402 MB / 430.3 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004411/0.2452, allocations: 3.197 MB / 433.5 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001327/0.2465, allocations: 0.6144 MB / 434.2 MB, free: 8.957 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005242/0.2471, allocations: 298.7 kB / 434.5 MB, free: 8.664 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.978e-05/0.2471, allocations: 20.62 kB / 434.5 MB, free: 8.645 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006518/0.2478, allocations: 352.2 kB / 434.8 MB, free: 8.293 MB / 350.1 MB Notification: Performance of pre-optimization done (n=80): time 2.615e-06/0.2478, allocations: 0 / 434.8 MB, free: 8.293 MB / 350.1 MB Notification: Performance of matching and sorting (n=100): time 0.005831/0.2537, allocations: 3.065 MB / 437.9 MB, free: 5.148 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/0.2537, allocations: 60.41 kB / 437.9 MB, free: 5.078 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001066/0.2548, allocations: 0.943 MB / 438.9 MB, free: 4.129 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.595e-05/0.2548, allocations: 45.7 kB / 438.9 MB, free: 4.078 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003766/0.2552, allocations: 0.5118 MB / 439.4 MB, free: 3.559 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000251/0.2555, allocations: 346.9 kB / 439.8 MB, free: 3.215 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002223/0.2557, allocations: 162.6 kB / 439.9 MB, free: 3.051 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.2558, allocations: 349.9 kB / 440.3 MB, free: 2.703 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005472/0.2564, allocations: 265.9 kB / 440.5 MB, free: 2.441 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006429/0.2571, allocations: 433.4 kB / 441 MB, free: 1.965 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00129/0.2584, allocations: 0.7405 MB / 441.7 MB, free: 1.172 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.2584, allocations: 0 / 441.7 MB, free: 1.172 MB / 350.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001794/0.2602, allocations: 1.036 MB / 442.7 MB, free: 128 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.2602, allocations: 4 kB / 442.7 MB, free: 124 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.2602, allocations: 4.406 kB / 442.7 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004435/0.2607, allocations: 153.3 kB / 442.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007921/0.2615, allocations: 203.8 kB / 443.1 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003653/0.2651, allocations: 3.988 MB / 447.1 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000433/0.2656, allocations: 31.98 kB / 447.1 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.012e-05/0.2656, allocations: 36 kB / 447.2 MB, free: 11.43 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.0004099/0.2661, allocations: 305.4 kB / 447.4 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001431/0.2662, allocations: 106.7 kB / 447.6 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001821/0.268, allocations: 0.9559 MB / 448.5 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.263e-05/0.2681, allocations: 3.984 kB / 448.5 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.2681, allocations: 4 kB / 448.5 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003089/0.2684, allocations: 247.7 kB / 448.8 MB, free: 9.781 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001208/0.2685, allocations: 20 kB / 448.8 MB, free: 9.762 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003805/0.2689, allocations: 20 kB / 448.8 MB, free: 9.742 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/0.269, allocations: 72.88 kB / 448.9 MB, free: 9.668 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002339/0.2714, allocations: 1.057 MB / 449.9 MB, free: 8.598 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002067/0.2735, allocations: 1.373 MB / 451.3 MB, free: 7.211 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005574/0.274, allocations: 347.8 kB / 451.6 MB, free: 6.871 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007361/0.2748, allocations: 0.6708 MB / 452.3 MB, free: 6.203 MB / 366.1 MB Notification: Performance of Backend: time 4.41e-07/0.2748, allocations: 0 / 452.3 MB, free: 6.203 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002662/0.2775, allocations: 1.264 MB / 453.6 MB, free: 5.07 MB / 366.1 MB Notification: Performance of SimCode: time 0.003548/0.281, allocations: 2.973 MB / 456.5 MB, free: 2.051 MB / 366.1 MB Notification: Performance of Templates: time 0.02018/0.3012, allocations: 12.26 MB / 468.8 MB, free: 5.867 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)