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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) 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=12000,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=12000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001733/0.001733, allocations: 105.8 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.002138/0.002138, allocations: 207.8 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.428/1.428, allocations: 227.7 MB / 247.7 MB, free: 10.34 MB / 206.1 MB 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.001949/0.001949, allocations: 63.42 kB / 307.9 MB, free: 0.5273 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1056, allocations: 50.54 MB / 358.4 MB, free: 13.97 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.008468/0.1141, allocations: 6.248 MB / 364.7 MB, free: 7.688 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004578/0.1187, allocations: 2.29 MB / 367 MB, free: 5.391 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000629/0.1194, allocations: 27.88 kB / 367 MB, free: 5.363 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008637/0.1202, allocations: 417.4 kB / 367.4 MB, free: 4.953 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001094/0.1213, allocations: 0.489 MB / 367.9 MB, free: 4.461 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009786/0.1223, allocations: 491.1 kB / 368.4 MB, free: 3.98 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001653/0.124, allocations: 1.492 MB / 369.9 MB, free: 2.48 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008087/0.1248, allocations: 0.5513 MB / 370.4 MB, free: 1.898 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007407/0.1256, allocations: 0.5603 MB / 371 MB, free: 1.336 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007586/0.1263, allocations: 0.6495 MB / 371.6 MB, free: 0.6836 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001791/0.1265, allocations: 131.9 kB / 371.7 MB, free: 0.5547 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003339/0.1269, allocations: 172 kB / 371.9 MB, free: 396 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002877/0.1272, allocations: 306.9 kB / 372.2 MB, free: 88 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1608/0.288, allocations: 0.642 MB / 372.9 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002114/0.2902, allocations: 1.63 MB / 374.5 MB, free: 10.97 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.2902, allocations: 0.5938 kB / 374.5 MB, free: 10.97 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2902, allocations: 0 / 374.5 MB, free: 10.97 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.681e-05/0.2902, allocations: 2.781 kB / 374.5 MB, free: 10.97 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.003062/0.2933, allocations: 1.555 MB / 376 MB, free: 10.15 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.2934, allocations: 9.938 kB / 376.1 MB, free: 10.15 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004485/0.2938, allocations: 149.6 kB / 376.2 MB, free: 10.08 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001122/0.295, allocations: 0.7515 MB / 377 MB, free: 9.734 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.156e-05/0.295, allocations: 75.53 kB / 377 MB, free: 9.73 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001558/0.2952, allocations: 109.6 kB / 377.1 MB, free: 9.727 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001596/0.2968, allocations: 0.9145 MB / 378.1 MB, free: 9.637 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.604e-05/0.2969, allocations: 13.03 kB / 378.1 MB, free: 9.633 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.003e-05/0.297, allocations: 38.5 kB / 378.1 MB, free: 9.633 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.928e-05/0.297, allocations: 26.16 kB / 378.1 MB, free: 9.633 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001199/0.2982, allocations: 0.6362 MB / 378.8 MB, free: 9.621 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004648/0.3028, allocations: 3.224 MB / 382 MB, free: 8.234 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001278/0.3041, allocations: 0.6194 MB / 382.6 MB, free: 8 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004827/0.3046, allocations: 299.7 kB / 382.9 MB, free: 7.879 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.626e-05/0.3047, allocations: 13.91 kB / 382.9 MB, free: 7.879 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006968/0.3054, allocations: 347.8 kB / 383.3 MB, free: 7.723 MB / 302.1 MB Notification: Performance of pre-optimization done (n=80): time 2.725e-06/0.3054, allocations: 1.219 kB / 383.3 MB, free: 7.723 MB / 302.1 MB Notification: Performance of matching and sorting (n=100): time 0.00585/0.3113, allocations: 3.062 MB / 386.3 MB, free: 6.105 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/0.3114, allocations: 63.3 kB / 386.4 MB, free: 6.043 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001294/0.3127, allocations: 0.9415 MB / 387.3 MB, free: 5.684 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.959e-05/0.3127, allocations: 43.92 kB / 387.4 MB, free: 5.641 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003163/0.3131, allocations: 0.5112 MB / 387.9 MB, free: 5.234 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002025/0.3133, allocations: 347.6 kB / 388.2 MB, free: 4.969 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002149/0.3135, allocations: 162.7 kB / 388.4 MB, free: 4.883 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.403e-05/0.3136, allocations: 350.5 kB / 388.7 MB, free: 4.555 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004949/0.3141, allocations: 269.5 kB / 389 MB, free: 4.453 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005571/0.3146, allocations: 428.5 kB / 389.4 MB, free: 4.191 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001091/0.3157, allocations: 0.7398 MB / 390.1 MB, free: 3.758 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.3158, allocations: 1.312 kB / 390.1 MB, free: 3.758 MB / 302.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001789/0.3176, allocations: 1.031 MB / 391.2 MB, free: 3.328 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/0.3176, allocations: 6.969 kB / 391.2 MB, free: 3.328 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.3176, allocations: 3.688 kB / 391.2 MB, free: 3.328 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004418/0.3181, allocations: 146.5 kB / 391.3 MB, free: 3.277 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007496/0.3188, allocations: 204.9 kB / 391.5 MB, free: 3.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002984/0.3218, allocations: 3.994 MB / 395.5 MB, free: 15.71 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006167/0.3224, allocations: 33.41 kB / 395.5 MB, free: 15.69 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.742e-05/0.3225, allocations: 35.06 kB / 395.6 MB, free: 15.68 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.0005714/0.3231, allocations: 301.5 kB / 395.9 MB, free: 15.47 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001756/0.3233, allocations: 113.3 kB / 396 MB, free: 15.41 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001846/0.3251, allocations: 0.9509 MB / 396.9 MB, free: 14.98 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/0.3252, allocations: 12.2 kB / 396.9 MB, free: 14.98 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.3252, allocations: 2.75 kB / 397 MB, free: 14.98 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.065e-05/0.3252, allocations: 5.156 kB / 397 MB, free: 14.98 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004349/0.3296, allocations: 2.508 MB / 399.5 MB, free: 13.54 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.326e-06/0.3296, allocations: 4.062 kB / 399.5 MB, free: 13.54 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007353/0.3303, allocations: 192.9 kB / 399.7 MB, free: 13.5 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003823/0.3307, allocations: 120.9 kB / 399.8 MB, free: 13.43 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.321e-05/0.3308, allocations: 35.52 kB / 399.8 MB, free: 13.41 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003573/0.3344, allocations: 3.594 MB / 403.4 MB, free: 10 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.3344, allocations: 7.688 kB / 403.4 MB, free: 10 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00251/0.3369, allocations: 1.429 MB / 404.8 MB, free: 9.133 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004775/0.3374, allocations: 240.3 kB / 405.1 MB, free: 8.914 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001332/0.3376, allocations: 24.56 kB / 405.1 MB, free: 8.898 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004264/0.338, allocations: 29.36 kB / 405.1 MB, free: 8.879 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001613/0.3382, allocations: 74.84 kB / 405.2 MB, free: 8.844 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.553e-05/0.3382, allocations: 33.02 kB / 405.2 MB, free: 8.832 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008944/0.3391, allocations: 0.664 MB / 405.9 MB, free: 8.488 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3391, allocations: 0 / 405.9 MB, free: 8.488 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001091/0.3402, allocations: 252.8 kB / 406.1 MB, free: 8.445 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.00159/0.3418, allocations: 463.2 kB / 406.6 MB, free: 8.23 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002587/0.3444, allocations: 1.083 MB / 407.7 MB, free: 7.492 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.732e-06/0.3445, allocations: 10.72 kB / 407.7 MB, free: 7.484 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001158/0.3456, allocations: 0.6867 MB / 408.4 MB, free: 6.793 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001132/0.3468, allocations: 179.5 kB / 408.6 MB, free: 6.621 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00466/0.3514, allocations: 2.639 MB / 411.2 MB, free: 3.934 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008693/0.3523, allocations: 1.108 MB / 412.3 MB, free: 2.801 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000291/0.3526, allocations: 83.41 kB / 412.4 MB, free: 2.719 MB / 318.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3527, allocations: 0 / 412.4 MB, free: 2.719 MB / 318.1 MB Notification: Performance of Templates: time 0.03137/0.384, allocations: 23.04 MB / 435.4 MB, free: 11.68 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Vehicle.makefile (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) diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Vehicle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches