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.001352/0.001352, allocations: 109.7 kB / 16.62 MB, free: 6.949 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.00114/0.00114, allocations: 189.8 kB / 17.55 MB, free: 6.047 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.239/1.239, allocations: 222.9 MB / 241.2 MB, free: 13.74 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00102/0.00102, allocations: 44.03 kB / 300.2 MB, free: 5.879 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08191/0.08295, allocations: 49.45 MB / 349.7 MB, free: 4.426 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.006898/0.08987, allocations: 6.194 MB / 355.9 MB, free: 14.19 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003595/0.0935, allocations: 2.119 MB / 358 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005063/0.09403, allocations: 27.88 kB / 358 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007211/0.09476, allocations: 358.2 kB / 358.4 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000801/0.0956, allocations: 401.6 kB / 358.8 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000835/0.09644, allocations: 469.1 kB / 359.2 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001242/0.09769, allocations: 1.488 MB / 360.7 MB, free: 9.344 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006771/0.09838, allocations: 0.5474 MB / 361.3 MB, free: 8.77 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005388/0.09893, allocations: 0.5486 MB / 361.8 MB, free: 8.219 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005731/0.09951, allocations: 0.6612 MB / 362.5 MB, free: 7.555 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001461/0.09967, allocations: 128 kB / 362.6 MB, free: 7.43 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002368/0.09991, allocations: 168 kB / 362.8 MB, free: 7.266 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002255/0.1001, allocations: 306.9 kB / 363.1 MB, free: 6.965 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005232/0.1007, allocations: 0.645 MB / 363.7 MB, free: 6.316 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00123/0.1019, allocations: 1.62 MB / 365.3 MB, free: 4.691 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1019, allocations: 0 / 365.3 MB, free: 4.691 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1019, allocations: 4 kB / 365.3 MB, free: 4.688 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.369e-05/0.102, allocations: 0 / 365.3 MB, free: 4.688 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.002399/0.1044, allocations: 1.541 MB / 366.9 MB, free: 3.098 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.1044, allocations: 16.03 kB / 366.9 MB, free: 3.082 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001664/0.1046, allocations: 148.4 kB / 367 MB, free: 2.93 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001958/0.1048, allocations: 139.2 kB / 367.2 MB, free: 2.793 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009673/0.1058, allocations: 0.7509 MB / 367.9 MB, free: 2 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.43e-05/0.1058, allocations: 77.94 kB / 368 MB, free: 1.922 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001357/0.106, allocations: 99.91 kB / 368.1 MB, free: 1.824 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001474/0.1074, allocations: 0.9157 MB / 369 MB, free: 0.8945 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.927e-05/0.1075, allocations: 7.906 kB / 369 MB, free: 0.8867 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.531e-05/0.1076, allocations: 43.94 kB / 369.1 MB, free: 0.8438 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.808e-05/0.1076, allocations: 24 kB / 369.1 MB, free: 0.8203 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001176/0.1088, allocations: 0.6363 MB / 369.7 MB, free: 188 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1351/0.2439, allocations: 3.229 MB / 372.9 MB, free: 23.67 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001247/0.2452, allocations: 0.6117 MB / 373.6 MB, free: 23.44 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004711/0.2457, allocations: 297.5 kB / 373.8 MB, free: 23.32 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.881e-05/0.2457, allocations: 13.12 kB / 373.9 MB, free: 23.32 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007026/0.2465, allocations: 348.5 kB / 374.2 MB, free: 23.16 MB / 302.1 MB Notification: Performance of pre-optimization done (n=80): time 3.096e-06/0.2465, allocations: 0 / 374.2 MB, free: 23.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=100): time 0.004986/0.2515, allocations: 3.065 MB / 377.3 MB, free: 21.54 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.755e-05/0.2515, allocations: 67.53 kB / 377.3 MB, free: 21.47 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009026/0.2524, allocations: 0.9346 MB / 378.3 MB, free: 21.11 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.292e-05/0.2525, allocations: 41.55 kB / 378.3 MB, free: 21.07 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002542/0.2527, allocations: 0.5146 MB / 378.8 MB, free: 20.66 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001661/0.2529, allocations: 349.7 kB / 379.2 MB, free: 20.4 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001899/0.2531, allocations: 156.5 kB / 379.3 MB, free: 20.32 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.769e-05/0.2532, allocations: 342.1 kB / 379.6 MB, free: 20 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004521/0.2536, allocations: 270.2 kB / 379.9 MB, free: 19.9 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005056/0.2541, allocations: 427.1 kB / 380.3 MB, free: 19.64 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009425/0.2551, allocations: 0.7397 MB / 381.1 MB, free: 19.19 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.2551, allocations: 5.062 kB / 381.1 MB, free: 19.19 MB / 302.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001515/0.2566, allocations: 1.034 MB / 382.1 MB, free: 18.73 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.2566, allocations: 11.11 kB / 382.1 MB, free: 18.72 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/0.2567, allocations: 3.812 kB / 382.1 MB, free: 18.72 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003821/0.257, allocations: 153.1 kB / 382.3 MB, free: 18.67 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006842/0.2577, allocations: 207.3 kB / 382.5 MB, free: 18.65 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002509/0.2603, allocations: 3.988 MB / 386.5 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004091/0.2607, allocations: 29.2 kB / 386.5 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.923e-05/0.2607, allocations: 35.31 kB / 386.5 MB, free: 15.05 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.0003252/0.2611, allocations: 300.8 kB / 386.8 MB, free: 14.83 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/0.2612, allocations: 116.9 kB / 386.9 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001531/0.2627, allocations: 0.9423 MB / 387.9 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.104e-06/0.2627, allocations: 17.66 kB / 387.9 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.2628, allocations: 3.688 kB / 387.9 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/0.2628, allocations: 8.812 kB / 387.9 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003146/0.2659, allocations: 2.494 MB / 390.4 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/0.2659, allocations: 3.375 kB / 390.4 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006928/0.2666, allocations: 179.8 kB / 390.6 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003085/0.267, allocations: 122.8 kB / 390.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.9e-05/0.267, allocations: 29.2 kB / 390.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001977/0.269, allocations: 3.612 MB / 394.3 MB, free: 9.598 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.269, allocations: 7.438 kB / 394.3 MB, free: 9.598 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001698/0.2707, allocations: 1.42 MB / 395.8 MB, free: 8.754 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002166/0.2709, allocations: 246.3 kB / 396 MB, free: 8.531 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/0.2711, allocations: 24.25 kB / 396 MB, free: 8.516 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003816/0.2714, allocations: 24.5 kB / 396.1 MB, free: 8.504 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.2716, allocations: 77.83 kB / 396.1 MB, free: 8.461 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.731e-05/0.2716, allocations: 30 kB / 396.2 MB, free: 8.453 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005922/0.2722, allocations: 0.6698 MB / 396.8 MB, free: 8.098 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2722, allocations: 0 / 396.8 MB, free: 8.098 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007661/0.273, allocations: 242.1 kB / 397.1 MB, free: 8.066 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.002599/0.2756, allocations: 2.316 MB / 399.4 MB, free: 6.535 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001746/0.2773, allocations: 1.083 MB / 400.5 MB, free: 5.898 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.2774, allocations: 3.781 kB / 400.5 MB, free: 5.898 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007324/0.2781, allocations: 0.6974 MB / 401.2 MB, free: 5.445 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000798/0.2789, allocations: 185.6 kB / 401.3 MB, free: 5.34 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01018/0.2891, allocations: 9.691 MB / 411 MB, free: 11.22 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000592/0.2897, allocations: 1.1 MB / 412.1 MB, free: 10.09 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003603/0.2901, allocations: 123.6 kB / 412.3 MB, free: 9.965 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004872/0.2906, allocations: 443.3 kB / 412.7 MB, free: 9.535 MB / 318.1 MB Notification: Performance of SimCode: time 2.61e-07/0.2906, allocations: 0 / 412.7 MB, free: 9.535 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2669/0.5575, allocations: 20.54 MB / 433.2 MB, free: 5.227 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000384/0.558, allocations: 261.5 kB / 433.5 MB, free: 4.875 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.483/3.041, allocations: 4.062 kB / 433.5 MB, free: 4.871 MB / 334.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