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.001788/0.001788, allocations: 105.6 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001975/0.001975, allocations: 208.1 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.461/1.461, allocations: 227.4 MB / 247.5 MB, free: 10.58 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001864/0.001864, allocations: 59.95 kB / 307.6 MB, free: 0.6328 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1119, allocations: 50.54 MB / 358.2 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.00862/0.1206, allocations: 6.245 MB / 364.4 MB, free: 7.809 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00488/0.1255, allocations: 2.279 MB / 366.7 MB, free: 5.523 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001032/0.1266, allocations: 39.81 kB / 366.7 MB, free: 5.484 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009335/0.1276, allocations: 417.4 kB / 367.2 MB, free: 5.074 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00164/0.1292, allocations: 496.7 kB / 367.6 MB, free: 4.586 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001229/0.1305, allocations: 495.1 kB / 368.1 MB, free: 4.102 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002239/0.1327, allocations: 1.484 MB / 369.6 MB, free: 2.609 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009267/0.1337, allocations: 0.5552 MB / 370.2 MB, free: 2.023 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000986/0.1347, allocations: 0.5564 MB / 370.7 MB, free: 1.465 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008299/0.1355, allocations: 0.6495 MB / 371.4 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001976/0.1357, allocations: 128 kB / 371.5 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003854/0.1361, allocations: 176 kB / 371.7 MB, free: 0.5156 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002971/0.1364, allocations: 306.9 kB / 372 MB, free: 220 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1707/0.3071, allocations: 0.646 MB / 372.6 MB, free: 11.1 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002132/0.3093, allocations: 1.623 MB / 374.2 MB, free: 11.03 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.483e-06/0.3093, allocations: 1.938 kB / 374.2 MB, free: 11.03 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3093, allocations: 0 / 374.2 MB, free: 11.03 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.47e-05/0.3093, allocations: 4.906 kB / 374.2 MB, free: 11.03 MB / 302.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.002737/0.3121, allocations: 1.562 MB / 375.8 MB, free: 10.21 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.3121, allocations: 8.906 kB / 375.8 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004055/0.3125, allocations: 149.2 kB / 376 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001062/0.3136, allocations: 0.7551 MB / 376.7 MB, free: 9.793 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.539e-05/0.3137, allocations: 76.88 kB / 376.8 MB, free: 9.789 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000162/0.3139, allocations: 107.1 kB / 376.9 MB, free: 9.785 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001545/0.3154, allocations: 0.9089 MB / 377.8 MB, free: 9.699 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.274e-05/0.3155, allocations: 14.53 kB / 377.8 MB, free: 9.695 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-05/0.3156, allocations: 37.75 kB / 377.8 MB, free: 9.695 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.552e-05/0.3156, allocations: 24.84 kB / 377.9 MB, free: 9.695 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001225/0.3168, allocations: 0.6396 MB / 378.5 MB, free: 9.684 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004558/0.3214, allocations: 3.231 MB / 381.7 MB, free: 8.328 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001278/0.3227, allocations: 0.6153 MB / 382.4 MB, free: 8.098 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004704/0.3232, allocations: 300 kB / 382.7 MB, free: 7.977 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.192e-05/0.3232, allocations: 19.47 kB / 382.7 MB, free: 7.973 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007139/0.324, allocations: 336.9 kB / 383 MB, free: 7.824 MB / 302.1 MB Notification: Performance of pre-optimization done (n=80): time 3.015e-06/0.324, allocations: 0 / 383 MB, free: 7.824 MB / 302.1 MB Notification: Performance of matching and sorting (n=100): time 0.005891/0.3299, allocations: 3.068 MB / 386.1 MB, free: 6.203 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/0.3299, allocations: 62.06 kB / 386.1 MB, free: 6.141 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001374/0.3313, allocations: 0.9442 MB / 387.1 MB, free: 5.777 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.753e-05/0.3314, allocations: 41.2 kB / 387.1 MB, free: 5.734 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004123/0.3318, allocations: 0.5153 MB / 387.6 MB, free: 5.328 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002308/0.3321, allocations: 347.7 kB / 388 MB, free: 5.062 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002682/0.3323, allocations: 160.8 kB / 388.1 MB, free: 4.977 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.963e-05/0.3324, allocations: 347 kB / 388.5 MB, free: 4.652 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005058/0.3329, allocations: 272.6 kB / 388.7 MB, free: 4.551 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006066/0.3335, allocations: 428.1 kB / 389.1 MB, free: 4.285 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001189/0.3347, allocations: 0.7374 MB / 389.9 MB, free: 3.855 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.3348, allocations: 0 / 389.9 MB, free: 3.855 MB / 302.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002018/0.3368, allocations: 1.03 MB / 390.9 MB, free: 3.426 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/0.3368, allocations: 5.938 kB / 390.9 MB, free: 3.426 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.3368, allocations: 5.156 kB / 390.9 MB, free: 3.426 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004608/0.3373, allocations: 148.2 kB / 391.1 MB, free: 3.375 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007387/0.338, allocations: 209.2 kB / 391.3 MB, free: 3.367 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003044/0.3411, allocations: 3.996 MB / 395.3 MB, free: 15.8 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006549/0.3418, allocations: 34.27 kB / 395.3 MB, free: 15.79 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.438e-05/0.3418, allocations: 37.19 kB / 395.3 MB, free: 15.78 MB / 318.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.0006073/0.3425, allocations: 303.5 kB / 395.6 MB, free: 15.57 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001638/0.3426, allocations: 109.1 kB / 395.7 MB, free: 15.51 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001903/0.3445, allocations: 0.9476 MB / 396.7 MB, free: 15.09 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.958e-06/0.3446, allocations: 15.95 kB / 396.7 MB, free: 15.09 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.3446, allocations: 2.75 kB / 396.7 MB, free: 15.09 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.237e-06/0.3446, allocations: 3.047 kB / 396.7 MB, free: 15.09 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004165/0.3488, allocations: 2.504 MB / 399.2 MB, free: 13.64 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/0.3488, allocations: 4.531 kB / 399.2 MB, free: 13.64 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007211/0.3495, allocations: 189.4 kB / 399.4 MB, free: 13.61 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003509/0.3499, allocations: 124.2 kB / 399.5 MB, free: 13.54 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.677e-05/0.3499, allocations: 31.86 kB / 399.6 MB, free: 13.52 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003446/0.3534, allocations: 3.592 MB / 403.1 MB, free: 10.11 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.3534, allocations: 10.31 kB / 403.2 MB, free: 10.11 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00238/0.3558, allocations: 1.43 MB / 404.6 MB, free: 9.242 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004481/0.3563, allocations: 246.2 kB / 404.8 MB, free: 9.02 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001212/0.3564, allocations: 25.47 kB / 404.9 MB, free: 9.004 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000405/0.3568, allocations: 24.88 kB / 404.9 MB, free: 8.988 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000158/0.357, allocations: 82.55 kB / 405 MB, free: 8.945 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.613e-05/0.357, allocations: 34.39 kB / 405 MB, free: 8.934 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000903/0.3579, allocations: 0.6673 MB / 405.7 MB, free: 8.586 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.358, allocations: 0 / 405.7 MB, free: 8.586 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00105/0.359, allocations: 243.1 kB / 405.9 MB, free: 8.551 MB / 318.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 (88): * Single equations (assignments): 84 * 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.001592/0.3606, allocations: 438.2 kB / 406.3 MB, free: 8.332 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00249/0.3631, allocations: 1.097 MB / 407.4 MB, free: 7.621 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.3631, allocations: 0 / 407.4 MB, free: 7.621 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001165/0.3643, allocations: 0.6927 MB / 408.1 MB, free: 6.926 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001106/0.3654, allocations: 184.7 kB / 408.3 MB, free: 6.754 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004577/0.37, allocations: 2.646 MB / 410.9 MB, free: 4.059 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008799/0.3709, allocations: 1.096 MB / 412 MB, free: 2.938 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000328/0.3713, allocations: 87.41 kB / 412.1 MB, free: 2.852 MB / 318.1 MB Notification: Performance of SimCode: time 7.62e-07/0.3713, allocations: 0 / 412.1 MB, free: 2.852 MB / 318.1 MB Notification: Performance of Templates: time 0.03425/0.4055, allocations: 23.03 MB / 435.2 MB, free: 11.82 MB / 350.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) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches