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.001255/0.001255, allocations: 108.3 kB / 16.51 MB, free: 6.707 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.001333/0.001333, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.278/1.278, allocations: 222.9 MB / 241.1 MB, free: 13.73 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001092/0.001092, allocations: 41.92 kB / 300.1 MB, free: 5.965 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08745/0.08856, allocations: 49.45 MB / 349.5 MB, free: 4.512 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.007223/0.09584, allocations: 6.194 MB / 355.7 MB, free: 14.28 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003872/0.09981, allocations: 2.119 MB / 357.8 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008082/0.1006, allocations: 27.88 kB / 357.8 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009177/0.1016, allocations: 362.2 kB / 358.2 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001218/0.1029, allocations: 401.6 kB / 358.6 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001284/0.1042, allocations: 466.1 kB / 359 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001844/0.106, allocations: 1.406 MB / 360.5 MB, free: 9.512 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008166/0.1069, allocations: 483.6 kB / 360.9 MB, free: 9.016 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000753/0.1076, allocations: 497.8 kB / 361.4 MB, free: 8.527 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008462/0.1085, allocations: 0.6105 MB / 362 MB, free: 7.914 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001682/0.1087, allocations: 72 kB / 362.1 MB, free: 7.844 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002922/0.109, allocations: 111.9 kB / 362.2 MB, free: 7.734 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002382/0.1092, allocations: 246.9 kB / 362.4 MB, free: 7.492 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007898/0.11, allocations: 0.5864 MB / 363 MB, free: 6.902 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001365/0.1114, allocations: 1.561 MB / 364.6 MB, free: 5.336 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1114, allocations: 0 / 364.6 MB, free: 5.336 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.41e-07/0.1114, allocations: 0 / 364.6 MB, free: 5.336 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.904e-05/0.1115, allocations: 4 kB / 364.6 MB, free: 5.332 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.003302/0.1148, allocations: 1.543 MB / 366.1 MB, free: 3.738 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.1148, allocations: 16.03 kB / 366.2 MB, free: 3.723 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002088/0.115, allocations: 152.4 kB / 366.3 MB, free: 3.566 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002508/0.1153, allocations: 139.2 kB / 366.4 MB, free: 3.43 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001217/0.1165, allocations: 0.747 MB / 367.2 MB, free: 2.641 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.699e-05/0.1166, allocations: 77.94 kB / 367.3 MB, free: 2.562 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000143/0.1167, allocations: 103.8 kB / 367.4 MB, free: 2.461 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001743/0.1185, allocations: 0.9118 MB / 368.3 MB, free: 1.535 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.282e-05/0.1186, allocations: 15.89 kB / 368.3 MB, free: 1.52 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.489e-05/0.1186, allocations: 40 kB / 368.3 MB, free: 1.48 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.877e-05/0.1187, allocations: 24 kB / 368.4 MB, free: 1.457 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001271/0.12, allocations: 0.6363 MB / 369 MB, free: 0.8203 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1348/0.2548, allocations: 3.228 MB / 372.2 MB, free: 23.84 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001331/0.2562, allocations: 0.6101 MB / 372.8 MB, free: 23.61 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005439/0.2567, allocations: 299.3 kB / 373.1 MB, free: 23.49 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.943e-05/0.2569, allocations: 18.3 kB / 373.1 MB, free: 23.49 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006908/0.2576, allocations: 348.3 kB / 373.5 MB, free: 23.33 MB / 302.1 MB Notification: Performance of pre-optimization done (n=80): time 3.346e-06/0.2576, allocations: 0 / 373.5 MB, free: 23.33 MB / 302.1 MB Notification: Performance of matching and sorting (n=100): time 0.006233/0.2638, allocations: 3.064 MB / 376.5 MB, free: 21.74 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.223e-05/0.2639, allocations: 67 kB / 376.6 MB, free: 21.67 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001239/0.2651, allocations: 0.9378 MB / 377.5 MB, free: 21.32 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.713e-05/0.2652, allocations: 42.14 kB / 377.6 MB, free: 21.27 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003717/0.2656, allocations: 0.5066 MB / 378.1 MB, free: 20.87 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001854/0.2658, allocations: 348.8 kB / 378.4 MB, free: 20.61 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002279/0.266, allocations: 157.7 kB / 378.6 MB, free: 20.52 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.819e-05/0.2661, allocations: 343.6 kB / 378.9 MB, free: 20.2 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006291/0.2667, allocations: 270.8 kB / 379.2 MB, free: 20.1 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006159/0.2674, allocations: 427.3 kB / 379.6 MB, free: 19.84 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001062/0.2684, allocations: 0.7439 MB / 380.3 MB, free: 19.39 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.2684, allocations: 6.5 kB / 380.4 MB, free: 19.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001849/0.2703, allocations: 1.031 MB / 381.4 MB, free: 18.93 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.2703, allocations: 6.75 kB / 381.4 MB, free: 18.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.2703, allocations: 3.375 kB / 381.4 MB, free: 18.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004188/0.2708, allocations: 149.3 kB / 381.5 MB, free: 18.88 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007463/0.2715, allocations: 211.5 kB / 381.7 MB, free: 18.86 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0029/0.2744, allocations: 3.608 MB / 385.4 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006464/0.2751, allocations: 27.7 kB / 385.4 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.712e-05/0.2752, allocations: 37.56 kB / 385.4 MB, free: 15.61 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.0004302/0.2756, allocations: 307.3 kB / 385.7 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000127/0.2757, allocations: 108.6 kB / 385.8 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001815/0.2776, allocations: 0.9499 MB / 386.8 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/0.2776, allocations: 11.3 kB / 386.8 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.2776, allocations: 2.688 kB / 386.8 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/0.2776, allocations: 4.781 kB / 386.8 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003773/0.2814, allocations: 2.502 MB / 389.3 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/0.2814, allocations: 2.25 kB / 389.3 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008448/0.2823, allocations: 189.5 kB / 389.5 MB, free: 13.53 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003552/0.2826, allocations: 116 kB / 389.6 MB, free: 13.49 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.434e-05/0.2827, allocations: 32.92 kB / 389.6 MB, free: 13.47 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002299/0.285, allocations: 3.29 MB / 392.9 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.285, allocations: 7.859 kB / 392.9 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002073/0.2871, allocations: 1.427 MB / 394.4 MB, free: 9.672 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002804/0.2874, allocations: 241.8 kB / 394.6 MB, free: 9.477 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001135/0.2875, allocations: 24.88 kB / 394.6 MB, free: 9.461 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005165/0.288, allocations: 22.83 kB / 394.6 MB, free: 9.449 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/0.2882, allocations: 81.84 kB / 394.7 MB, free: 9.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-05/0.2882, allocations: 31.98 kB / 394.7 MB, free: 9.422 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007005/0.2889, allocations: 0.6643 MB / 395.4 MB, free: 9.164 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2889, allocations: 0 / 395.4 MB, free: 9.164 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001017/0.29, allocations: 243.6 kB / 395.6 MB, free: 9.129 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.00315/0.2931, allocations: 2.319 MB / 398 MB, free: 7.652 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001699/0.2948, allocations: 1.035 MB / 399 MB, free: 7.039 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.2949, allocations: 0 / 399 MB, free: 7.039 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008382/0.2957, allocations: 0.6939 MB / 399.7 MB, free: 6.582 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001063/0.2968, allocations: 176.5 kB / 399.9 MB, free: 6.48 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01187/0.3087, allocations: 9.708 MB / 409.6 MB, free: 12.6 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000838/0.3095, allocations: 1.1 MB / 410.7 MB, free: 11.46 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004784/0.31, allocations: 119.6 kB / 410.8 MB, free: 11.34 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005938/0.3106, allocations: 451.3 kB / 411.2 MB, free: 10.91 MB / 318.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3106, allocations: 0 / 411.2 MB, free: 10.91 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1879/0.4986, allocations: 20.05 MB / 431.3 MB, free: 7.078 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002666/0.4989, allocations: 258.5 kB / 431.5 MB, free: 6.727 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.574/3.073, allocations: 0 / 431.5 MB, free: 6.727 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