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.001322/0.001322, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 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.001419/0.001419, allocations: 164.6 kB / 24.5 MB, free: 3.453 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.524/1.524, allocations: 177.1 MB / 204.7 MB, free: 9.012 MB / 190.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: 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 0.001929/0.001929, allocations: 60.88 kB / 325.5 MB, free: 200 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09504/0.09697, allocations: 53.39 MB / 378.9 MB, free: 15.49 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.00796/0.1049, allocations: 5.536 MB / 384.4 MB, free: 9.926 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004794/0.1097, allocations: 2.231 MB / 386.7 MB, free: 7.691 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007301/0.1105, allocations: 43.69 kB / 386.7 MB, free: 7.648 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009056/0.1114, allocations: 425.3 kB / 387.1 MB, free: 7.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001113/0.1125, allocations: 0.5007 MB / 387.6 MB, free: 6.727 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001013/0.1135, allocations: 499 kB / 388.1 MB, free: 6.238 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001673/0.1152, allocations: 1.496 MB / 389.6 MB, free: 4.734 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005964/0.1158, allocations: 353.1 kB / 390 MB, free: 4.367 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007408/0.1165, allocations: 0.5759 MB / 390.5 MB, free: 3.789 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007733/0.1173, allocations: 0.5987 MB / 391.1 MB, free: 3.188 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001723/0.1174, allocations: 132 kB / 391.3 MB, free: 3.059 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003294/0.1178, allocations: 176 kB / 391.4 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003092/0.1181, allocations: 310.8 kB / 391.7 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005667/0.1186, allocations: 0.513 MB / 392.3 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001745/0.1204, allocations: 1.677 MB / 393.9 MB, free: 392 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1204, allocations: 4 kB / 393.9 MB, free: 388 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1204, allocations: 4 kB / 393.9 MB, free: 384 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.262e-05/0.1204, allocations: 0 / 393.9 MB, free: 384 kB / 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.002787/0.1232, allocations: 1.521 MB / 395.5 MB, free: 14.81 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.1232, allocations: 15.98 kB / 395.5 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004107/0.1236, allocations: 160 kB / 395.6 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001288/0.1249, allocations: 0.7015 MB / 396.3 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.294e-05/0.125, allocations: 78.36 kB / 396.4 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001597/0.1252, allocations: 104.3 kB / 396.5 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001622/0.1268, allocations: 0.9117 MB / 397.4 MB, free: 12.8 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.855e-05/0.1268, allocations: 19.92 kB / 397.4 MB, free: 12.79 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.936e-05/0.1269, allocations: 36 kB / 397.5 MB, free: 12.75 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.326e-05/0.1269, allocations: 24 kB / 397.5 MB, free: 12.73 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001308/0.1282, allocations: 0.6363 MB / 398.1 MB, free: 12.09 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004407/0.1327, allocations: 2.611 MB / 400.7 MB, free: 9.398 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001352/0.134, allocations: 0.5889 MB / 401.3 MB, free: 8.801 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005241/0.1345, allocations: 270.7 kB / 401.6 MB, free: 8.535 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.783e-05/0.1346, allocations: 8.656 kB / 401.6 MB, free: 8.527 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006678/0.1352, allocations: 352.3 kB / 402 MB, free: 8.172 MB / 366.1 MB Notification: Performance of pre-optimization done (n=80): time 2.635e-06/0.1352, allocations: 0 / 402 MB, free: 8.172 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.006022/0.1413, allocations: 2.936 MB / 404.9 MB, free: 5.191 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.253e-05/0.1413, allocations: 64.41 kB / 405 MB, free: 5.117 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001069/0.1424, allocations: 0.8682 MB / 405.8 MB, free: 4.242 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.418e-05/0.1425, allocations: 45.7 kB / 405.9 MB, free: 4.191 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004513/0.1429, allocations: 0.5359 MB / 406.4 MB, free: 3.648 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002919/0.1432, allocations: 364.9 kB / 406.8 MB, free: 3.289 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002358/0.1434, allocations: 154.7 kB / 406.9 MB, free: 3.133 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.1436, allocations: 341.9 kB / 407.2 MB, free: 2.793 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005607/0.1442, allocations: 273.9 kB / 407.5 MB, free: 2.523 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000677/0.1448, allocations: 437.4 kB / 407.9 MB, free: 2.047 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001289/0.1461, allocations: 0.7482 MB / 408.7 MB, free: 1.25 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.1461, allocations: 3.938 kB / 408.7 MB, free: 1.246 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001907/0.148, allocations: 1.025 MB / 409.7 MB, free: 212 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.1481, allocations: 8 kB / 409.7 MB, free: 204 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.1481, allocations: 4 kB / 409.7 MB, free: 200 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004469/0.1485, allocations: 153.6 kB / 409.9 MB, free: 44 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007909/0.1493, allocations: 203.7 kB / 410.1 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003916/0.1532, allocations: 3.689 MB / 413.8 MB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004419/0.1537, allocations: 31.98 kB / 413.8 MB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.944e-05/0.1537, allocations: 36 kB / 413.8 MB, free: 11.89 MB / 382.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.0004698/0.1542, allocations: 302.3 kB / 414.1 MB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001581/0.1544, allocations: 107.3 kB / 414.2 MB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001934/0.1563, allocations: 0.9627 MB / 415.2 MB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/0.1563, allocations: 16 kB / 415.2 MB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.1563, allocations: 3.938 kB / 415.2 MB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.1563, allocations: 7.984 kB / 415.2 MB, free: 10.47 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003804/0.1601, allocations: 2.143 MB / 417.4 MB, free: 8.238 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/0.1601, allocations: 7.984 kB / 417.4 MB, free: 8.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008032/0.1609, allocations: 187.7 kB / 417.6 MB, free: 8.047 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000373/0.1613, allocations: 126 kB / 417.7 MB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.369e-05/0.1614, allocations: 24.12 kB / 417.7 MB, free: 7.895 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00347/0.1648, allocations: 3.325 MB / 421 MB, free: 4.367 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.754e-06/0.1649, allocations: 7.922 kB / 421 MB, free: 4.359 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002449/0.1673, allocations: 1.447 MB / 422.5 MB, free: 2.852 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000339/0.1676, allocations: 163.2 kB / 422.6 MB, free: 2.691 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/0.1677, allocations: 20 kB / 422.7 MB, free: 2.672 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004096/0.1681, allocations: 28 kB / 422.7 MB, free: 2.645 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001455/0.1683, allocations: 84.81 kB / 422.8 MB, free: 2.562 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.627e-05/0.1684, allocations: 28 kB / 422.8 MB, free: 2.535 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007872/0.1691, allocations: 0.6201 MB / 423.4 MB, free: 1.918 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1691, allocations: 4 kB / 423.4 MB, free: 1.914 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009499/0.1701, allocations: 243.9 kB / 423.7 MB, free: 1.676 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.001715/0.1718, allocations: 483.2 kB / 424.1 MB, free: 1.352 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002043/0.1739, allocations: 1.01 MB / 425.1 MB, free: 324 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.778e-06/0.1739, allocations: 0 / 425.1 MB, free: 324 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001207/0.1751, allocations: 0.6874 MB / 425.8 MB, free: 15.6 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009417/0.176, allocations: 159.5 kB / 426 MB, free: 15.45 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00437/0.1804, allocations: 2.612 MB / 428.6 MB, free: 12.77 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006984/0.1811, allocations: 0.5072 MB / 429.1 MB, free: 12.23 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003928/0.1815, allocations: 115.2 kB / 429.2 MB, free: 12.11 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001992/0.1817, allocations: 76.47 kB / 429.3 MB, free: 12.04 MB / 398.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1817, allocations: 7.875 kB / 429.3 MB, free: 12.03 MB / 398.1 MB Notification: Performance of Templates: time 0.02223/0.2039, allocations: 10.99 MB / 440.3 MB, free: 1.172 MB / 398.1 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 -s ida -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/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: 5.329819686012343]