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.001356/0.001356, allocations: 114.9 kB / 18.46 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001705/0.001705, allocations: 206.8 kB / 19.41 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.344/1.344, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2054/0.2054, allocations: 46.09 MB / 345 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 75.83 kB / 482 MB, free: 4.125 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.3072, allocations: 62.44 MB / 0.5316 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.Vehicles): time 0.01449/0.3218, allocations: 13.64 MB / 0.545 GB, free: 2.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008147/0.33, allocations: 3.76 MB / 0.5486 GB, free: 15.54 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002928/0.3329, allocations: 81.97 kB / 0.5487 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001926/0.3349, allocations: 0.5875 MB / 0.5493 GB, free: 14.98 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003282/0.3382, allocations: 0.8302 MB / 0.5501 GB, free: 14.23 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003201/0.3414, allocations: 1.169 MB / 0.5512 GB, free: 13.2 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005988/0.3474, allocations: 3.827 MB / 0.555 GB, free: 9.793 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00273/0.3502, allocations: 1.455 MB / 0.5564 GB, free: 8.285 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002543/0.3527, allocations: 1.331 MB / 0.5577 GB, free: 6.949 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002391/0.3551, allocations: 1.458 MB / 0.5591 GB, free: 5.484 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009738/0.3561, allocations: 356 kB / 0.5595 GB, free: 5.137 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001221/0.3574, allocations: 364 kB / 0.5598 GB, free: 4.781 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009157/0.3583, allocations: 0.7201 MB / 0.5605 GB, free: 4.059 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002798/0.3611, allocations: 1.64 MB / 0.5621 GB, free: 2.41 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005781/0.3669, allocations: 4.218 MB / 0.5662 GB, free: 14.18 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.3669, allocations: 0 / 0.5662 GB, free: 14.18 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3669, allocations: 0 / 0.5662 GB, free: 14.18 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001961/0.3671, allocations: 0 / 0.5662 GB, free: 14.18 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.007699/0.3749, allocations: 3.305 MB / 0.5695 GB, free: 10.81 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.3749, allocations: 12.03 kB / 0.5695 GB, free: 10.8 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00145/0.3764, allocations: 396.8 kB / 0.5699 GB, free: 10.41 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003006/0.3794, allocations: 1.606 MB / 0.5714 GB, free: 8.75 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001629/0.3796, allocations: 197.7 kB / 0.5716 GB, free: 8.555 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005189/0.3801, allocations: 292.1 kB / 0.5719 GB, free: 8.27 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004974/0.3851, allocations: 2.434 MB / 0.5743 GB, free: 5.766 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001428/0.3852, allocations: 31.7 kB / 0.5743 GB, free: 5.734 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002223/0.3855, allocations: 108 kB / 0.5744 GB, free: 5.629 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.905e-05/0.3855, allocations: 64 kB / 0.5745 GB, free: 5.566 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003497/0.389, allocations: 1.76 MB / 0.5762 GB, free: 3.809 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0127/0.4017, allocations: 8.742 MB / 0.5847 GB, free: 10.74 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00294/0.4047, allocations: 1.508 MB / 0.5862 GB, free: 9.16 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001268/0.406, allocations: 0.7649 MB / 0.5869 GB, free: 8.367 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.72e-05/0.4061, allocations: 24.41 kB / 0.587 GB, free: 8.344 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.534e-05/0.4061, allocations: 70.86 kB / 0.587 GB, free: 8.266 MB / 446.1 MB Notification: Performance of pre-optimization done (n=195): time 3.877e-06/0.4061, allocations: 0 / 0.587 GB, free: 8.266 MB / 446.1 MB Notification: Performance of matching and sorting (n=249): time 0.019/0.4251, allocations: 12.41 MB / 0.5991 GB, free: 11.01 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001297/0.4253, allocations: 281 kB / 0.5994 GB, free: 10.68 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002462/0.4278, allocations: 1.795 MB / 0.6012 GB, free: 8.848 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001791/0.428, allocations: 65.7 kB / 0.6012 GB, free: 8.777 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009586/0.4289, allocations: 1.234 MB / 0.6024 GB, free: 7.527 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007283/0.4297, allocations: 0.8663 MB / 0.6033 GB, free: 6.648 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006722/0.4304, allocations: 445.7 kB / 0.6037 GB, free: 6.207 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.337e-05/0.4305, allocations: 305.1 kB / 0.604 GB, free: 5.906 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001448/0.4319, allocations: 0.716 MB / 0.6047 GB, free: 5.188 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001823/0.4337, allocations: 1.234 MB / 0.6059 GB, free: 3.754 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003948/0.4377, allocations: 2.348 MB / 0.6082 GB, free: 1.211 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.453e-05/0.4377, allocations: 8 kB / 0.6082 GB, free: 1.203 MB / 462.1 MB Notification: Performance of matching and sorting (n=353) (initialization): time 0.005045/0.4428, allocations: 2.767 MB / 0.6109 GB, free: 14.4 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.869e-05/0.4428, allocations: 12.41 kB / 0.6109 GB, free: 14.39 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.138e-05/0.4429, allocations: 16 kB / 0.6109 GB, free: 14.37 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001017/0.4439, allocations: 384 kB / 0.6113 GB, free: 13.97 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002226/0.4461, allocations: 0.6007 MB / 0.6119 GB, free: 13.37 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01101/0.4572, allocations: 14.11 MB / 0.6257 GB, free: 14 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001558/0.4587, allocations: 92.09 kB / 0.6258 GB, free: 13.91 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002089/0.4589, allocations: 99.98 kB / 0.6258 GB, free: 13.81 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.001161/0.4601, allocations: 0.5787 MB / 0.6264 GB, free: 13.23 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005818/0.4607, allocations: 252.9 kB / 0.6267 GB, free: 12.98 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001121/0.4618, allocations: 0.5411 MB / 0.6272 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-05/0.4619, allocations: 15.89 kB / 0.6272 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.714e-06/0.4619, allocations: 4 kB / 0.6272 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007821/0.4627, allocations: 477.8 kB / 0.6277 GB, free: 11.92 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003358/0.463, allocations: 56 kB / 0.6277 GB, free: 11.87 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001264/0.4643, allocations: 55.98 kB / 0.6278 GB, free: 11.81 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000307/0.4646, allocations: 175.7 kB / 0.6279 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006306/0.4709, allocations: 3.217 MB / 0.6311 GB, free: 8.383 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00529/0.4762, allocations: 3.734 MB / 0.6347 GB, free: 4.605 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001531/0.4778, allocations: 0.8823 MB / 0.6356 GB, free: 3.723 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001731/0.4795, allocations: 1.197 MB / 0.6367 GB, free: 2.508 MB / 494.1 MB Notification: Performance of Backend: time 4.11e-07/0.4795, allocations: 0 / 0.6367 GB, free: 2.508 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005232/0.4848, allocations: 2.594 MB / 0.6393 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of SimCode: time 0.009891/0.4947, allocations: 6.9 MB / 0.646 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of Templates: time 0.05531/0.55, allocations: 31.7 MB / 0.677 GB, free: 9.336 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