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.001306/0.001306, allocations: 111.1 kB / 17.06 MB, free: 5.977 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.00135/0.00135, allocations: 198.9 kB / 18.01 MB, free: 5.059 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.259/1.259, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001025/0.001025, allocations: 47.92 kB / 350.8 MB, free: 3.742 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2506/0.2517, allocations: 49.44 MB / 400.2 MB, free: 8.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.007123/0.2588, allocations: 6.21 MB / 406.4 MB, free: 2.566 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005082/0.264, allocations: 2.154 MB / 408.6 MB, free: 416 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00127/0.2653, allocations: 35.75 kB / 408.6 MB, free: 380 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001267/0.2666, allocations: 417.4 kB / 409 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001802/0.2685, allocations: 452.9 kB / 409.5 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001462/0.27, allocations: 0.5147 MB / 410 MB, free: 15 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002144/0.2721, allocations: 1.492 MB / 411.5 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009521/0.2731, allocations: 0.5435 MB / 412 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009002/0.274, allocations: 0.5564 MB / 412.6 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009425/0.275, allocations: 0.6456 MB / 413.2 MB, free: 11.73 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002814/0.2753, allocations: 128 kB / 413.4 MB, free: 11.6 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004099/0.2757, allocations: 168 kB / 413.5 MB, free: 11.44 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003248/0.276, allocations: 314.8 kB / 413.8 MB, free: 11.13 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007875/0.2768, allocations: 0.6411 MB / 414.5 MB, free: 10.48 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001896/0.2787, allocations: 1.644 MB / 416.1 MB, free: 8.836 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.2787, allocations: 0 / 416.1 MB, free: 8.836 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.2787, allocations: 4 kB / 416.1 MB, free: 8.832 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.987e-05/0.2788, allocations: 0 / 416.1 MB, free: 8.832 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.003131/0.2819, allocations: 1.55 MB / 417.7 MB, free: 7.223 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.282, allocations: 12.03 kB / 417.7 MB, free: 7.211 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00022/0.2822, allocations: 148.4 kB / 417.8 MB, free: 7.059 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002733/0.2825, allocations: 147.2 kB / 418 MB, free: 6.914 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001278/0.2838, allocations: 0.7587 MB / 418.7 MB, free: 6.113 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.844e-05/0.2839, allocations: 77.94 kB / 418.8 MB, free: 6.039 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001762/0.2841, allocations: 119.8 kB / 418.9 MB, free: 5.922 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001571/0.2856, allocations: 0.9079 MB / 419.8 MB, free: 4.996 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.234e-05/0.2857, allocations: 7.906 kB / 419.8 MB, free: 4.988 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.314e-05/0.2858, allocations: 40 kB / 419.9 MB, free: 4.949 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.654e-05/0.2858, allocations: 20 kB / 419.9 MB, free: 4.93 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001225/0.287, allocations: 0.6402 MB / 420.5 MB, free: 4.293 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004758/0.2918, allocations: 3.205 MB / 423.7 MB, free: 0.957 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001469/0.2933, allocations: 0.6156 MB / 424.4 MB, free: 340 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000517/0.2938, allocations: 294.7 kB / 424.6 MB, free: 44 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.189e-05/0.2939, allocations: 20.58 kB / 424.7 MB, free: 24 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006551/0.2946, allocations: 340.4 kB / 425 MB, free: 15.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=80): time 3.357e-06/0.2946, allocations: 0 / 425 MB, free: 15.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=100): time 0.006016/0.3006, allocations: 3.067 MB / 428.1 MB, free: 12.53 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.011e-05/0.3007, allocations: 64.41 kB / 428.1 MB, free: 12.46 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001187/0.3019, allocations: 0.9313 MB / 429.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.286e-05/0.302, allocations: 45.69 kB / 429.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004022/0.3024, allocations: 0.5039 MB / 429.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002672/0.3026, allocations: 346.9 kB / 429.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002286/0.3029, allocations: 162.6 kB / 430.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.303, allocations: 349.9 kB / 430.4 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005235/0.3035, allocations: 273.8 kB / 430.7 MB, free: 9.828 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006224/0.3042, allocations: 433.3 kB / 431.1 MB, free: 9.352 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001121/0.3053, allocations: 0.7444 MB / 431.9 MB, free: 8.555 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.3053, allocations: 0 / 431.9 MB, free: 8.555 MB / 350.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001891/0.3072, allocations: 1.025 MB / 432.9 MB, free: 7.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.595e-05/0.3073, allocations: 8 kB / 432.9 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.3073, allocations: 4 kB / 432.9 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004437/0.3077, allocations: 146 kB / 433.1 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000739/0.3085, allocations: 207.7 kB / 433.3 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003419/0.3119, allocations: 3.99 MB / 437.3 MB, free: 2.891 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005912/0.3125, allocations: 32.11 kB / 437.3 MB, free: 2.859 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.261e-05/0.3126, allocations: 44 kB / 437.3 MB, free: 2.816 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.000429/0.313, allocations: 309.4 kB / 437.6 MB, free: 2.504 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001299/0.3132, allocations: 102.7 kB / 437.7 MB, free: 2.402 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001671/0.3149, allocations: 0.9556 MB / 438.7 MB, free: 1.438 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.3149, allocations: 8 kB / 438.7 MB, free: 1.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.3149, allocations: 4 kB / 438.7 MB, free: 1.426 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.208e-05/0.3149, allocations: 7.969 kB / 438.7 MB, free: 1.418 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003568/0.3185, allocations: 2.47 MB / 441.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/0.3185, allocations: 8.359 kB / 441.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007275/0.3192, allocations: 183.8 kB / 441.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003416/0.3196, allocations: 121.6 kB / 441.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.509e-05/0.3197, allocations: 24 kB / 441.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002758/0.3224, allocations: 3.604 MB / 445.1 MB, free: 10.6 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/0.3224, allocations: 7.938 kB / 445.1 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002152/0.3246, allocations: 1.427 MB / 446.5 MB, free: 9.109 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000378/0.325, allocations: 239.7 kB / 446.8 MB, free: 8.855 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.3251, allocations: 20 kB / 446.8 MB, free: 8.836 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003903/0.3255, allocations: 27.98 kB / 446.8 MB, free: 8.809 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001424/0.3257, allocations: 76.94 kB / 446.9 MB, free: 8.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.497e-05/0.3257, allocations: 35.92 kB / 446.9 MB, free: 8.695 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007392/0.3265, allocations: 0.663 MB / 447.6 MB, free: 8.035 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.044e-06/0.3265, allocations: 0 / 447.6 MB, free: 8.035 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008906/0.3274, allocations: 243.9 kB / 447.8 MB, free: 7.797 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.003186/0.3306, allocations: 2.324 MB / 450.2 MB, free: 5.57 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001798/0.3324, allocations: 1.046 MB / 451.2 MB, free: 4.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.3324, allocations: 0 / 451.2 MB, free: 4.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000981/0.3334, allocations: 0.6949 MB / 451.9 MB, free: 3.781 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001005/0.3344, allocations: 185.6 kB / 452.1 MB, free: 3.605 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01207/0.3465, allocations: 8.7 MB / 460.8 MB, free: 10.61 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006786/0.3472, allocations: 1.1 MB / 461.9 MB, free: 9.484 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004619/0.3477, allocations: 119.6 kB / 462 MB, free: 9.363 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005768/0.3483, allocations: 447.3 kB / 462.4 MB, free: 8.926 MB / 382.1 MB Notification: Performance of SimCode: time 1.283e-06/0.3483, allocations: 0 / 462.4 MB, free: 8.926 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.279/2.627, allocations: 21.5 MB / 483.9 MB, free: 3.652 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.98/19.61, allocations: 10.64 kB / 483.9 MB, free: 3.645 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