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: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Vehicle,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Vehicle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Vehicle,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Vehicle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 112.7 kB / 17.06 MB, free: 5.969 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.001184/0.001184, allocations: 200 kB / 18.01 MB, free: 5.051 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.346/1.346, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 43.92 kB / 350.8 MB, free: 3.766 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.2453, allocations: 49.44 MB / 400.2 MB, free: 8.418 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.00766/0.253, allocations: 6.213 MB / 406.5 MB, free: 2.598 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003906/0.2569, allocations: 2.154 MB / 408.6 MB, free: 448 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006166/0.2576, allocations: 27.88 kB / 408.6 MB, free: 420 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000818/0.2584, allocations: 429.4 kB / 409.1 MB, free: 15.99 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000997/0.2594, allocations: 452.9 kB / 409.5 MB, free: 15.54 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001046/0.2605, allocations: 0.5055 MB / 410 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001614/0.2621, allocations: 1.5 MB / 411.5 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007477/0.2629, allocations: 0.5435 MB / 412 MB, free: 12.97 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007303/0.2636, allocations: 0.5487 MB / 412.6 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007371/0.2644, allocations: 0.6456 MB / 413.2 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001708/0.2645, allocations: 128 kB / 413.4 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003049/0.2648, allocations: 175.9 kB / 413.5 MB, free: 11.47 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002769/0.2651, allocations: 306.9 kB / 413.8 MB, free: 11.17 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000583/0.2657, allocations: 0.6411 MB / 414.5 MB, free: 10.53 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001789/0.2675, allocations: 1.645 MB / 416.1 MB, free: 8.879 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.2675, allocations: 0 / 416.1 MB, free: 8.879 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.2675, allocations: 0 / 416.1 MB, free: 8.879 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.6e-05/0.2676, allocations: 4 kB / 416.1 MB, free: 8.875 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.002618/0.2702, allocations: 1.584 MB / 417.7 MB, free: 7.23 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.2702, allocations: 11.97 kB / 417.7 MB, free: 7.219 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001742/0.2704, allocations: 152.4 kB / 417.9 MB, free: 7.062 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002235/0.2707, allocations: 152 kB / 418 MB, free: 6.914 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001213/0.2719, allocations: 0.7711 MB / 418.8 MB, free: 6.102 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.627e-05/0.272, allocations: 85.88 kB / 418.9 MB, free: 6.02 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001455/0.2721, allocations: 111.9 kB / 419 MB, free: 5.91 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001538/0.2737, allocations: 0.904 MB / 419.9 MB, free: 4.988 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.93e-05/0.2737, allocations: 3.953 kB / 419.9 MB, free: 4.984 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.866e-05/0.2738, allocations: 40 kB / 419.9 MB, free: 4.945 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.087e-05/0.2738, allocations: 24 kB / 420 MB, free: 4.922 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001245/0.2751, allocations: 0.6441 MB / 420.6 MB, free: 4.281 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004557/0.2796, allocations: 3.218 MB / 423.8 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001317/0.281, allocations: 0.6195 MB / 424.4 MB, free: 312 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005134/0.2815, allocations: 294.7 kB / 424.7 MB, free: 16 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.783e-05/0.2816, allocations: 12.66 kB / 424.7 MB, free: 4 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006682/0.2822, allocations: 344.4 kB / 425.1 MB, free: 15.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=80): time 2.545e-06/0.2822, allocations: 0 / 425.1 MB, free: 15.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=100): time 0.005785/0.288, allocations: 3.091 MB / 428.2 MB, free: 12.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.493e-05/0.2881, allocations: 60.41 kB / 428.2 MB, free: 12.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001089/0.2892, allocations: 0.9351 MB / 429.2 MB, free: 11.47 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.576e-05/0.2893, allocations: 49.69 kB / 429.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004131/0.2897, allocations: 0.5164 MB / 429.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002641/0.2899, allocations: 360.9 kB / 430.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002355/0.2902, allocations: 166.6 kB / 430.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.2903, allocations: 349.9 kB / 430.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005232/0.2909, allocations: 269.9 kB / 430.8 MB, free: 9.754 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006356/0.2915, allocations: 425.5 kB / 431.3 MB, free: 9.285 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001217/0.2927, allocations: 0.7443 MB / 432 MB, free: 8.488 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.2928, allocations: 0 / 432 MB, free: 8.488 MB / 350.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001792/0.2946, allocations: 1.033 MB / 433 MB, free: 7.445 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.2946, allocations: 8 kB / 433 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.2946, allocations: 4.406 kB / 433 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004247/0.295, allocations: 149.6 kB / 433.2 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007421/0.2958, allocations: 207.7 kB / 433.4 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00386/0.2997, allocations: 3.994 MB / 437.4 MB, free: 2.809 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004483/0.3001, allocations: 31.98 kB / 437.4 MB, free: 2.777 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.156e-05/0.3002, allocations: 32 kB / 437.5 MB, free: 2.746 MB / 350.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.000428/0.3006, allocations: 309.4 kB / 437.8 MB, free: 2.434 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001327/0.3008, allocations: 107.3 kB / 437.9 MB, free: 2.328 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001755/0.3025, allocations: 0.9556 MB / 438.8 MB, free: 1.363 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/0.3025, allocations: 8 kB / 438.8 MB, free: 1.355 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.3026, allocations: 8.125 kB / 438.8 MB, free: 1.348 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.309e-05/0.3026, allocations: 15.91 kB / 438.8 MB, free: 1.332 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003744/0.3063, allocations: 2.471 MB / 441.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.669e-06/0.3063, allocations: 7.984 kB / 441.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007351/0.3071, allocations: 183.7 kB / 441.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003478/0.3074, allocations: 118 kB / 441.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-05/0.3075, allocations: 24 kB / 441.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003258/0.3108, allocations: 3.604 MB / 445.2 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.3108, allocations: 4 kB / 445.2 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002337/0.3131, allocations: 1.439 MB / 446.7 MB, free: 9.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003281/0.3135, allocations: 248.2 kB / 446.9 MB, free: 8.758 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001075/0.3136, allocations: 24.47 kB / 447 MB, free: 8.734 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003833/0.314, allocations: 27.98 kB / 447 MB, free: 8.707 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001352/0.3141, allocations: 76.84 kB / 447.1 MB, free: 8.629 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.759e-05/0.3142, allocations: 35.92 kB / 447.1 MB, free: 8.594 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007873/0.315, allocations: 0.663 MB / 447.8 MB, free: 7.934 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.803e-06/0.315, allocations: 4.031 kB / 447.8 MB, free: 7.93 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008457/0.3158, allocations: 247.9 kB / 448 MB, free: 7.688 MB / 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.003932/0.3198, allocations: 2.306 MB / 450.3 MB, free: 5.477 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001874/0.3217, allocations: 1.044 MB / 451.4 MB, free: 4.406 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.3217, allocations: 0.875 kB / 451.4 MB, free: 4.406 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001026/0.3227, allocations: 0.6941 MB / 452 MB, free: 3.688 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009832/0.3237, allocations: 195.9 kB / 452.2 MB, free: 3.504 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01227/0.336, allocations: 8.745 MB / 461 MB, free: 10.46 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008021/0.3368, allocations: 1.104 MB / 462.1 MB, free: 9.332 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004162/0.3373, allocations: 119.6 kB / 462.2 MB, free: 9.211 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005607/0.3378, allocations: 447.3 kB / 462.6 MB, free: 8.773 MB / 382.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3378, allocations: 0 / 462.6 MB, free: 8.773 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05516/0.393, allocations: 21.18 MB / 483.8 MB, free: 3.816 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.65, allocations: 4.062 kB / 483.8 MB, free: 3.812 MB / 398.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Vehicle_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Vehicle.fmu > 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Vehicle/Vehicle.csv","/var/lib/jenkins1/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