Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Mechanics.Translational.Examples.Vehicle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 104.8 kB / 16.62 MB, free: 6.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 189.8 kB / 17.55 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.293/1.293, allocations: 222.9 MB / 241.2 MB, free: 15.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009637/0.0009638, allocations: 42.34 kB / 300.1 MB, free: 6.223 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08273/0.08371, allocations: 49.45 MB / 349.6 MB, free: 4.77 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.006706/0.09044, allocations: 6.209 MB / 355.8 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003111/0.09358, allocations: 2.107 MB / 357.9 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004041/0.094, allocations: 31.81 kB / 357.9 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006972/0.09472, allocations: 366.2 kB / 358.3 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008066/0.09554, allocations: 401.7 kB / 358.7 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008727/0.09643, allocations: 453.4 kB / 359.1 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00131/0.09775, allocations: 1.492 MB / 360.6 MB, free: 9.684 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006801/0.09844, allocations: 0.5474 MB / 361.1 MB, free: 9.109 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005631/0.09901, allocations: 0.5525 MB / 361.7 MB, free: 8.555 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006101/0.09963, allocations: 0.6495 MB / 362.3 MB, free: 7.902 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001448/0.09978, allocations: 128 kB / 362.5 MB, free: 7.777 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002551/0.1, allocations: 172 kB / 362.6 MB, free: 7.609 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002278/0.1003, allocations: 310.9 kB / 362.9 MB, free: 7.305 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004876/0.1008, allocations: 0.645 MB / 363.6 MB, free: 6.656 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001254/0.102, allocations: 1.612 MB / 365.2 MB, free: 5.039 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1021, allocations: 7.938 kB / 365.2 MB, free: 5.031 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1021, allocations: 0 / 365.2 MB, free: 5.031 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.768e-05/0.1021, allocations: 0 / 365.2 MB, free: 5.031 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.002409/0.1045, allocations: 1.543 MB / 366.8 MB, free: 3.438 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.1045, allocations: 15.89 kB / 366.8 MB, free: 3.422 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001972/0.1047, allocations: 147.2 kB / 366.9 MB, free: 3.277 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009724/0.1057, allocations: 0.7392 MB / 367.7 MB, free: 2.496 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.329e-05/0.1058, allocations: 82.11 kB / 367.7 MB, free: 2.414 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001336/0.1059, allocations: 103.9 kB / 367.8 MB, free: 2.312 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001549/0.1075, allocations: 0.9079 MB / 368.7 MB, free: 1.391 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.112e-05/0.1075, allocations: 11.84 kB / 368.8 MB, free: 1.379 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.14e-05/0.1076, allocations: 43.98 kB / 368.8 MB, free: 1.336 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.052e-05/0.1077, allocations: 24 kB / 368.8 MB, free: 1.312 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001229/0.1089, allocations: 0.6325 MB / 369.5 MB, free: 0.6797 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1518/0.2608, allocations: 3.228 MB / 372.7 MB, free: 24.11 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001237/0.262, allocations: 0.6175 MB / 373.3 MB, free: 23.89 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00051/0.2625, allocations: 295.6 kB / 373.6 MB, free: 23.77 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.466e-05/0.2626, allocations: 18.91 kB / 373.6 MB, free: 23.77 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006648/0.2633, allocations: 353.5 kB / 374 MB, free: 23.6 MB / 302.1 MB Notification: Performance of pre-optimization done (n=80): time 2.956e-06/0.2633, allocations: 0 / 374 MB, free: 23.6 MB / 302.1 MB Notification: Performance of matching and sorting (n=100): time 0.005394/0.2687, allocations: 3.058 MB / 377 MB, free: 22 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.567e-05/0.2687, allocations: 67.75 kB / 377.1 MB, free: 21.93 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00106/0.2698, allocations: 0.9322 MB / 378 MB, free: 21.58 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.58e-05/0.2699, allocations: 41.98 kB / 378 MB, free: 21.54 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003198/0.2702, allocations: 0.5049 MB / 378.6 MB, free: 21.13 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002451/0.2704, allocations: 345.5 kB / 378.9 MB, free: 20.87 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002434/0.2707, allocations: 160.3 kB / 379 MB, free: 20.78 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.467e-05/0.2708, allocations: 344 kB / 379.4 MB, free: 20.46 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005089/0.2713, allocations: 270.5 kB / 379.6 MB, free: 20.36 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005436/0.2719, allocations: 433.6 kB / 380.1 MB, free: 20.1 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001055/0.2729, allocations: 0.7342 MB / 380.8 MB, free: 19.65 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.2729, allocations: 1.625 kB / 380.8 MB, free: 19.65 MB / 302.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001784/0.2747, allocations: 1.035 MB / 381.8 MB, free: 19.19 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.2748, allocations: 10.59 kB / 381.9 MB, free: 19.19 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.2748, allocations: 4.75 kB / 381.9 MB, free: 19.19 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004183/0.2752, allocations: 148.2 kB / 382 MB, free: 19.14 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007431/0.2759, allocations: 207.9 kB / 382.2 MB, free: 19.12 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00283/0.2788, allocations: 3.997 MB / 386.2 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004517/0.2793, allocations: 28.34 kB / 386.2 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.106e-05/0.2793, allocations: 36.64 kB / 386.3 MB, free: 15.52 MB / 302.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.0003731/0.2797, allocations: 302.5 kB / 386.6 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/0.2798, allocations: 106 kB / 386.7 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001734/0.2816, allocations: 0.9542 MB / 387.6 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/0.2816, allocations: 10.28 kB / 387.6 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.2816, allocations: 8 kB / 387.6 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/0.2816, allocations: 8.391 kB / 387.6 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003777/0.2854, allocations: 2.503 MB / 390.1 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/0.2854, allocations: 3.438 kB / 390.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000786/0.2862, allocations: 178.6 kB / 390.3 MB, free: 13.44 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003529/0.2866, allocations: 128 kB / 390.5 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.627e-05/0.2866, allocations: 24.3 kB / 390.5 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002253/0.2889, allocations: 3.601 MB / 394.1 MB, free: 10.06 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.2889, allocations: 3.094 kB / 394.1 MB, free: 10.06 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002062/0.291, allocations: 1.438 MB / 395.5 MB, free: 9.281 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002611/0.2913, allocations: 234.8 kB / 395.7 MB, free: 9.09 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001091/0.2914, allocations: 28.92 kB / 395.8 MB, free: 9.074 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004041/0.2918, allocations: 24.72 kB / 395.8 MB, free: 9.059 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001578/0.292, allocations: 84.95 kB / 395.9 MB, free: 9.035 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.963e-05/0.292, allocations: 29.48 kB / 395.9 MB, free: 9.031 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0008661/0.2929, allocations: 0.6625 MB / 396.6 MB, free: 8.734 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2929, allocations: 0 / 396.6 MB, free: 8.734 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001059/0.294, allocations: 249.9 kB / 396.8 MB, free: 8.695 MB / 302.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.000922/0.2949, allocations: 446.6 kB / 397.3 MB, free: 8.484 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002002/0.2969, allocations: 1.078 MB / 398.3 MB, free: 7.852 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.2969, allocations: 0 / 398.3 MB, free: 7.852 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008276/0.2978, allocations: 0.696 MB / 399 MB, free: 7.398 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008951/0.2987, allocations: 181.3 kB / 399.2 MB, free: 7.293 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003193/0.3019, allocations: 3.067 MB / 402.3 MB, free: 4.688 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000433/0.3023, allocations: 1.106 MB / 403.4 MB, free: 3.555 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003657/0.3027, allocations: 115.6 kB / 403.5 MB, free: 3.438 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001803/0.3029, allocations: 75.42 kB / 403.6 MB, free: 3.363 MB / 302.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3029, allocations: 3.938 kB / 403.6 MB, free: 3.359 MB / 302.1 MB Notification: Performance of Templates: time 0.01713/0.32, allocations: 10.88 MB / 414.4 MB, free: 8.574 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Vehicle/Vehicle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches