Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Translational.Vehicles.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Translational.Vehicles") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 113.9 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 186.1 kB / 19.39 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 222.9 MB / 243.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2275/0.2275, allocations: 44.18 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002071/0.002071, allocations: 59.89 kB / 471.2 MB, free: 13.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3852/0.3873, allocations: 60.82 MB / 0.5195 GB, free: 3.582 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.Vehicles): time 0.01606/0.4034, allocations: 13.62 MB / 0.5329 GB, free: 9.676 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01006/0.4135, allocations: 3.681 MB / 0.5364 GB, free: 6.516 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004152/0.4177, allocations: 80.06 kB / 0.5365 GB, free: 6.492 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003222/0.4209, allocations: 0.5842 MB / 0.5371 GB, free: 5.961 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00485/0.4258, allocations: 0.8724 MB / 0.5379 GB, free: 5.176 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003553/0.4294, allocations: 1.149 MB / 0.5391 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.007997/0.4374, allocations: 3.849 MB / 0.5428 GB, free: 1.738 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003312/0.4407, allocations: 1.445 MB / 0.5442 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003621/0.4444, allocations: 1.325 MB / 0.5455 GB, free: 20 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003098/0.4475, allocations: 1.454 MB / 0.547 GB, free: 14.94 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001436/0.4489, allocations: 356.7 kB / 0.5473 GB, free: 14.94 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002165/0.4511, allocations: 355.7 kB / 0.5476 GB, free: 14.94 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001267/0.4524, allocations: 0.718 MB / 0.5483 GB, free: 14.3 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004102/0.4565, allocations: 1.64 MB / 0.5499 GB, free: 12.81 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005747/0.4623, allocations: 4.218 MB / 0.5541 GB, free: 8.586 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.4623, allocations: 0 / 0.5541 GB, free: 8.586 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4623, allocations: 0 / 0.5541 GB, free: 8.586 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001578/0.4625, allocations: 0 / 0.5541 GB, free: 8.586 MB / 414.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.008117/0.4706, allocations: 3.301 MB / 0.5573 GB, free: 5.219 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.4706, allocations: 11.97 kB / 0.5573 GB, free: 5.207 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005818/0.4712, allocations: 344.8 kB / 0.5576 GB, free: 4.867 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002746/0.474, allocations: 1.599 MB / 0.5592 GB, free: 3.215 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001263/0.4741, allocations: 201.6 kB / 0.5594 GB, free: 3.016 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003699/0.4745, allocations: 292.1 kB / 0.5596 GB, free: 2.73 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004404/0.4789, allocations: 2.438 MB / 0.562 GB, free: 228 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001003/0.479, allocations: 27.7 kB / 0.5621 GB, free: 200 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002235/0.4793, allocations: 119.9 kB / 0.5622 GB, free: 80 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.16e-05/0.4793, allocations: 64 kB / 0.5622 GB, free: 16 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00345/0.4828, allocations: 1.756 MB / 0.5639 GB, free: 14.26 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01458/0.4974, allocations: 8.734 MB / 0.5725 GB, free: 5.199 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003217/0.5006, allocations: 1.511 MB / 0.574 GB, free: 3.617 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001379/0.502, allocations: 0.764 MB / 0.5747 GB, free: 2.828 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.667e-05/0.5022, allocations: 24.39 kB / 0.5747 GB, free: 2.805 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.232e-05/0.5022, allocations: 66.44 kB / 0.5748 GB, free: 2.73 MB / 430.1 MB Notification: Performance of pre-optimization done (n=195): time 5.791e-06/0.5022, allocations: 0 / 0.5748 GB, free: 2.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=249): time 0.02256/0.5248, allocations: 12.38 MB / 0.5869 GB, free: 5.508 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001516/0.525, allocations: 293 kB / 0.5872 GB, free: 5.16 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003118/0.5281, allocations: 1.794 MB / 0.5889 GB, free: 3.332 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002095/0.5283, allocations: 73.64 kB / 0.589 GB, free: 3.254 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009876/0.5293, allocations: 1.222 MB / 0.5902 GB, free: 2.02 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007877/0.5301, allocations: 0.8624 MB / 0.591 GB, free: 1.145 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007678/0.5309, allocations: 449.7 kB / 0.5914 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.831e-05/0.531, allocations: 301.1 kB / 0.5917 GB, free: 412 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001605/0.5326, allocations: 0.7161 MB / 0.5924 GB, free: 15.68 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002004/0.5347, allocations: 1.234 MB / 0.5936 GB, free: 14.25 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004304/0.539, allocations: 2.349 MB / 0.5959 GB, free: 11.71 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.102e-05/0.539, allocations: 4 kB / 0.5959 GB, free: 11.7 MB / 462.1 MB Notification: Performance of matching and sorting (n=353) (initialization): time 0.005561/0.5446, allocations: 2.78 MB / 0.5986 GB, free: 8.887 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.682e-05/0.5446, allocations: 16 kB / 0.5987 GB, free: 8.871 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.884e-05/0.5447, allocations: 16 kB / 0.5987 GB, free: 8.855 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001104/0.5458, allocations: 375.5 kB / 0.599 GB, free: 8.461 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002326/0.5481, allocations: 0.6007 MB / 0.5996 GB, free: 7.859 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01192/0.56, allocations: 14.11 MB / 0.6134 GB, free: 8.496 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001997/0.5621, allocations: 83.97 kB / 0.6135 GB, free: 8.414 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003793/0.5625, allocations: 108 kB / 0.6136 GB, free: 8.309 MB / 478.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.001608/0.5641, allocations: 0.569 MB / 0.6141 GB, free: 7.734 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007724/0.5649, allocations: 256.8 kB / 0.6144 GB, free: 7.48 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001298/0.5662, allocations: 0.5404 MB / 0.6149 GB, free: 6.934 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.005e-05/0.5662, allocations: 19.89 kB / 0.6149 GB, free: 6.914 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.064e-06/0.5662, allocations: 0 / 0.6149 GB, free: 6.914 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001004/0.5672, allocations: 481.9 kB / 0.6154 GB, free: 6.422 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000465/0.5677, allocations: 48 kB / 0.6154 GB, free: 6.375 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001506/0.5692, allocations: 60.05 kB / 0.6155 GB, free: 6.316 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003698/0.5696, allocations: 195.6 kB / 0.6157 GB, free: 6.125 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007037/0.5767, allocations: 3.201 MB / 0.6188 GB, free: 2.883 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00625/0.5829, allocations: 3.718 MB / 0.6224 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001761/0.5847, allocations: 0.8871 MB / 0.6233 GB, free: 14.24 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002745/0.5875, allocations: 1.189 MB / 0.6245 GB, free: 13.03 MB / 494.1 MB Notification: Performance of Backend: time 6.22e-07/0.5875, allocations: 0 / 0.6245 GB, free: 13.03 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006504/0.594, allocations: 2.596 MB / 0.627 GB, free: 10.32 MB / 494.1 MB Notification: Performance of SimCode: time 0.01161/0.6056, allocations: 6.905 MB / 0.6337 GB, free: 3.375 MB / 494.1 MB Notification: Performance of Templates: time 0.05944/0.6651, allocations: 30.84 MB / 0.6639 GB, free: 4.758 MB / 0.5137 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Translational.Vehicles.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Translational.Vehicles.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Translational.Vehicles.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Translational.Vehicles.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Translational.Vehicles.sim & ./ModelicaTest_4.0.0_ModelicaTest.Translational.Vehicles -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Translational.Vehicles.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Translational.Vehicles.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches