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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001802/0.001802, allocations: 116.4 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002339/0.002339, allocations: 214.3 kB / 23.75 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.432/1.432, allocations: 230.5 MB / 257.4 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002031/0.002031, allocations: 67.91 kB / 377.8 MB, free: 3.012 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2659/0.2679, allocations: 53.41 MB / 431.2 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.0092/0.2771, allocations: 6.273 MB / 437.5 MB, free: 404 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005185/0.2823, allocations: 2.329 MB / 439.8 MB, free: 14.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001117/0.2834, allocations: 35.75 kB / 439.8 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00118/0.2846, allocations: 425.3 kB / 440.2 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001772/0.2864, allocations: 0.5085 MB / 440.8 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001503/0.2879, allocations: 499 kB / 441.2 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002314/0.2902, allocations: 1.507 MB / 442.7 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000801/0.291, allocations: 381.2 kB / 443.1 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009867/0.292, allocations: 0.5759 MB / 443.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001145/0.2931, allocations: 0.6651 MB / 444.4 MB, free: 9.449 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003292/0.2935, allocations: 132 kB / 444.5 MB, free: 9.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005395/0.294, allocations: 176 kB / 444.7 MB, free: 9.148 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003845/0.2944, allocations: 306.9 kB / 445 MB, free: 8.848 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001014/0.2954, allocations: 0.6489 MB / 445.6 MB, free: 8.195 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002414/0.2978, allocations: 1.665 MB / 447.3 MB, free: 6.527 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.2978, allocations: 4 kB / 447.3 MB, free: 6.523 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2978, allocations: 0 / 447.3 MB, free: 6.523 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.743e-05/0.2979, allocations: 0 / 447.3 MB, free: 6.523 MB / 350.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.003456/0.3013, allocations: 1.525 MB / 448.8 MB, free: 4.961 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.3014, allocations: 8.031 kB / 448.8 MB, free: 4.953 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002268/0.3016, allocations: 152.4 kB / 449 MB, free: 4.797 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004726/0.3021, allocations: 163.9 kB / 449.1 MB, free: 4.637 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001448/0.3035, allocations: 0.699 MB / 449.8 MB, free: 3.906 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.087e-05/0.3036, allocations: 78.31 kB / 449.9 MB, free: 3.832 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001783/0.3038, allocations: 108.1 kB / 450 MB, free: 3.727 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001747/0.3055, allocations: 0.9117 MB / 450.9 MB, free: 2.797 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.3e-05/0.3056, allocations: 15.95 kB / 450.9 MB, free: 2.781 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.136e-05/0.3057, allocations: 43.98 kB / 451 MB, free: 2.738 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.226e-05/0.3057, allocations: 24 kB / 451 MB, free: 2.715 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001403/0.3071, allocations: 0.6363 MB / 451.6 MB, free: 2.078 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00531/0.3124, allocations: 3.111 MB / 454.7 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001339/0.3137, allocations: 0.5686 MB / 455.3 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005275/0.3143, allocations: 275.3 kB / 455.6 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.897e-05/0.3143, allocations: 16.62 kB / 455.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006779/0.315, allocations: 348.3 kB / 455.9 MB, free: 13.63 MB / 366.1 MB Notification: Performance of pre-optimization done (n=80): time 2.715e-06/0.315, allocations: 0 / 455.9 MB, free: 13.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.006059/0.3211, allocations: 2.923 MB / 458.9 MB, free: 10.67 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.873e-05/0.3211, allocations: 60.41 kB / 458.9 MB, free: 10.6 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001265/0.3224, allocations: 0.9508 MB / 459.9 MB, free: 9.641 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.051e-05/0.3225, allocations: 45.7 kB / 459.9 MB, free: 9.59 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004754/0.3229, allocations: 0.5243 MB / 460.4 MB, free: 9.059 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003092/0.3232, allocations: 360.9 kB / 460.8 MB, free: 8.703 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002376/0.3235, allocations: 162.6 kB / 460.9 MB, free: 8.539 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001747/0.3237, allocations: 345.9 kB / 461.3 MB, free: 8.195 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00054/0.3242, allocations: 269.9 kB / 461.5 MB, free: 7.934 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006645/0.3249, allocations: 433.4 kB / 462 MB, free: 7.457 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001258/0.3261, allocations: 0.7443 MB / 462.7 MB, free: 6.664 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.207e-06/0.3261, allocations: 0 / 462.7 MB, free: 6.664 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001967/0.3281, allocations: 1.033 MB / 463.8 MB, free: 5.613 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.3281, allocations: 4 kB / 463.8 MB, free: 5.609 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.3281, allocations: 4 kB / 463.8 MB, free: 5.605 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004591/0.3286, allocations: 145.6 kB / 463.9 MB, free: 5.457 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007634/0.3293, allocations: 216 kB / 464.1 MB, free: 5.246 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003988/0.3333, allocations: 3.769 MB / 467.9 MB, free: 1.258 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005493/0.3339, allocations: 31.98 kB / 467.9 MB, free: 1.227 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.589e-05/0.3339, allocations: 32 kB / 467.9 MB, free: 1.195 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.0005426/0.3345, allocations: 309.6 kB / 468.2 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001731/0.3347, allocations: 115.3 kB / 468.4 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001894/0.3366, allocations: 0.9595 MB / 469.3 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.038e-05/0.3366, allocations: 12 kB / 469.3 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.044e-06/0.3366, allocations: 4 kB / 469.3 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.3366, allocations: 3.984 kB / 469.3 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004122/0.3407, allocations: 2.431 MB / 471.8 MB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.878e-05/0.3407, allocations: 7.938 kB / 471.8 MB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007663/0.3415, allocations: 179.8 kB / 472 MB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000393/0.3419, allocations: 130 kB / 472.1 MB, free: 12.92 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.491e-05/0.3419, allocations: 27.98 kB / 472.1 MB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003587/0.3455, allocations: 3.382 MB / 475.5 MB, free: 9.281 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/0.3455, allocations: 4 kB / 475.5 MB, free: 9.277 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002566/0.3481, allocations: 1.447 MB / 476.9 MB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004622/0.3486, allocations: 171.2 kB / 477.1 MB, free: 7.602 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001208/0.3487, allocations: 23.94 kB / 477.1 MB, free: 7.578 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004045/0.3491, allocations: 23.98 kB / 477.2 MB, free: 7.555 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001643/0.3493, allocations: 80.89 kB / 477.2 MB, free: 7.477 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.645e-05/0.3493, allocations: 32 kB / 477.3 MB, free: 7.445 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000926/0.3502, allocations: 0.6708 MB / 477.9 MB, free: 6.777 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3502, allocations: 0 / 477.9 MB, free: 6.777 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009025/0.3511, allocations: 243.9 kB / 478.2 MB, free: 6.539 MB / 382.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.004166/0.3553, allocations: 2.317 MB / 480.5 MB, free: 4.305 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002024/0.3573, allocations: 1.014 MB / 481.5 MB, free: 3.262 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.389e-06/0.3573, allocations: 0 / 481.5 MB, free: 3.262 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001215/0.3585, allocations: 0.6714 MB / 482.2 MB, free: 2.566 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001089/0.3596, allocations: 177.4 kB / 482.3 MB, free: 2.395 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01386/0.3735, allocations: 8.756 MB / 491.1 MB, free: 9.34 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008884/0.3744, allocations: 1.108 MB / 492.2 MB, free: 8.207 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004458/0.3748, allocations: 119.6 kB / 492.3 MB, free: 8.086 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006771/0.3755, allocations: 451.3 kB / 492.8 MB, free: 7.645 MB / 398.1 MB Notification: Performance of SimCode: time 7.91e-07/0.3755, allocations: 0 / 492.8 MB, free: 7.645 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06837/0.4439, allocations: 22.15 MB / 0.5028 GB, free: 1.613 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.14/13.59, allocations: 3.984 kB / 0.5029 GB, free: 1.609 MB / 414.1 MB " [Timeout remaining time 646] (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 --stepSize=0.01 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Translational_Examples_Vehicle.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.pipe 2>&1) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.427955935010687]