Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Translational.Vehicles.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real [:1:1-1:33:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0004465/0.0004465, allocations: 0 / 0, free: 0 / 0 " [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.0006164/0.0006164, allocations: 0 / 0, free: 0 / 0 " [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.4167/0.4167, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.06842/0.06842, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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: simulate(ModelicaTest.Translational.Vehicles,startTime=0,stopTime=2,tolerance=1e-06,numberOfIntervals=5002,outputFormat="mat",variableFilter="time|vehicleDrag.inertia.phi|vehicleDrag.inertia.w|vehicleDrag.windSpeed.s|vehicleDrag.windSpeed.v|vehicleDragInConst.inertia.phi|vehicleDragInConst.inertia.w|vehicleDragInConst.windSpeed.s|vehicleDragInConst.windSpeed.v|vehicleDragInVar.inertia.phi|vehicleDragInVar.inertia.w|vehicleDragInVar.windSpeed.s|vehicleDragInVar.windSpeed.v|vehicleInclination.inertia.phi|vehicleInclination.inertia.w|vehicleInclination.windSpeed.s|vehicleInclination.windSpeed.v|vehicleInclinationInConst.inertia.phi|vehicleInclinationInConst.inertia.w|vehicleInclinationInConst.windSpeed.s|vehicleInclinationInConst.windSpeed.v|vehicleInclinationInVar.inertia.phi|vehicleInclinationInVar.inertia.w|vehicleInclinationInVar.windSpeed.s|vehicleInclinationInVar.windSpeed.v|vehicleRoll.inertia.phi|vehicleRoll.inertia.w|vehicleRoll.windSpeed.s|vehicleRoll.windSpeed.v|vehicleRollInConst.inertia.phi|vehicleRollInConst.inertia.w|vehicleRollInConst.windSpeed.s|vehicleRollInConst.windSpeed.v|vehicleRollInVar.inertia.phi|vehicleRollInVar.inertia.w|vehicleRollInVar.windSpeed.s|vehicleRollInVar.windSpeed.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Translational.Vehicles",simflags="-alarm=480 -emit_protected -lv LOG_STATS") simulate(ModelicaTest.Translational.Vehicles,startTime=0,stopTime=2,tolerance=1e-06,numberOfIntervals=5002,outputFormat="mat",variableFilter="time|vehicleDrag.inertia.phi|vehicleDrag.inertia.w|vehicleDrag.windSpeed.s|vehicleDrag.windSpeed.v|vehicleDragInConst.inertia.phi|vehicleDragInConst.inertia.w|vehicleDragInConst.windSpeed.s|vehicleDragInConst.windSpeed.v|vehicleDragInVar.inertia.phi|vehicleDragInVar.inertia.w|vehicleDragInVar.windSpeed.s|vehicleDragInVar.windSpeed.v|vehicleInclination.inertia.phi|vehicleInclination.inertia.w|vehicleInclination.windSpeed.s|vehicleInclination.windSpeed.v|vehicleInclinationInConst.inertia.phi|vehicleInclinationInConst.inertia.w|vehicleInclinationInConst.windSpeed.s|vehicleInclinationInConst.windSpeed.v|vehicleInclinationInVar.inertia.phi|vehicleInclinationInVar.inertia.w|vehicleInclinationInVar.windSpeed.s|vehicleInclinationInVar.windSpeed.v|vehicleRoll.inertia.phi|vehicleRoll.inertia.w|vehicleRoll.windSpeed.s|vehicleRoll.windSpeed.v|vehicleRollInConst.inertia.phi|vehicleRollInConst.inertia.w|vehicleRollInConst.windSpeed.s|vehicleRollInConst.windSpeed.v|vehicleRollInVar.inertia.phi|vehicleRollInVar.inertia.w|vehicleRollInVar.windSpeed.s|vehicleRollInVar.windSpeed.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Translational.Vehicles",simflags="-alarm=480 -emit_protected -lv LOG_STATS") [Timeout 1140] "Notification: Performance of FrontEnd - loaded program: time 7.21e-07/7.21e-07, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 2.379e-05/2.452e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.Vehicles): time 0.03199/0.03201, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.01833/0.05034, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.005304/0.05564, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.005131/0.06078, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.006284/0.06706, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.005937/0.073, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.007483/0.08048, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.004006/0.08449, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.006788/0.09127, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.004144/0.09542, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0008983/0.09632, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.001004/0.09732, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.001631/0.09895, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.003643/0.1026, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.01222/0.1148, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.001547/0.1164, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 5.47e-06/0.1164, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 0.0001561/0.1165, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 678 * Number of variables: 678 Notification: Performance of Generate backend data structure: time 0.02028/0.1368, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.000601/0.1374, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006888/0.1443, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.01179/0.1561, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005872/0.1567, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.001614/0.1583, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.019/0.1773, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 0.0004309/0.1777, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009236/0.1786, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001949/0.1788, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01346/0.1923, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04274/0.235, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.008521/0.2436, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.004002/0.2476, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 0.0001934/0.2477, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001535/0.2479, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=195): time 0.0004878/0.2484, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=249): time 0.07938/0.3278, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003574/0.3281, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007987/0.3361, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.001064/0.3372, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.002174/0.3394, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.001674/0.341, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.002974/0.344, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.0003312/0.3443, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.005109/0.3494, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.006206/0.3556, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.01347/0.3691, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.751e-05/0.3692, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=353) (initialization): time 0.0185/0.3877, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 0.000122/0.3878, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.453e-05/0.3879, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.003025/0.3909, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005343/0.3963, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03623/0.4325, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00297/0.4355, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007569/0.4362, allocations: 0 / 0, free: 0 / 0 Warning: Assuming fixed start value for the following 9 variables: vehicleDrag.mass.s:VARIABLE(start = 0.0 unit = \"m\" fixed = true ) \"Absolute position of center of component (s = flange_a.s + L/2 = flange_b.s - L/2)\" type: Real vehicleDragInConst.mass.s:VARIABLE(start = 0.0 unit = \"m\" fixed = true ) \"Absolute position of center of component (s = flange_a.s + L/2 = flange_b.s - L/2)\" type: Real vehicleDragInVar.mass.s:VARIABLE(start = 0.0 unit = \"m\" fixed = true ) \"Absolute position of center of component (s = flange_a.s + L/2 = flange_b.s - L/2)\" type: Real vehicleRoll.mass.s:VARIABLE(start = 0.0 unit = \"m\" fixed = true ) \"Absolute position of center of component (s = flange_a.s + L/2 = flange_b.s - L/2)\" type: Real vehicleRollInConst.mass.s:VARIABLE(start = 0.0 unit = \"m\" fixed = true ) \"Absolute position of center of component (s = flange_a.s + L/2 = flange_b.s - L/2)\" type: Real vehicleRollInVar.mass.s:VARIABLE(start = 0.0 unit = \"m\" fixed = true ) \"Absolute position of center of component (s = flange_a.s + L/2 = flange_b.s - L/2)\" type: Real vehicleInclination.mass.s:VARIABLE(start = 0.0 unit = \"m\" fixed = true ) \"Absolute position of center of component (s = flange_a.s + L/2 = flange_b.s - L/2)\" type: Real vehicleInclinationInConst.mass.s:VARIABLE(start = 0.0 unit = \"m\" fixed = true ) \"Absolute position of center of component (s = flange_a.s + L/2 = flange_b.s - L/2)\" type: Real vehicleInclinationInVar.mass.s:VARIABLE(start = 0.0 unit = \"m\" fixed = true ) \"Absolute position of center of component (s = flange_a.s + L/2 = flange_b.s - L/2)\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (317): * Single equations (assignments): 308 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005039/0.4413, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002676/0.4439, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003797/0.4477, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-05/0.4478, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 8.565e-05/0.4479, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.143e-05/0.4479, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04065/0.4886, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.669e-05/0.4887, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005025/0.4937, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 0.002676/0.4964, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007689/0.4971, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03268/0.5298, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.728e-05/0.5299, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02088/0.5508, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.004373/0.5551, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001372/0.5565, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002822/0.5593, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002555/0.5619, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005509/0.5624, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.00514/0.5676, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 0.0001335/0.5677, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.008207/0.5759, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 52 * Number of states: 36 (vehicleInclinationInVar.mass.s,vehicleInclinationInVar.mass.v,vehicleInclinationInVar.windSpeed.s,vehicleInclinationInVar.windSpeed.v,vehicleInclinationInConst.mass.s,vehicleInclinationInConst.mass.v,vehicleInclinationInConst.windSpeed.s,vehicleInclinationInConst.windSpeed.v,vehicleInclination.mass.s,vehicleInclination.mass.v,vehicleInclination.windSpeed.s,vehicleInclination.windSpeed.v,vehicleRollInVar.mass.s,vehicleRollInVar.mass.v,vehicleRollInVar.windSpeed.s,vehicleRollInVar.windSpeed.v,vehicleRollInConst.mass.s,vehicleRollInConst.mass.v,vehicleRollInConst.windSpeed.s,vehicleRollInConst.windSpeed.v,vehicleRoll.mass.s,vehicleRoll.mass.v,vehicleRoll.windSpeed.s,vehicleRoll.windSpeed.v,vehicleDragInVar.mass.s,vehicleDragInVar.mass.v,vehicleDragInVar.windSpeed.s,vehicleDragInVar.windSpeed.v,vehicleDragInConst.mass.s,vehicleDragInConst.mass.v,vehicleDragInConst.windSpeed.s,vehicleDragInConst.windSpeed.v,vehicleDrag.mass.s,vehicleDrag.mass.v,vehicleDrag.windSpeed.s,vehicleDrag.windSpeed.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (222): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001379/0.5773, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.01385/0.5911, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 2.424e-05/0.5912, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.009439/0.6006, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01347/0.6141, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03054/0.6446, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004779/0.6494, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.002934/0.6523, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00377/0.6561, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.003964/0.6601, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.01446/0.6745, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 1139] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Translational.Vehicles_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Translational/Vehicles/Vehicles.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Translational.Vehicles.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: 2.215667141001177]