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.000811/0.000811, allocations: 91.97 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009524/0.0009524, allocations: 203.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.199/1.199, allocations: 227.7 MB / 246.8 MB, free: 9.621 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001807/0.0001808, allocations: 4 kB / 307.8 MB, free: 0.5039 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.077/0.0772, allocations: 51.53 MB / 359.4 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.005487/0.08271, allocations: 5.747 MB / 365.1 MB, free: 7.191 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003421/0.08616, allocations: 2.236 MB / 367.3 MB, free: 4.949 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003472/0.08652, allocations: 27.88 kB / 367.4 MB, free: 4.922 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005851/0.08711, allocations: 370.2 kB / 367.7 MB, free: 4.559 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00073/0.08785, allocations: 425.6 kB / 368.1 MB, free: 4.141 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006723/0.08854, allocations: 439.4 kB / 368.6 MB, free: 3.711 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00112/0.08967, allocations: 1.41 MB / 370 MB, free: 2.293 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005753/0.09025, allocations: 487.6 kB / 370.5 MB, free: 1.789 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000456/0.09071, allocations: 461.8 kB / 370.9 MB, free: 1.336 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005109/0.09124, allocations: 0.5598 MB / 371.5 MB, free: 0.7734 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.228e-05/0.09133, allocations: 52 kB / 371.5 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001926/0.09153, allocations: 103.8 kB / 371.6 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001692/0.0917, allocations: 230.9 kB / 371.8 MB, free: 404 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1343/0.226, allocations: 0.5729 MB / 372.4 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001404/0.2275, allocations: 1.524 MB / 373.9 MB, free: 10.08 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.2275, allocations: 0 / 373.9 MB, free: 10.08 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2275, allocations: 0.7031 kB / 373.9 MB, free: 10.08 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.504e-05/0.2275, allocations: 0.9062 kB / 373.9 MB, free: 10.08 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.001878/0.2294, allocations: 1.333 MB / 375.3 MB, free: 9.297 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.2294, allocations: 11.12 kB / 375.3 MB, free: 9.297 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001575/0.2296, allocations: 150.6 kB / 375.4 MB, free: 9.258 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000328/0.2299, allocations: 152.2 kB / 375.6 MB, free: 9.184 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008655/0.2308, allocations: 0.7514 MB / 376.3 MB, free: 8.844 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.847e-05/0.2309, allocations: 75.69 kB / 376.4 MB, free: 8.84 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001294/0.231, allocations: 111 kB / 376.5 MB, free: 8.832 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001548/0.2326, allocations: 0.9108 MB / 377.4 MB, free: 8.75 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.957e-05/0.2326, allocations: 9.266 kB / 377.4 MB, free: 8.746 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.194e-05/0.2327, allocations: 39.81 kB / 377.5 MB, free: 8.746 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.722e-05/0.2327, allocations: 28.62 kB / 377.5 MB, free: 8.746 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001151/0.2339, allocations: 0.6402 MB / 378.1 MB, free: 8.734 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003861/0.2378, allocations: 3.25 MB / 381.4 MB, free: 7.77 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00112/0.2389, allocations: 0.6249 MB / 382 MB, free: 7.734 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004343/0.2393, allocations: 297.2 kB / 382.3 MB, free: 7.727 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.21e-05/0.2394, allocations: 18.36 kB / 382.3 MB, free: 7.727 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005815/0.24, allocations: 349.2 kB / 382.7 MB, free: 7.668 MB / 302.1 MB Notification: Performance of pre-optimization done (n=80): time 2.054e-06/0.24, allocations: 3.969 kB / 382.7 MB, free: 7.668 MB / 302.1 MB Notification: Performance of matching and sorting (n=100): time 0.004923/0.2449, allocations: 3.076 MB / 385.7 MB, free: 6.316 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.84e-05/0.2449, allocations: 66.45 kB / 385.8 MB, free: 6.25 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001035/0.246, allocations: 0.9491 MB / 386.8 MB, free: 5.887 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.584e-05/0.246, allocations: 41.11 kB / 386.8 MB, free: 5.844 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002561/0.2463, allocations: 0.5128 MB / 387.3 MB, free: 5.438 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001599/0.2465, allocations: 348 kB / 387.7 MB, free: 5.172 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.641e-05/0.2466, allocations: 80.45 kB / 387.7 MB, free: 5.125 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.148e-05/0.2466, allocations: 350.1 kB / 388.1 MB, free: 4.797 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004628/0.2471, allocations: 273.2 kB / 388.3 MB, free: 4.699 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005177/0.2476, allocations: 434.7 kB / 388.8 MB, free: 4.434 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001017/0.2486, allocations: 0.7458 MB / 389.5 MB, free: 4.004 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.2487, allocations: 1.406 kB / 389.5 MB, free: 4.004 MB / 302.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001582/0.2502, allocations: 1.037 MB / 390.5 MB, free: 3.57 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.2503, allocations: 6.406 kB / 390.6 MB, free: 3.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.629e-06/0.2503, allocations: 4.438 kB / 390.6 MB, free: 3.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003825/0.2507, allocations: 142.9 kB / 390.7 MB, free: 3.523 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000666/0.2514, allocations: 215.6 kB / 390.9 MB, free: 3.512 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002505/0.2539, allocations: 3.624 MB / 394.5 MB, free: 304 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000409/0.2543, allocations: 35.66 kB / 394.6 MB, free: 284 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.459e-05/0.2544, allocations: 34.03 kB / 394.6 MB, free: 276 kB / 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.0003471/0.2547, allocations: 313.1 kB / 394.9 MB, free: 56 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/0.2548, allocations: 105.8 kB / 395 MB, free: 0 / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001667/0.2565, allocations: 0.9558 MB / 396 MB, free: 15.57 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.2565, allocations: 11 kB / 396 MB, free: 15.57 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.2565, allocations: 5.469 kB / 396 MB, free: 15.57 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.352e-05/0.2565, allocations: 9.328 kB / 396 MB, free: 15.57 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003557/0.2601, allocations: 2.525 MB / 398.5 MB, free: 13.91 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.2601, allocations: 3.656 kB / 398.5 MB, free: 13.91 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006676/0.2608, allocations: 178.1 kB / 398.7 MB, free: 13.88 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003147/0.2611, allocations: 131.1 kB / 398.8 MB, free: 13.81 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.091e-05/0.2612, allocations: 25.7 kB / 398.8 MB, free: 13.8 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002544/0.2637, allocations: 3.294 MB / 402.1 MB, free: 10.67 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/0.2637, allocations: 3.719 kB / 402.1 MB, free: 10.67 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0019/0.2657, allocations: 1.438 MB / 403.6 MB, free: 9.805 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000259/0.2659, allocations: 246.5 kB / 403.8 MB, free: 9.582 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/0.266, allocations: 29.3 kB / 403.9 MB, free: 9.562 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003778/0.2664, allocations: 26.5 kB / 403.9 MB, free: 9.547 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/0.2665, allocations: 78.45 kB / 404 MB, free: 9.508 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.852e-05/0.2666, allocations: 33.39 kB / 404 MB, free: 9.496 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006569/0.2673, allocations: 0.6672 MB / 404.7 MB, free: 9.152 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2673, allocations: 1.422 kB / 404.7 MB, free: 9.152 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007395/0.268, allocations: 246.8 kB / 404.9 MB, free: 9.113 MB / 318.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.002996/0.271, allocations: 2.328 MB / 407.2 MB, free: 7.531 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001525/0.2726, allocations: 1.046 MB / 408.3 MB, free: 6.48 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2726, allocations: 0 / 408.3 MB, free: 6.48 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009082/0.2735, allocations: 0.698 MB / 409 MB, free: 5.781 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001174/0.2747, allocations: 166.2 kB / 409.1 MB, free: 5.621 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01195/0.2866, allocations: 9.925 MB / 419.1 MB, free: 11.3 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006036/0.2872, allocations: 1.1 MB / 420.2 MB, free: 10.17 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003729/0.2876, allocations: 115.6 kB / 420.3 MB, free: 10.05 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004971/0.2881, allocations: 451.3 kB / 420.7 MB, free: 9.613 MB / 334.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2881, allocations: 0 / 420.7 MB, free: 9.613 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8329/1.121, allocations: 19.71 MB / 440.4 MB, free: 6.152 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002613/1.121, allocations: 269.9 kB / 440.7 MB, free: 5.812 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.224/3.345, allocations: 4 kB / 440.7 MB, free: 5.809 MB / 350.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