Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001732/0.001732, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001946/0.001946, allocations: 207.2 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.388/1.388, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Vehicle,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_Vehicle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Vehicle,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_Vehicle",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001654/0.001654, allocations: 47.92 kB / 377.7 MB, free: 3.004 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2468/0.2484, allocations: 53.36 MB / 431.1 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.007387/0.2558, allocations: 5.526 MB / 436.6 MB, free: 1.129 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004196/0.26, allocations: 2.232 MB / 438.8 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006594/0.2607, allocations: 35.75 kB / 438.9 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008069/0.2615, allocations: 429.3 kB / 439.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001198/0.2627, allocations: 0.5046 MB / 439.8 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001005/0.2637, allocations: 495.2 kB / 440.3 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001772/0.2655, allocations: 1.507 MB / 441.8 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006627/0.2661, allocations: 377.2 kB / 442.2 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008547/0.267, allocations: 0.5682 MB / 442.7 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008406/0.2678, allocations: 0.6729 MB / 443.4 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001622/0.268, allocations: 128 kB / 443.5 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003529/0.2683, allocations: 184 kB / 443.7 MB, free: 9.988 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002797/0.2686, allocations: 310.8 kB / 444 MB, free: 9.684 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004968/0.2691, allocations: 0.5091 MB / 444.5 MB, free: 9.172 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001742/0.2708, allocations: 1.682 MB / 446.2 MB, free: 7.484 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2708, allocations: 0 / 446.2 MB, free: 7.484 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2708, allocations: 0 / 446.2 MB, free: 7.484 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.796e-05/0.2709, allocations: 0 / 446.2 MB, free: 7.484 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.002936/0.2738, allocations: 1.532 MB / 447.7 MB, free: 5.914 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.2738, allocations: 12.03 kB / 447.7 MB, free: 5.902 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001834/0.274, allocations: 152.4 kB / 447.9 MB, free: 5.746 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003971/0.2744, allocations: 156 kB / 448 MB, free: 5.594 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00125/0.2757, allocations: 0.6938 MB / 448.7 MB, free: 4.871 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.117e-05/0.2757, allocations: 77.94 kB / 448.8 MB, free: 4.797 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001634/0.2759, allocations: 111.9 kB / 448.9 MB, free: 4.688 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001712/0.2776, allocations: 0.9156 MB / 449.8 MB, free: 3.754 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.233e-05/0.2777, allocations: 15.94 kB / 449.8 MB, free: 3.738 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.793e-05/0.2778, allocations: 36 kB / 449.9 MB, free: 3.703 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.564e-05/0.2778, allocations: 24 kB / 449.9 MB, free: 3.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001354/0.2791, allocations: 0.6325 MB / 450.5 MB, free: 3.047 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004726/0.2839, allocations: 2.765 MB / 453.3 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001333/0.2852, allocations: 0.5703 MB / 453.9 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000507/0.2857, allocations: 270.7 kB / 454.1 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.725e-05/0.2858, allocations: 12.66 kB / 454.2 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006742/0.2864, allocations: 344.3 kB / 454.5 MB, free: 14.98 MB / 366.1 MB Notification: Performance of pre-optimization done (n=80): time 2.484e-06/0.2864, allocations: 0 / 454.5 MB, free: 14.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.006045/0.2925, allocations: 2.948 MB / 457.4 MB, free: 11.99 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.226e-05/0.2925, allocations: 60.41 kB / 457.5 MB, free: 11.92 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001185/0.2937, allocations: 0.9547 MB / 458.4 MB, free: 10.96 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.853e-05/0.2938, allocations: 45.7 kB / 458.5 MB, free: 10.91 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004483/0.2942, allocations: 0.5282 MB / 459 MB, free: 10.38 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002923/0.2945, allocations: 364.9 kB / 459.4 MB, free: 10.02 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002363/0.2947, allocations: 154.7 kB / 459.5 MB, free: 9.859 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.2949, allocations: 345.9 kB / 459.9 MB, free: 9.516 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005429/0.2955, allocations: 273.9 kB / 460.1 MB, free: 9.246 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000671/0.2961, allocations: 433.4 kB / 460.6 MB, free: 8.773 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001278/0.2974, allocations: 0.7521 MB / 461.3 MB, free: 7.973 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.2974, allocations: 0 / 461.3 MB, free: 7.973 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001989/0.2994, allocations: 1.041 MB / 462.3 MB, free: 6.918 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.2994, allocations: 8 kB / 462.4 MB, free: 6.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.2994, allocations: 4 kB / 462.4 MB, free: 6.906 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004425/0.2999, allocations: 137.6 kB / 462.5 MB, free: 6.766 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000792/0.3007, allocations: 208 kB / 462.7 MB, free: 6.562 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003843/0.3045, allocations: 3.749 MB / 466.4 MB, free: 2.594 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006396/0.3051, allocations: 35.94 kB / 466.5 MB, free: 2.559 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.784e-05/0.3052, allocations: 32 kB / 466.5 MB, free: 2.527 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.0004833/0.3057, allocations: 307.9 kB / 466.8 MB, free: 2.219 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001548/0.3059, allocations: 111.3 kB / 466.9 MB, free: 2.109 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001994/0.3078, allocations: 0.9636 MB / 467.9 MB, free: 1.125 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/0.3079, allocations: 12 kB / 467.9 MB, free: 1.113 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.3079, allocations: 4.125 kB / 467.9 MB, free: 1.109 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/0.3079, allocations: 3.984 kB / 467.9 MB, free: 1.105 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004019/0.3119, allocations: 2.283 MB / 470.2 MB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/0.3119, allocations: 4 kB / 470.2 MB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008017/0.3127, allocations: 183.8 kB / 470.4 MB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003695/0.3131, allocations: 121.5 kB / 470.5 MB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.051e-05/0.3131, allocations: 32.33 kB / 470.5 MB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003266/0.3164, allocations: 3.366 MB / 473.9 MB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.3164, allocations: 4 kB / 473.9 MB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002463/0.3189, allocations: 1.451 MB / 475.3 MB, free: 9.273 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003822/0.3192, allocations: 179.1 kB / 475.5 MB, free: 9.098 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001248/0.3194, allocations: 24.06 kB / 475.5 MB, free: 9.074 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004338/0.3198, allocations: 31.98 kB / 475.6 MB, free: 9.043 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001563/0.32, allocations: 76.89 kB / 475.6 MB, free: 8.969 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.817e-05/0.32, allocations: 39.92 kB / 475.7 MB, free: 8.93 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008727/0.3209, allocations: 0.6708 MB / 476.4 MB, free: 8.262 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3209, allocations: 0 / 476.4 MB, free: 8.262 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009507/0.3219, allocations: 247.9 kB / 476.6 MB, free: 8.02 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 (90): * Single equations (assignments): 86 * 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.004266/0.3261, allocations: 2.368 MB / 479 MB, free: 5.773 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001968/0.3281, allocations: 1.026 MB / 480 MB, free: 4.723 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.3281, allocations: 0 / 480 MB, free: 4.723 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001092/0.3292, allocations: 0.6824 MB / 480.7 MB, free: 4.016 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/0.3302, allocations: 176.2 kB / 480.9 MB, free: 3.848 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01301/0.3432, allocations: 8.769 MB / 489.6 MB, free: 10.78 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006156/0.3438, allocations: 0.5112 MB / 490.1 MB, free: 10.23 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004206/0.3442, allocations: 123.5 kB / 490.3 MB, free: 10.1 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005794/0.3448, allocations: 443.3 kB / 490.7 MB, free: 9.668 MB / 398.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3448, allocations: 0 / 490.7 MB, free: 9.668 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06553/0.4104, allocations: 23.06 MB / 0.5017 GB, free: 2.793 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/12.21, allocations: 8.047 kB / 0.5017 GB, free: 2.785 MB / 414.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_Vehicle_fmu --startTime=0 --stopTime=60 --stepSize=0.01 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_Vehicle.fmu > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 14.961332065984607]