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.00148/0.00148, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.0014/0.0014, allocations: 208.7 kB / 24.51 MB, free: 3.941 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.359/1.359, allocations: 230.5 MB / 258.2 MB, free: 7.797 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Vehicle,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_Vehicle",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001793/0.001793, allocations: 59.91 kB / 378.5 MB, free: 2.836 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2392/0.241, allocations: 53.41 MB / 431.9 MB, free: 6.465 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.007429/0.2484, allocations: 5.522 MB / 437.4 MB, free: 0.918 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003967/0.2524, allocations: 2.224 MB / 439.7 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005459/0.2529, allocations: 43.69 kB / 439.7 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007886/0.2537, allocations: 417.4 kB / 440.1 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001101/0.2548, allocations: 0.5124 MB / 440.6 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009742/0.2558, allocations: 499.1 kB / 441.1 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001601/0.2574, allocations: 1.507 MB / 442.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005742/0.258, allocations: 379.3 kB / 443 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006745/0.2586, allocations: 0.572 MB / 443.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000758/0.2594, allocations: 0.669 MB / 444.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001666/0.2596, allocations: 132 kB / 444.3 MB, free: 9.949 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003029/0.2599, allocations: 183.9 kB / 444.5 MB, free: 9.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000273/0.2601, allocations: 306.9 kB / 444.8 MB, free: 9.469 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004904/0.2606, allocations: 0.513 MB / 445.3 MB, free: 8.953 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001707/0.2623, allocations: 1.673 MB / 447 MB, free: 7.273 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2623, allocations: 0 / 447 MB, free: 7.273 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.426e-06/0.2623, allocations: 4 kB / 447 MB, free: 7.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.097e-05/0.2624, allocations: 0 / 447 MB, free: 7.27 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.002711/0.2651, allocations: 1.532 MB / 448.5 MB, free: 5.699 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.2651, allocations: 11.97 kB / 448.6 MB, free: 5.688 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.191e-05/0.2652, allocations: 26.19 kB / 448.6 MB, free: 5.664 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001692/0.2653, allocations: 152.4 kB / 448.7 MB, free: 5.508 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003988/0.2657, allocations: 160 kB / 448.9 MB, free: 5.352 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001262/0.267, allocations: 0.6899 MB / 449.6 MB, free: 4.633 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.257e-05/0.2671, allocations: 74.38 kB / 449.7 MB, free: 4.559 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000164/0.2672, allocations: 111.9 kB / 449.8 MB, free: 4.449 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00168/0.2689, allocations: 0.9118 MB / 450.7 MB, free: 3.523 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.338e-05/0.2689, allocations: 7.953 kB / 450.7 MB, free: 3.516 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.445e-05/0.269, allocations: 40 kB / 450.7 MB, free: 3.477 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.188e-05/0.269, allocations: 27.94 kB / 450.7 MB, free: 3.449 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001315/0.2704, allocations: 0.6403 MB / 451.4 MB, free: 2.805 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004637/0.275, allocations: 2.757 MB / 454.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001344/0.2763, allocations: 0.5735 MB / 454.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005049/0.2769, allocations: 271.4 kB / 455 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.284e-05/0.2769, allocations: 8.656 kB / 455 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006894/0.2776, allocations: 344.4 kB / 455.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of pre-optimization done (n=80): time 3.055e-06/0.2776, allocations: 0 / 455.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.006429/0.284, allocations: 2.944 MB / 458.3 MB, free: 11.77 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.422e-05/0.2841, allocations: 64.41 kB / 458.3 MB, free: 11.69 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001323/0.2854, allocations: 0.9624 MB / 459.3 MB, free: 10.72 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.653e-05/0.2855, allocations: 41.7 kB / 459.3 MB, free: 10.68 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004889/0.286, allocations: 0.5204 MB / 459.9 MB, free: 10.15 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003039/0.2863, allocations: 364.9 kB / 460.2 MB, free: 9.789 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002431/0.2865, allocations: 162.5 kB / 460.4 MB, free: 9.625 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001823/0.2867, allocations: 345.9 kB / 460.7 MB, free: 9.281 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005629/0.2872, allocations: 273.9 kB / 461 MB, free: 9.012 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006637/0.2879, allocations: 433.4 kB / 461.4 MB, free: 8.539 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001269/0.2892, allocations: 0.7522 MB / 462.2 MB, free: 7.738 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.2892, allocations: 3.938 kB / 462.2 MB, free: 7.734 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001905/0.2911, allocations: 1.037 MB / 463.2 MB, free: 6.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.2911, allocations: 4 kB / 463.2 MB, free: 6.676 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.2911, allocations: 4 kB / 463.2 MB, free: 6.672 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000462/0.2916, allocations: 146 kB / 463.3 MB, free: 6.523 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000782/0.2924, allocations: 211.7 kB / 463.6 MB, free: 6.316 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003935/0.2963, allocations: 3.746 MB / 467.3 MB, free: 2.352 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005251/0.2968, allocations: 28 kB / 467.3 MB, free: 2.324 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.689e-05/0.2969, allocations: 35.98 kB / 467.4 MB, free: 2.289 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.0004826/0.2974, allocations: 313 kB / 467.7 MB, free: 1.977 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001565/0.2975, allocations: 111.3 kB / 467.8 MB, free: 1.867 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001894/0.2994, allocations: 0.9714 MB / 468.7 MB, free: 0.875 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-05/0.2994, allocations: 12 kB / 468.8 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.2994, allocations: 0 / 468.8 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.718e-06/0.2994, allocations: 3.984 kB / 468.8 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003924/0.3034, allocations: 2.279 MB / 471 MB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.3034, allocations: 3.938 kB / 471 MB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007855/0.3042, allocations: 183.8 kB / 471.2 MB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003677/0.3045, allocations: 118 kB / 471.3 MB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.825e-05/0.3046, allocations: 32.11 kB / 471.4 MB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003283/0.3079, allocations: 3.37 MB / 474.7 MB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.3079, allocations: 0 / 474.7 MB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002447/0.3103, allocations: 1.459 MB / 476.2 MB, free: 9.027 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003635/0.3107, allocations: 171.2 kB / 476.4 MB, free: 8.859 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001263/0.3108, allocations: 27.94 kB / 476.4 MB, free: 8.832 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004131/0.3112, allocations: 27.98 kB / 476.4 MB, free: 8.805 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001462/0.3114, allocations: 76.86 kB / 476.5 MB, free: 8.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.964e-05/0.3114, allocations: 28.09 kB / 476.5 MB, free: 8.703 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008714/0.3123, allocations: 0.6863 MB / 477.2 MB, free: 8.023 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3123, allocations: 0 / 477.2 MB, free: 8.023 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008911/0.3132, allocations: 243.9 kB / 477.5 MB, free: 7.785 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.004321/0.3175, allocations: 2.372 MB / 479.8 MB, free: 5.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002048/0.3196, allocations: 1.01 MB / 480.8 MB, free: 4.465 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.207e-06/0.3196, allocations: 0 / 480.8 MB, free: 4.465 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001099/0.3207, allocations: 0.6746 MB / 481.5 MB, free: 3.766 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009991/0.3217, allocations: 198 kB / 481.7 MB, free: 3.578 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01306/0.3347, allocations: 8.775 MB / 490.5 MB, free: 10.5 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006156/0.3353, allocations: 0.5112 MB / 491 MB, free: 9.953 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004442/0.3358, allocations: 115.6 kB / 491.1 MB, free: 9.836 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006103/0.3364, allocations: 443.3 kB / 491.5 MB, free: 9.402 MB / 398.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3364, allocations: 4 kB / 491.5 MB, free: 9.398 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06043/0.3968, allocations: 22.65 MB / 0.5021 GB, free: 2.902 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.02/15.42, allocations: 4.062 kB / 0.5021 GB, free: 2.898 MB / 414.1 MB " [Timeout remaining time 644] (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: 18.538983645965345]