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.001524/0.001524, allocations: 117.2 kB / 17.79 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002016/0.002016, allocations: 200.6 kB / 18.73 MB, free: 4.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.399/1.399, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 59.91 kB / 358.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2605/0.2617, allocations: 50.54 MB / 409.2 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.007497/0.2693, allocations: 6.24 MB / 415.5 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004373/0.2737, allocations: 2.29 MB / 417.8 MB, free: 8.988 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007738/0.2744, allocations: 27.88 kB / 417.8 MB, free: 8.961 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007834/0.2753, allocations: 421.3 kB / 418.2 MB, free: 8.547 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000999/0.2763, allocations: 0.5046 MB / 418.7 MB, free: 8.039 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008624/0.2771, allocations: 491.1 kB / 419.2 MB, free: 7.559 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001476/0.2786, allocations: 1.5 MB / 420.7 MB, free: 6.055 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000681/0.2793, allocations: 0.5474 MB / 421.2 MB, free: 5.48 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006247/0.28, allocations: 0.572 MB / 421.8 MB, free: 4.906 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006355/0.2806, allocations: 0.6456 MB / 422.5 MB, free: 4.258 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001545/0.2808, allocations: 132 kB / 422.6 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002763/0.281, allocations: 176 kB / 422.8 MB, free: 3.957 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002343/0.2813, allocations: 314.8 kB / 423.1 MB, free: 3.648 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005701/0.2819, allocations: 0.6489 MB / 423.7 MB, free: 2.996 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001575/0.2834, allocations: 1.648 MB / 425.4 MB, free: 1.348 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.2835, allocations: 0 / 425.4 MB, free: 1.348 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2835, allocations: 4 kB / 425.4 MB, free: 1.344 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.391e-05/0.2835, allocations: 0 / 425.4 MB, free: 1.344 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.002377/0.2859, allocations: 1.57 MB / 426.9 MB, free: 15.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.064e-05/0.2859, allocations: 8.031 kB / 426.9 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003511/0.2863, allocations: 147.2 kB / 427.1 MB, free: 15.56 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001064/0.2873, allocations: 0.7703 MB / 427.9 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.379e-05/0.2874, allocations: 78.12 kB / 427.9 MB, free: 14.67 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000152/0.2876, allocations: 111.9 kB / 428 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001447/0.289, allocations: 0.9079 MB / 429 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.078e-05/0.2891, allocations: 11.91 kB / 429 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.415e-05/0.2892, allocations: 36 kB / 429 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.904e-05/0.2892, allocations: 24 kB / 429 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001202/0.2904, allocations: 0.6363 MB / 429.7 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004259/0.2947, allocations: 3.197 MB / 432.9 MB, free: 9.602 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001222/0.2959, allocations: 0.6117 MB / 433.5 MB, free: 8.977 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004769/0.2964, allocations: 306.6 kB / 433.8 MB, free: 8.676 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.089e-05/0.2965, allocations: 16.64 kB / 433.8 MB, free: 8.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005769/0.297, allocations: 344.3 kB / 434.1 MB, free: 8.316 MB / 350.1 MB Notification: Performance of pre-optimization done (n=80): time 2.314e-06/0.2971, allocations: 0 / 434.1 MB, free: 8.316 MB / 350.1 MB Notification: Performance of matching and sorting (n=100): time 0.00544/0.3025, allocations: 3.071 MB / 437.2 MB, free: 5.172 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/0.3026, allocations: 68.39 kB / 437.3 MB, free: 5.094 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/0.3036, allocations: 0.9508 MB / 438.2 MB, free: 4.137 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.372e-05/0.3036, allocations: 41.7 kB / 438.2 MB, free: 4.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003522/0.304, allocations: 0.5118 MB / 438.8 MB, free: 3.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002313/0.3042, allocations: 346.9 kB / 439.1 MB, free: 3.227 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002517/0.3045, allocations: 158.6 kB / 439.3 MB, free: 3.066 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.3046, allocations: 349.9 kB / 439.6 MB, free: 2.719 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005113/0.3051, allocations: 265.9 kB / 439.9 MB, free: 2.457 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006085/0.3058, allocations: 433.4 kB / 440.3 MB, free: 1.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001159/0.3069, allocations: 0.7444 MB / 441 MB, free: 1.184 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3069, allocations: 4 kB / 441 MB, free: 1.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001711/0.3087, allocations: 1.028 MB / 442.1 MB, free: 144 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.3087, allocations: 11.98 kB / 442.1 MB, free: 132 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.3087, allocations: 4 kB / 442.1 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004393/0.3091, allocations: 146 kB / 442.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007537/0.3099, allocations: 211.7 kB / 442.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003362/0.3133, allocations: 3.973 MB / 446.4 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004445/0.3137, allocations: 28 kB / 446.4 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-05/0.3138, allocations: 40.17 kB / 446.5 MB, free: 11.45 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.0003986/0.3142, allocations: 321.4 kB / 446.8 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001264/0.3143, allocations: 102.7 kB / 446.9 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001719/0.3161, allocations: 0.9557 MB / 447.8 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/0.3161, allocations: 12 kB / 447.8 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3161, allocations: 0 / 447.8 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.3161, allocations: 3.984 kB / 447.8 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003675/0.3198, allocations: 2.482 MB / 450.3 MB, free: 7.438 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/0.3198, allocations: 7.984 kB / 450.3 MB, free: 7.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007342/0.3206, allocations: 188.1 kB / 450.5 MB, free: 7.246 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003551/0.3209, allocations: 117.6 kB / 450.6 MB, free: 7.125 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.618e-05/0.321, allocations: 27.94 kB / 450.7 MB, free: 7.098 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002922/0.3239, allocations: 3.597 MB / 454.3 MB, free: 3.219 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/0.3239, allocations: 7.938 kB / 454.3 MB, free: 3.211 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002193/0.3261, allocations: 1.431 MB / 455.7 MB, free: 1.723 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003115/0.3265, allocations: 243.7 kB / 455.9 MB, free: 1.465 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.757e-05/0.3266, allocations: 23.94 kB / 456 MB, free: 1.441 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003869/0.327, allocations: 23.98 kB / 456 MB, free: 1.418 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001366/0.3271, allocations: 76.94 kB / 456.1 MB, free: 1.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.218e-05/0.3272, allocations: 31.98 kB / 456.1 MB, free: 1.309 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007519/0.3279, allocations: 0.6708 MB / 456.8 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3279, allocations: 0 / 456.8 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008385/0.3288, allocations: 244 kB / 457 MB, free: 412 kB / 366.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.0009778/0.3298, allocations: 441.3 kB / 457.4 MB, free: 104 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001803/0.3316, allocations: 1.05 MB / 458.5 MB, free: 15.03 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.3316, allocations: 0 / 458.5 MB, free: 15.03 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009994/0.3326, allocations: 0.6871 MB / 459.2 MB, free: 14.32 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008805/0.3335, allocations: 192.7 kB / 459.4 MB, free: 14.14 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003607/0.3371, allocations: 2.573 MB / 461.9 MB, free: 11.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006488/0.3378, allocations: 1.1 MB / 463 MB, free: 10.38 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003503/0.3381, allocations: 115.6 kB / 463.1 MB, free: 10.26 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002014/0.3384, allocations: 79.41 kB / 463.2 MB, free: 10.18 MB / 382.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3384, allocations: 0 / 463.2 MB, free: 10.18 MB / 382.1 MB Notification: Performance of Templates: time 0.0188/0.3572, allocations: 11.22 MB / 474.4 MB, free: 15.03 MB / 398.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/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_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches