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 Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0002856/0.0002856, 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.0001976/0.0001976, 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.1346/0.1346, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] 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.01279/0.01279, 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="-abortSlowSimulation -alarm=240 -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="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") [Timeout 900] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 2.513e-05/2.65e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.Vehicles): time 0.0156/0.01562, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.009447/0.02507, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.002214/0.02728, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.001541/0.02882, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.003344/0.03217, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.003674/0.03584, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.00432/0.04016, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.001676/0.04184, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.003054/0.04489, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.001371/0.04626, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0003214/0.04659, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0003762/0.04696, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0006612/0.04762, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.001081/0.0487, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.003281/0.05199, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.000388/0.05237, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 3.166e-06/0.05238, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 2.243e-05/0.0524, 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.004301/0.0567, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0002109/0.05691, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008685/0.05778, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.002097/0.05988, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002337/0.06011, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.000333/0.06044, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.002646/0.06309, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 0.0001176/0.06321, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001986/0.06341, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-05/0.06347, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001174/0.06465, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008892/0.07354, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.001295/0.07483, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0004165/0.07525, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 6.682e-05/0.07532, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.177e-05/0.07538, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=195): time 1.581e-05/0.07539, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=249): time 0.01054/0.08594, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 8.214e-05/0.08602, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001563/0.08758, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0002437/0.08783, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.000991/0.08882, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0007279/0.08954, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005961/0.09014, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 1.487e-05/0.09016, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003923/0.09055, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007593/0.09131, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.001275/0.09258, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.844e-05/0.09261, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=371) (initialization): time 0.00241/0.09502, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 6.104e-05/0.09508, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-05/0.09511, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.0006217/0.09574, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001539/0.09727, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005524/0.1028, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001459/0.1043, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001955/0.1045, 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: 81 * 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 (335): * Single equations (assignments): 326 * 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.001493/0.1059, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003762/0.1063, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00075/0.1071, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.692e-05/0.1071, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-05/0.1072, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-05/0.1072, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007189/0.1144, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.537e-05/0.1144, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001373/0.1158, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 0.0005551/0.1163, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001478/0.1165, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005202/0.1217, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.915e-05/0.1217, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002669/0.1244, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0006617/0.125, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000538/0.1256, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000973/0.1265, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004471/0.127, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001032/0.1271, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.000651/0.1277, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 4.963e-05/0.1278, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.003109/0.1309, 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.0006721/0.1316, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.002536/0.1341, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 5.251e-05/0.1342, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.001217/0.1354, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003689/0.1391, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006377/0.1454, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00075/0.1462, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0009957/0.1472, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007631/0.1479, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.0001261/0.1481, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.007268/0.1553, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 900] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 1.1015947060659528]