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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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: translateModel(ModelicaTest.Translational.Vehicles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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") translateModel(ModelicaTest.Translational.Vehicles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002025/0.002025, allocations: 111.1 kB / 18.45 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002142/0.002142, allocations: 207.9 kB / 19.41 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.848/2.848, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1937/0.1937, allocations: 46.1 MB / 345 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 75.88 kB / 482 MB, free: 4.141 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3281/0.3297, allocations: 62.44 MB / 0.5316 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.Vehicles): time 0.01434/0.3441, allocations: 13.63 MB / 0.545 GB, free: 2.781 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007839/0.3519, allocations: 3.765 MB / 0.5486 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0028/0.3548, allocations: 85.66 kB / 0.5487 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001877/0.3567, allocations: 0.5842 MB / 0.5493 GB, free: 14.99 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004006/0.3607, allocations: 0.8759 MB / 0.5501 GB, free: 14.2 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003039/0.3638, allocations: 1.169 MB / 0.5513 GB, free: 13.17 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005608/0.3694, allocations: 3.84 MB / 0.555 GB, free: 9.727 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002488/0.3719, allocations: 1.455 MB / 0.5565 GB, free: 8.219 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002475/0.3744, allocations: 1.331 MB / 0.5578 GB, free: 6.883 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002154/0.3766, allocations: 1.454 MB / 0.5592 GB, free: 5.422 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008922/0.3775, allocations: 356 kB / 0.5595 GB, free: 5.074 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001188/0.3787, allocations: 364 kB / 0.5599 GB, free: 4.719 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008896/0.3796, allocations: 0.7162 MB / 0.5606 GB, free: 4 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002148/0.3817, allocations: 1.64 MB / 0.5622 GB, free: 2.352 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004248/0.386, allocations: 4.238 MB / 0.5663 GB, free: 14.11 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.77e-06/0.386, allocations: 4 kB / 0.5663 GB, free: 14.1 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.386, allocations: 0 / 0.5663 GB, free: 14.1 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.103e-05/0.3861, allocations: 4 kB / 0.5663 GB, free: 14.1 MB / 430.1 MB 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.005682/0.3917, allocations: 3.392 MB / 0.5696 GB, free: 10.64 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.3918, allocations: 8.031 kB / 0.5696 GB, free: 10.63 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001162/0.393, allocations: 410.6 kB / 0.57 GB, free: 10.23 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002451/0.3954, allocations: 1.616 MB / 0.5716 GB, free: 8.559 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001615/0.3956, allocations: 201.7 kB / 0.5718 GB, free: 8.359 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004229/0.396, allocations: 292.2 kB / 0.5721 GB, free: 8.074 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004888/0.4009, allocations: 2.434 MB / 0.5745 GB, free: 5.57 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001187/0.4011, allocations: 31.78 kB / 0.5745 GB, free: 5.539 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002524/0.4013, allocations: 112 kB / 0.5746 GB, free: 5.43 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.859e-05/0.4014, allocations: 64 kB / 0.5747 GB, free: 5.367 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004322/0.4057, allocations: 1.76 MB / 0.5764 GB, free: 3.609 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01513/0.4209, allocations: 8.777 MB / 0.5849 GB, free: 10.51 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003691/0.4246, allocations: 1.508 MB / 0.5864 GB, free: 8.934 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001597/0.4262, allocations: 0.7572 MB / 0.5872 GB, free: 8.148 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001106/0.4263, allocations: 28.38 kB / 0.5872 GB, free: 8.121 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.517e-05/0.4264, allocations: 70.86 kB / 0.5872 GB, free: 8.043 MB / 446.1 MB Notification: Performance of pre-optimization done (n=195): time 5.47e-06/0.4264, allocations: 0 / 0.5872 GB, free: 8.043 MB / 446.1 MB Notification: Performance of matching and sorting (n=249): time 0.02143/0.4478, allocations: 12.67 MB / 0.5996 GB, free: 10.55 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001334/0.448, allocations: 293 kB / 0.5999 GB, free: 10.2 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002331/0.4503, allocations: 1.795 MB / 0.6017 GB, free: 8.375 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002814/0.4506, allocations: 69.69 kB / 0.6017 GB, free: 8.301 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008929/0.4515, allocations: 1.248 MB / 0.6029 GB, free: 7.043 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007018/0.4522, allocations: 0.914 MB / 0.6038 GB, free: 6.121 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005996/0.4529, allocations: 445.9 kB / 0.6043 GB, free: 5.68 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.479e-05/0.453, allocations: 301.1 kB / 0.6045 GB, free: 5.383 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001462/0.4544, allocations: 0.7121 MB / 0.6052 GB, free: 4.668 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001886/0.4563, allocations: 1.238 MB / 0.6065 GB, free: 3.23 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004034/0.4604, allocations: 2.356 MB / 0.6088 GB, free: 0.6797 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.579e-05/0.4604, allocations: 4 kB / 0.6088 GB, free: 0.6758 MB / 462.1 MB Notification: Performance of matching and sorting (n=353) (initialization): time 0.005263/0.4657, allocations: 2.785 MB / 0.6115 GB, free: 13.85 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.018e-05/0.4657, allocations: 12 kB / 0.6115 GB, free: 13.84 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.512e-05/0.4658, allocations: 16 kB / 0.6115 GB, free: 13.82 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000947/0.4667, allocations: 384.2 kB / 0.6119 GB, free: 13.42 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00221/0.4689, allocations: 0.6046 MB / 0.6125 GB, free: 12.82 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01103/0.48, allocations: 14.12 MB / 0.6262 GB, free: 13.45 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001878/0.4819, allocations: 83.97 kB / 0.6263 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001649/0.4821, allocations: 107.9 kB / 0.6264 GB, free: 13.26 MB / 494.1 MB 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.00123/0.4833, allocations: 0.5748 MB / 0.627 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004801/0.4838, allocations: 270.3 kB / 0.6272 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001034/0.4848, allocations: 0.5411 MB / 0.6278 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-05/0.4849, allocations: 19.89 kB / 0.6278 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.062e-06/0.4849, allocations: 0 / 0.6278 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006818/0.4856, allocations: 495.2 kB / 0.6283 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002561/0.4858, allocations: 52 kB / 0.6283 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001113/0.4869, allocations: 55.98 kB / 0.6284 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003269/0.4873, allocations: 183.6 kB / 0.6285 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006914/0.4942, allocations: 3.213 MB / 0.6317 GB, free: 7.801 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005958/0.5002, allocations: 3.755 MB / 0.6354 GB, free: 4.004 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001553/0.5018, allocations: 0.8745 MB / 0.6362 GB, free: 3.129 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001724/0.5035, allocations: 1.193 MB / 0.6374 GB, free: 1.918 MB / 494.1 MB Notification: Performance of Backend: time 1.002e-06/0.5035, allocations: 4 kB / 0.6374 GB, free: 1.914 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00553/0.5091, allocations: 2.602 MB / 0.6399 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of SimCode: time 0.009581/0.5187, allocations: 7.018 MB / 0.6468 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of Templates: time 0.2606/0.7793, allocations: 30.94 MB / 0.677 GB, free: 9.379 MB / 0.5294 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Translational.Vehicles.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Translational.Vehicles.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Translational.Vehicles.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Translational.Vehicles.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Translational.Vehicles.sim & ./ModelicaTest_trunk_ModelicaTest.Translational.Vehicles -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Translational.Vehicles.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Translational.Vehicles_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Translational/Vehicles/Vehicles.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Translational.Vehicles.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches