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.0008951/0.0008951, allocations: 88.28 kB / 21.43 MB, free: 3.133 MB / 18.57 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.003708/0.003708, allocations: 158 kB / 24.7 MB, free: 9.418 MB / 18.57 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 0.8467/0.8467, allocations: 177 MB / 204.9 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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: translateModel(Modelica.Mechanics.Translational.Examples.Vehicle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=6000,variableFilter="time|vehicle.s|vehicle.v|vehicle1.s|vehicle1.v|trailer.s|trailer.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle") translateModel(Modelica.Mechanics.Translational.Examples.Vehicle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=6000,variableFilter="time|vehicle.s|vehicle.v|vehicle1.s|vehicle1.v|trailer.s|trailer.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.429e-05/1.548e-05, allocations: 2.281 kB / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.004302/0.004318, allocations: 5.554 MB / 331.3 MB, free: 9.785 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002284/0.006602, allocations: 2.226 MB / 333.5 MB, free: 7.555 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002696/0.006872, allocations: 43.75 kB / 333.6 MB, free: 7.512 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005217/0.007394, allocations: 425.1 kB / 334 MB, free: 7.094 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006151/0.008009, allocations: 0.5277 MB / 334.5 MB, free: 6.562 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004826/0.008491, allocations: 498.9 kB / 335 MB, free: 6.074 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008786/0.00937, allocations: 1.546 MB / 336.6 MB, free: 4.523 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003687/0.009739, allocations: 345.1 kB / 336.9 MB, free: 4.164 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005842/0.01032, allocations: 0.8223 MB / 337.7 MB, free: 3.34 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004132/0.01074, allocations: 0.5102 MB / 338.2 MB, free: 2.828 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001002/0.01084, allocations: 132 kB / 338.4 MB, free: 2.699 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001697/0.01101, allocations: 179.9 kB / 338.5 MB, free: 2.523 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001649/0.01117, allocations: 318.7 kB / 338.9 MB, free: 2.211 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002556/0.01143, allocations: 426.8 kB / 339.3 MB, free: 1.793 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009986/0.01242, allocations: 1.67 MB / 340.9 MB, free: 116 kB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.01243, allocations: 0 / 340.9 MB, free: 116 kB / 298.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.01243, allocations: 0 / 340.9 MB, free: 116 kB / 298.7 MB Notification: Performance of Transformations before backend: time 1.092e-05/0.01244, allocations: 0 / 340.9 MB, free: 116 kB / 298.7 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.001528/0.01397, allocations: 1.513 MB / 342.5 MB, free: 14.56 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.081e-05/0.014, allocations: 11.98 kB / 342.5 MB, free: 14.55 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002212/0.01422, allocations: 160 kB / 342.6 MB, free: 14.39 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007161/0.01494, allocations: 0.7048 MB / 343.3 MB, free: 13.66 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.091e-05/0.01498, allocations: 70.38 kB / 343.4 MB, free: 13.59 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.557e-05/0.01507, allocations: 108.3 kB / 343.5 MB, free: 13.48 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009229/0.016, allocations: 0.9201 MB / 344.4 MB, free: 12.55 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.832e-05/0.01602, allocations: 8.141 kB / 344.4 MB, free: 12.54 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.922e-05/0.01607, allocations: 43.94 kB / 344.5 MB, free: 12.5 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.338e-05/0.01609, allocations: 28 kB / 344.5 MB, free: 12.47 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007691/0.01686, allocations: 0.6363 MB / 345.1 MB, free: 11.83 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002609/0.01946, allocations: 2.607 MB / 347.7 MB, free: 9.148 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007875/0.02025, allocations: 0.5735 MB / 348.3 MB, free: 8.559 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002974/0.02055, allocations: 278.7 kB / 348.6 MB, free: 8.285 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.292e-05/0.02058, allocations: 12.64 kB / 348.6 MB, free: 8.273 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003883/0.02097, allocations: 344.3 kB / 348.9 MB, free: 7.926 MB / 314.7 MB Notification: Performance of pre-optimization done (n=80): time 2.505e-06/0.02097, allocations: 0 / 348.9 MB, free: 7.926 MB / 314.7 MB Notification: Performance of matching and sorting (n=100): time 0.003444/0.02442, allocations: 2.929 MB / 351.9 MB, free: 4.953 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/0.02446, allocations: 64.34 kB / 351.9 MB, free: 4.879 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006389/0.02509, allocations: 0.8721 MB / 352.8 MB, free: 4 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.832e-05/0.02513, allocations: 45.7 kB / 352.8 MB, free: 3.949 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002731/0.02541, allocations: 0.5359 MB / 353.4 MB, free: 3.406 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001686/0.02557, allocations: 356.9 kB / 353.7 MB, free: 3.055 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001477/0.02572, allocations: 158.7 kB / 353.9 MB, free: 2.895 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.459e-05/0.02582, allocations: 349.9 kB / 354.2 MB, free: 2.547 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003377/0.02615, allocations: 277.9 kB / 354.5 MB, free: 2.273 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003949/0.02655, allocations: 429.4 kB / 354.9 MB, free: 1.805 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007659/0.02731, allocations: 0.7444 MB / 355.7 MB, free: 1.012 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.02732, allocations: 0 / 355.7 MB, free: 1.012 MB / 314.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001105/0.02842, allocations: 1.029 MB / 356.7 MB, free: 15.96 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.02844, allocations: 8.375 kB / 356.7 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.02845, allocations: 8 kB / 356.7 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002675/0.02871, allocations: 149.7 kB / 356.9 MB, free: 15.79 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003831/0.0291, allocations: 207.7 kB / 357.1 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002274/0.03137, allocations: 3.688 MB / 360.7 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001985/0.03157, allocations: 39.86 kB / 360.8 MB, free: 11.67 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.745e-05/0.03161, allocations: 36.12 kB / 360.8 MB, free: 11.64 MB / 330.7 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.0002808/0.03189, allocations: 305.7 kB / 361.1 MB, free: 11.33 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.783e-05/0.03197, allocations: 107.3 kB / 361.2 MB, free: 11.22 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001069/0.03304, allocations: 0.9591 MB / 362.2 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.03304, allocations: 8 kB / 362.2 MB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/0.03305, allocations: 4 kB / 362.2 MB, free: 10.23 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.03305, allocations: 3.984 kB / 362.2 MB, free: 10.23 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002128/0.03518, allocations: 2.155 MB / 364.4 MB, free: 7.992 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.219e-06/0.03519, allocations: 8.359 kB / 364.4 MB, free: 7.984 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003897/0.03558, allocations: 187.8 kB / 364.5 MB, free: 7.801 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001886/0.03577, allocations: 113.6 kB / 364.7 MB, free: 7.684 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.431e-05/0.0358, allocations: 24.05 kB / 364.7 MB, free: 7.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001788/0.03759, allocations: 3.325 MB / 368 MB, free: 4.133 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.03759, allocations: 7.984 kB / 368 MB, free: 4.125 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001413/0.03901, allocations: 1.439 MB / 369.4 MB, free: 2.625 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000189/0.0392, allocations: 171.2 kB / 369.6 MB, free: 2.457 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.67e-05/0.03925, allocations: 20 kB / 369.6 MB, free: 2.438 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001845/0.03944, allocations: 20 kB / 369.7 MB, free: 2.418 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.485e-05/0.03953, allocations: 85.02 kB / 369.7 MB, free: 2.336 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.576e-05/0.03957, allocations: 35.94 kB / 369.8 MB, free: 2.301 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004434/0.04001, allocations: 0.624 MB / 370.4 MB, free: 1.684 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.04001, allocations: 3.938 kB / 370.4 MB, free: 1.68 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005188/0.04053, allocations: 244 kB / 370.6 MB, free: 1.441 MB / 330.7 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.0007285/0.04126, allocations: 470.7 kB / 371.1 MB, free: 1.129 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001065/0.04232, allocations: 1.009 MB / 372.1 MB, free: 92 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.04233, allocations: 0.875 kB / 372.1 MB, free: 92 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005877/0.04291, allocations: 0.6787 MB / 372.8 MB, free: 15.38 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005574/0.04347, allocations: 171.5 kB / 373 MB, free: 15.21 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002326/0.0458, allocations: 2.432 MB / 375.4 MB, free: 12.71 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003516/0.04615, allocations: 0.5111 MB / 375.9 MB, free: 12.17 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001507/0.0463, allocations: 76.48 kB / 376 MB, free: 12.09 MB / 346.7 MB Notification: Performance of SimCode: time 6.01e-07/0.0463, allocations: 0 / 376 MB, free: 12.09 MB / 346.7 MB Notification: Performance of Templates: time 0.0159/0.0622, allocations: 23.56 MB / 399.5 MB, free: 4.5 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.makefile [Timeout 660] (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 & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Vehicle/Vehicle.csv","/var/lib/jenkins/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: 5.6506458185613155]