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.001505/0.001505, allocations: 121.5 kB / 17.78 MB, free: 5.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001572/0.001572, allocations: 199.9 kB / 18.73 MB, free: 4.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.376/1.376, allocations: 227.4 MB / 247 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001762/0.001762, allocations: 63.88 kB / 358.3 MB, free: 13.37 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2471/0.2488, allocations: 50.55 MB / 408.8 MB, free: 1.465 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.007797/0.2567, allocations: 6.24 MB / 415.1 MB, free: 11.19 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00429/0.261, allocations: 2.287 MB / 417.3 MB, free: 8.895 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007306/0.2618, allocations: 31.81 kB / 417.4 MB, free: 8.863 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008404/0.2626, allocations: 425.4 kB / 417.8 MB, free: 8.445 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001141/0.2638, allocations: 496.7 kB / 418.3 MB, free: 7.957 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001011/0.2648, allocations: 491.1 kB / 418.8 MB, free: 7.477 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001649/0.2665, allocations: 1.503 MB / 420.3 MB, free: 5.969 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000742/0.2672, allocations: 0.5513 MB / 420.8 MB, free: 5.395 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007165/0.268, allocations: 0.5487 MB / 421.4 MB, free: 4.844 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007467/0.2687, allocations: 0.6495 MB / 422 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001668/0.2689, allocations: 128 kB / 422.1 MB, free: 4.066 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003334/0.2692, allocations: 184 kB / 422.3 MB, free: 3.887 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002686/0.2695, allocations: 310.9 kB / 422.6 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005893/0.2701, allocations: 0.645 MB / 423.3 MB, free: 2.934 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0017/0.2718, allocations: 1.656 MB / 424.9 MB, free: 1.273 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2718, allocations: 0 / 424.9 MB, free: 1.273 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2719, allocations: 0 / 424.9 MB, free: 1.273 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.27e-05/0.2719, allocations: 0 / 424.9 MB, free: 1.273 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.002643/0.2745, allocations: 1.612 MB / 426.5 MB, free: 15.6 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.2746, allocations: 8.031 kB / 426.5 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001662/0.2747, allocations: 152.4 kB / 426.7 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003953/0.2751, allocations: 160 kB / 426.8 MB, free: 15.28 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001172/0.2763, allocations: 0.7751 MB / 427.6 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.741e-05/0.2764, allocations: 77.94 kB / 427.7 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001418/0.2766, allocations: 104 kB / 427.8 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00157/0.2781, allocations: 0.9079 MB / 428.7 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.917e-05/0.2782, allocations: 19.88 kB / 428.7 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.82e-05/0.2783, allocations: 36 kB / 428.8 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.026e-05/0.2783, allocations: 27.94 kB / 428.8 MB, free: 13.28 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001256/0.2796, allocations: 0.6364 MB / 429.4 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004602/0.2842, allocations: 3.21 MB / 432.6 MB, free: 9.301 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001337/0.2855, allocations: 0.6195 MB / 433.3 MB, free: 8.668 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000524/0.2861, allocations: 298.7 kB / 433.5 MB, free: 8.375 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.467e-05/0.2861, allocations: 16.64 kB / 433.6 MB, free: 8.359 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006504/0.2868, allocations: 344.4 kB / 433.9 MB, free: 8.016 MB / 350.1 MB Notification: Performance of pre-optimization done (n=80): time 2.585e-06/0.2868, allocations: 0 / 433.9 MB, free: 8.016 MB / 350.1 MB Notification: Performance of matching and sorting (n=100): time 0.006031/0.2928, allocations: 3.09 MB / 437 MB, free: 4.852 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.908e-05/0.2929, allocations: 68.34 kB / 437.1 MB, free: 4.773 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001242/0.2942, allocations: 0.9508 MB / 438 MB, free: 3.816 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.132e-05/0.2943, allocations: 41.7 kB / 438 MB, free: 3.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004616/0.2947, allocations: 0.5166 MB / 438.6 MB, free: 3.246 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002885/0.295, allocations: 368.9 kB / 438.9 MB, free: 2.883 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002366/0.2953, allocations: 158.6 kB / 439.1 MB, free: 2.723 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.2954, allocations: 345.9 kB / 439.4 MB, free: 2.379 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005398/0.296, allocations: 269.9 kB / 439.7 MB, free: 2.113 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006422/0.2966, allocations: 429.4 kB / 440.1 MB, free: 1.641 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001273/0.2979, allocations: 0.7444 MB / 440.8 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.2979, allocations: 0 / 440.8 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001951/0.2999, allocations: 1.045 MB / 441.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.2999, allocations: 4 kB / 441.9 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.2999, allocations: 4 kB / 441.9 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004431/0.3004, allocations: 146 kB / 442 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007304/0.3011, allocations: 203.7 kB / 442.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003895/0.305, allocations: 3.985 MB / 446.2 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005949/0.3056, allocations: 36.05 kB / 446.3 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.435e-05/0.3057, allocations: 32 kB / 446.3 MB, free: 11.1 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.0004933/0.3062, allocations: 301.6 kB / 446.6 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001535/0.3064, allocations: 111.3 kB / 446.7 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001823/0.3082, allocations: 0.9596 MB / 447.7 MB, free: 9.719 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.3082, allocations: 8 kB / 447.7 MB, free: 9.711 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.3082, allocations: 4 kB / 447.7 MB, free: 9.707 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/0.3083, allocations: 7.969 kB / 447.7 MB, free: 9.699 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003969/0.3122, allocations: 2.486 MB / 450.2 MB, free: 7.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.3123, allocations: 4.031 kB / 450.2 MB, free: 7.086 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007581/0.313, allocations: 183.8 kB / 450.3 MB, free: 6.906 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003764/0.3134, allocations: 121.6 kB / 450.5 MB, free: 6.781 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.896e-05/0.3135, allocations: 23.98 kB / 450.5 MB, free: 6.758 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003316/0.3168, allocations: 3.613 MB / 454.1 MB, free: 2.863 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.3168, allocations: 0 / 454.1 MB, free: 2.863 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002383/0.3192, allocations: 1.435 MB / 455.5 MB, free: 1.371 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003704/0.3196, allocations: 252.2 kB / 455.8 MB, free: 1.105 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001078/0.3197, allocations: 20 kB / 455.8 MB, free: 1.086 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003811/0.3201, allocations: 23.98 kB / 455.8 MB, free: 1.062 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001508/0.3203, allocations: 77 kB / 455.9 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.645e-05/0.3203, allocations: 39.86 kB / 455.9 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008379/0.3212, allocations: 0.6708 MB / 456.6 MB, free: 284 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3212, allocations: 480 / 456.6 MB, free: 284 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008776/0.3221, allocations: 240 kB / 456.8 MB, free: 44 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.004026/0.3261, allocations: 2.322 MB / 459.2 MB, free: 13.8 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001957/0.3281, allocations: 1.045 MB / 460.2 MB, free: 12.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.3281, allocations: 4 kB / 460.2 MB, free: 12.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001058/0.3292, allocations: 0.691 MB / 460.9 MB, free: 12.01 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/0.3302, allocations: 185 kB / 461.1 MB, free: 11.83 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01262/0.3428, allocations: 8.761 MB / 469.8 MB, free: 2.777 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007698/0.3436, allocations: 1.104 MB / 470.9 MB, free: 1.648 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004293/0.3441, allocations: 119.6 kB / 471.1 MB, free: 1.527 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005733/0.3446, allocations: 459.3 kB / 471.5 MB, free: 1.078 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3447, allocations: 0 / 471.5 MB, free: 1.078 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05882/0.4035, allocations: 21.24 MB / 492.8 MB, free: 12.05 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.61, allocations: 10.59 kB / 492.8 MB, free: 12.04 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.1.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