Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.MultiBody.Forces.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses") translateModel(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 106.4 kB / 17.09 MB, free: 5.988 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.001492/0.001492, allocations: 198.2 kB / 18.01 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.297/1.297, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1858/0.1858, allocations: 43.52 MB / 314.8 MB, free: 472 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 71.84 kB / 442.5 MB, free: 5.637 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1091, allocations: 57.79 MB / 0.4886 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses): time 0.0175/0.1267, allocations: 17.39 MB / 0.5055 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01143/0.1381, allocations: 5.495 MB / 0.5109 GB, free: 4.801 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003228/0.1414, allocations: 111.7 kB / 0.511 GB, free: 4.691 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008386/0.1499, allocations: 4.368 MB / 0.5153 GB, free: 316 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007326/0.1572, allocations: 2.758 MB / 0.518 GB, free: 13.54 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003218/0.1605, allocations: 1.459 MB / 0.5194 GB, free: 12.08 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01083/0.1713, allocations: 8.148 MB / 0.5274 GB, free: 3.906 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2385/0.4098, allocations: 5.386 MB / 0.5326 GB, free: 8.219 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004742/0.4146, allocations: 2.682 MB / 0.5352 GB, free: 8.09 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005849/0.4205, allocations: 3.86 MB / 0.539 GB, free: 7.719 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001892/0.4224, allocations: 0.5392 MB / 0.5395 GB, free: 7.719 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004838/0.4272, allocations: 1.622 MB / 0.5411 GB, free: 7.719 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005744/0.433, allocations: 3.405 MB / 0.5444 GB, free: 7.398 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006403/0.4394, allocations: 3.662 MB / 0.548 GB, free: 6.133 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01259/0.452, allocations: 11.23 MB / 0.559 GB, free: 3.316 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.4521, allocations: 0 / 0.559 GB, free: 3.316 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.4521, allocations: 3.594 kB / 0.559 GB, free: 3.316 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003229/0.4524, allocations: 0 / 0.559 GB, free: 3.316 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: 2303 * Number of variables: 2303 Notification: Performance of Generate backend data structure: time 0.01776/0.4702, allocations: 8.229 MB / 0.567 GB, free: 14 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.4702, allocations: 9.469 kB / 0.567 GB, free: 14 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02602/0.4962, allocations: 3.673 MB / 0.5706 GB, free: 12.32 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01312/0.5094, allocations: 5.595 MB / 0.5761 GB, free: 9.254 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002826/0.5097, allocations: 371 kB / 0.5764 GB, free: 9.133 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002087/0.5118, allocations: 0.5214 MB / 0.577 GB, free: 8.988 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03057/0.5424, allocations: 16.24 MB / 0.5928 GB, free: 9.348 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002138/0.5427, allocations: 80.11 kB / 0.5929 GB, free: 9.297 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007298/0.5434, allocations: 237.6 kB / 0.5931 GB, free: 9.117 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004397/0.5478, allocations: 2.925 MB / 0.596 GB, free: 6.23 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02936/0.5772, allocations: 13.7 MB / 0.6093 GB, free: 8.797 MB / 462.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09318/0.6704, allocations: 64.56 MB / 0.6724 GB, free: 7.238 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02409/0.6945, allocations: 7.868 MB / 0.6801 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006858/0.7014, allocations: 4.356 MB / 0.6843 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03582/0.7373, allocations: 19.36 MB / 0.7032 GB, free: 7.008 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.899e-05/0.7374, allocations: 70.73 kB / 0.7033 GB, free: 6.938 MB / 0.545 GB Notification: Performance of pre-optimization done (n=290): time 6.392e-06/0.7374, allocations: 0 / 0.7033 GB, free: 6.938 MB / 0.545 GB Notification: Performance of matching and sorting (n=372): time 0.1853/0.9227, allocations: 49.92 MB / 0.7521 GB, free: 4.977 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000179/0.9229, allocations: 265.8 kB / 0.7523 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2784/1.201, allocations: 6.085 MB / 0.7583 GB, free: 205.1 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001144/1.203, allocations: 80.64 kB / 0.7583 GB, free: 205.1 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.004346/1.207, allocations: 4.679 MB / 0.7629 GB, free: 203.2 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.002554/1.209, allocations: 1.37 MB / 0.7642 GB, free: 202.4 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003772/1.213, allocations: 1.917 MB / 0.7661 GB, free: 202.3 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.65e-05/1.213, allocations: 310.4 kB / 0.7664 GB, free: 202 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006441/1.22, allocations: 4.219 MB / 0.7705 GB, free: 200.7 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009867/1.23, allocations: 9.453 MB / 0.7798 GB, free: 192.4 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01547/1.245, allocations: 14.63 MB / 0.794 GB, free: 181.2 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002794/1.245, allocations: 51.84 kB / 0.7941 GB, free: 181.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1256) (initialization): time 0.03432/1.28, allocations: 17.56 MB / 0.8112 GB, free: 175.2 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002973/1.28, allocations: 81 kB / 0.8113 GB, free: 175.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004635/1.281, allocations: 181.1 kB / 0.8115 GB, free: 175.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01309/1.294, allocations: 4.552 MB / 0.8159 GB, free: 171.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007482/1.301, allocations: 2.127 MB / 0.818 GB, free: 170.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03187/1.333, allocations: 25.36 MB / 0.8428 GB, free: 146.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009507/1.343, allocations: 0.5339 MB / 0.8433 GB, free: 146.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002339/1.345, allocations: 0.539 MB / 0.8438 GB, free: 145.5 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 825 * Number of states: 0 () * Number of discrete variables: 66 (lineForceWithTwoMasses.massColor[3],lineForceWithTwoMasses.massColor[2],lineForceWithTwoMasses.massColor[1],lineForceWithTwoMasses.color_b[3],lineForceWithTwoMasses.color_b[2],lineForceWithTwoMasses.color_b[1],lineForceWithTwoMasses.color_a[3],lineForceWithTwoMasses.color_a[2],lineForceWithTwoMasses.color_a[1],rod4.color[3],rod4.color[2],rod4.color[1],rod3.color[3],rod3.color[2],rod3.color[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],rod1.color[3],rod1.color[2],rod1.color[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1136): * Single equations (assignments): 1131 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,44,100.0%), (2,50,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007974/1.353, allocations: 3.132 MB / 0.8469 GB, free: 142.4 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001647/1.355, allocations: 0.567 MB / 0.8474 GB, free: 141.8 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02305/1.378, allocations: 10.71 MB / 0.8579 GB, free: 131 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-05/1.378, allocations: 23.86 kB / 0.8579 GB, free: 131 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.217e-06/1.378, allocations: 4 kB / 0.8579 GB, free: 131 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00373/1.382, allocations: 1.178 MB / 0.8591 GB, free: 129.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003051/1.385, allocations: 56 kB / 0.8591 GB, free: 129.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005426/1.39, allocations: 220.3 kB / 0.8593 GB, free: 129.5 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001219/1.391, allocations: 294 kB / 0.8596 GB, free: 129.2 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02282/1.414, allocations: 10.39 MB / 0.8698 GB, free: 118.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0162/1.43, allocations: 11.47 MB / 0.881 GB, free: 107.4 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004239/1.435, allocations: 3.242 MB / 0.8841 GB, free: 104.1 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.008579/1.443, allocations: 3.805 MB / 0.8878 GB, free: 100.3 MB / 0.5919 GB Notification: Performance of Backend: time 1.763e-06/1.443, allocations: 0 / 0.8878 GB, free: 100.3 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.02068/1.464, allocations: 7.921 MB / 0.8956 GB, free: 92.43 MB / 0.5919 GB Notification: Performance of SimCode: time 0.03309/1.497, allocations: 15.09 MB / 0.9103 GB, free: 77.33 MB / 0.5919 GB Notification: Performance of Templates: time 0.4285/1.926, allocations: 95.26 MB / 1.003 GB, free: 190.7 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/LineForceWithTwoMasses/LineForceWithTwoMasses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches