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: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Vehicle,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_Vehicle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Vehicle,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_Vehicle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001059/0.001059, allocations: 117.7 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001175/0.001175, allocations: 204.6 kB / 18.73 MB, free: 4.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.298/1.298, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 63.89 kB / 358.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2418/0.243, allocations: 50.53 MB / 408.7 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.007385/0.2505, allocations: 6.244 MB / 415 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004537/0.2551, allocations: 2.294 MB / 417.3 MB, free: 8.984 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000996/0.2561, allocations: 27.88 kB / 417.3 MB, free: 8.957 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000898/0.2571, allocations: 421.4 kB / 417.7 MB, free: 8.543 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001246/0.2583, allocations: 496.7 kB / 418.2 MB, free: 8.055 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001062/0.2594, allocations: 491.2 kB / 418.7 MB, free: 7.574 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001612/0.261, allocations: 1.507 MB / 420.2 MB, free: 6.062 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007031/0.2617, allocations: 0.5513 MB / 420.7 MB, free: 5.484 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007078/0.2624, allocations: 0.5564 MB / 421.3 MB, free: 4.926 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006968/0.2631, allocations: 0.6495 MB / 422 MB, free: 4.273 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001505/0.2633, allocations: 132 kB / 422.1 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003112/0.2636, allocations: 172 kB / 422.2 MB, free: 3.977 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002992/0.2639, allocations: 310.9 kB / 422.6 MB, free: 3.672 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005804/0.2645, allocations: 0.645 MB / 423.2 MB, free: 3.023 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001493/0.266, allocations: 1.66 MB / 424.9 MB, free: 1.359 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.266, allocations: 0 / 424.9 MB, free: 1.359 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.266, allocations: 0 / 424.9 MB, free: 1.359 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.6e-05/0.2661, allocations: 0 / 424.9 MB, free: 1.359 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.002523/0.2686, allocations: 1.566 MB / 426.4 MB, free: 15.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.2686, allocations: 8.031 kB / 426.4 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001485/0.2688, allocations: 148.4 kB / 426.6 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003634/0.2692, allocations: 159.1 kB / 426.7 MB, free: 15.42 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001161/0.2703, allocations: 0.7587 MB / 427.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.126e-05/0.2704, allocations: 77.94 kB / 427.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001406/0.2705, allocations: 107.9 kB / 427.7 MB, free: 14.44 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001561/0.2721, allocations: 0.9234 MB / 428.6 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.112e-05/0.2722, allocations: 7.906 kB / 428.6 MB, free: 13.49 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.086e-05/0.2723, allocations: 40 kB / 428.6 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.852e-05/0.2723, allocations: 24 kB / 428.7 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001261/0.2735, allocations: 0.6363 MB / 429.3 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004534/0.2781, allocations: 3.205 MB / 432.5 MB, free: 9.453 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001271/0.2794, allocations: 0.6078 MB / 433.1 MB, free: 8.832 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004835/0.2799, allocations: 302.7 kB / 433.4 MB, free: 8.535 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.831e-05/0.2799, allocations: 12.64 kB / 433.4 MB, free: 8.523 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006686/0.2806, allocations: 348.2 kB / 433.8 MB, free: 8.176 MB / 350.1 MB Notification: Performance of pre-optimization done (n=80): time 3.126e-06/0.2806, allocations: 0 / 433.8 MB, free: 8.176 MB / 350.1 MB Notification: Performance of matching and sorting (n=100): time 0.005962/0.2866, allocations: 3.069 MB / 436.8 MB, free: 5.027 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.922e-05/0.2867, allocations: 60.41 kB / 436.9 MB, free: 4.957 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00119/0.2879, allocations: 0.9508 MB / 437.8 MB, free: 4 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.52e-05/0.2879, allocations: 45.7 kB / 437.9 MB, free: 3.949 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000438/0.2884, allocations: 0.5079 MB / 438.4 MB, free: 3.434 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002711/0.2887, allocations: 343 kB / 438.7 MB, free: 3.094 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002351/0.2889, allocations: 166.6 kB / 438.9 MB, free: 2.926 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.2891, allocations: 345.9 kB / 439.2 MB, free: 2.582 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005057/0.2896, allocations: 269.9 kB / 439.5 MB, free: 2.316 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006352/0.2902, allocations: 425.4 kB / 439.9 MB, free: 1.848 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00115/0.2914, allocations: 0.7444 MB / 440.7 MB, free: 1.051 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.2914, allocations: 0 / 440.7 MB, free: 1.051 MB / 350.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001883/0.2933, allocations: 1.04 MB / 441.7 MB, free: 0 / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.557e-05/0.2934, allocations: 8.047 kB / 441.7 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/0.2935, allocations: 4 kB / 441.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004738/0.2939, allocations: 145.6 kB / 441.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007376/0.2947, allocations: 212 kB / 442.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003964/0.2987, allocations: 3.976 MB / 446 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005322/0.2992, allocations: 32.11 kB / 446.1 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.124e-05/0.2993, allocations: 39.98 kB / 446.1 MB, free: 11.31 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.0004739/0.2998, allocations: 313.5 kB / 446.4 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/0.2999, allocations: 106.7 kB / 446.5 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001803/0.3017, allocations: 0.9556 MB / 447.5 MB, free: 9.922 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.006e-06/0.3017, allocations: 12 kB / 447.5 MB, free: 9.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3017, allocations: 0 / 447.5 MB, free: 9.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.3018, allocations: 7.984 kB / 447.5 MB, free: 9.902 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003758/0.3055, allocations: 2.47 MB / 450 MB, free: 7.309 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.127e-06/0.3056, allocations: 4 kB / 450 MB, free: 7.305 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007269/0.3063, allocations: 188.1 kB / 450.1 MB, free: 7.121 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003523/0.3067, allocations: 125.5 kB / 450.3 MB, free: 6.992 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.75e-05/0.3067, allocations: 31.98 kB / 450.3 MB, free: 6.961 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003141/0.3099, allocations: 3.593 MB / 453.9 MB, free: 3.086 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.3099, allocations: 8.125 kB / 453.9 MB, free: 3.078 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002288/0.3122, allocations: 1.427 MB / 455.3 MB, free: 1.594 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004479/0.3127, allocations: 251.6 kB / 455.6 MB, free: 1.328 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001385/0.3128, allocations: 24 kB / 455.6 MB, free: 1.305 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004139/0.3132, allocations: 20 kB / 455.6 MB, free: 1.285 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001371/0.3134, allocations: 76.92 kB / 455.7 MB, free: 1.207 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.663e-05/0.3134, allocations: 35.94 kB / 455.7 MB, free: 1.172 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008561/0.3143, allocations: 0.6747 MB / 456.4 MB, free: 0.5 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3143, allocations: 0 / 456.4 MB, free: 0.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009032/0.3152, allocations: 236 kB / 456.6 MB, free: 276 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.0034/0.3186, allocations: 2.314 MB / 458.9 MB, free: 14.03 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001843/0.3205, allocations: 1.05 MB / 460 MB, free: 12.96 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.3205, allocations: 4 kB / 460 MB, free: 12.95 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001057/0.3216, allocations: 0.691 MB / 460.7 MB, free: 12.24 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009957/0.3226, allocations: 183.5 kB / 460.9 MB, free: 12.06 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01292/0.3355, allocations: 8.712 MB / 469.6 MB, free: 3.055 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007642/0.3363, allocations: 1.1 MB / 470.7 MB, free: 1.93 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004019/0.3367, allocations: 123.6 kB / 470.8 MB, free: 1.805 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000546/0.3373, allocations: 451.3 kB / 471.2 MB, free: 1.363 MB / 382.1 MB Notification: Performance of SimCode: time 7.81e-07/0.3373, allocations: 0 / 471.2 MB, free: 1.363 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.781/4.119, allocations: 21.58 MB / 492.8 MB, free: 11.99 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.19/16.3, allocations: 3.938 kB / 492.8 MB, free: 11.99 MB / 414.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Translational_Examples_Vehicle_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Translational_Examples_Vehicle.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches