Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.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.LineForceWithMass,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.LineForceWithMass") translateModel(ModelicaTest.MultiBody.Forces.LineForceWithMass,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.LineForceWithMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001478/0.001478, allocations: 107 kB / 16.41 MB, free: 6.488 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.001501/0.001501, allocations: 188.1 kB / 17.34 MB, free: 5.766 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.615/1.615, allocations: 205.1 MB / 223.2 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.2284/0.2284, allocations: 43.52 MB / 314.1 MB, free: 468 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.001453/0.001453, allocations: 63.91 kB / 441.8 MB, free: 5.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.145, allocations: 57.79 MB / 499.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.01589/0.1609, allocations: 15.04 MB / 0.5026 GB, free: 12.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0117/0.1727, allocations: 5.008 MB / 0.5075 GB, free: 7.664 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003198/0.1759, allocations: 103.7 kB / 0.5076 GB, free: 7.562 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007911/0.1838, allocations: 4.026 MB / 0.5115 GB, free: 3.523 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008943/0.1929, allocations: 2.424 MB / 0.5139 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003552/0.1965, allocations: 1.17 MB / 0.515 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01128/0.2078, allocations: 6.172 MB / 0.5211 GB, free: 9.727 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007304/0.2151, allocations: 4.698 MB / 0.5256 GB, free: 4.961 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005189/0.2203, allocations: 2.212 MB / 0.5278 GB, free: 2.742 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.311/0.5314, allocations: 3.031 MB / 0.5308 GB, free: 10.48 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001938/0.5334, allocations: 459.2 kB / 0.5312 GB, free: 10.48 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004759/0.5381, allocations: 1.544 MB / 0.5327 GB, free: 10.48 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004177/0.5423, allocations: 2.769 MB / 0.5354 GB, free: 10.48 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006426/0.5488, allocations: 3.015 MB / 0.5384 GB, free: 9.648 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01541/0.5642, allocations: 9.46 MB / 0.5476 GB, free: 8.277 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.817e-06/0.5643, allocations: 0 / 0.5476 GB, free: 8.277 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.5643, allocations: 0 / 0.5476 GB, free: 8.277 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004573/0.5647, allocations: 0 / 0.5476 GB, free: 8.277 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: 1941 * Number of variables: 1941 Notification: Performance of Generate backend data structure: time 0.02474/0.5895, allocations: 6.764 MB / 0.5542 GB, free: 5.73 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.462e-05/0.5896, allocations: 8.844 kB / 0.5542 GB, free: 5.73 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02714/0.6167, allocations: 3.301 MB / 0.5574 GB, free: 5.352 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0117/0.6285, allocations: 4.29 MB / 0.5616 GB, free: 3.449 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003024/0.6288, allocations: 313.8 kB / 0.5619 GB, free: 3.344 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002829/0.6316, allocations: 434.3 kB / 0.5623 GB, free: 3.23 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03929/0.6709, allocations: 13.81 MB / 0.5758 GB, free: 11.1 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005099/0.6715, allocations: 62.58 kB / 0.5759 GB, free: 11.09 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002847/0.6744, allocations: 201.6 kB / 0.5761 GB, free: 11 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006585/0.681, allocations: 2.523 MB / 0.5785 GB, free: 9.301 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04685/0.7279, allocations: 11.8 MB / 0.5901 GB, free: 13.72 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1158/0.8438, allocations: 53.48 MB / 0.6423 GB, free: 7.441 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01813/0.8619, allocations: 5.917 MB / 0.6481 GB, free: 1.387 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005977/0.868, allocations: 3.593 MB / 0.6516 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02709/0.8951, allocations: 15.43 MB / 0.6666 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.356e-05/0.8952, allocations: 64.22 kB / 0.6667 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=230): time 7.544e-06/0.8952, allocations: 0 / 0.6667 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of matching and sorting (n=267): time 0.1016/0.9968, allocations: 28.65 MB / 0.6947 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002321/0.9971, allocations: 265.1 kB / 0.6949 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009077/1.006, allocations: 5.089 MB / 0.6999 GB, free: 11.74 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0007964/1.007, allocations: 65.7 kB / 0.7 GB, free: 11.67 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003568/1.011, allocations: 3.894 MB / 0.7038 GB, free: 7.781 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001484/1.012, allocations: 1.002 MB / 0.7047 GB, free: 6.789 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002453/1.015, allocations: 1.543 MB / 0.7063 GB, free: 5.238 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000215/1.015, allocations: 305.1 kB / 0.7065 GB, free: 4.938 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005464/1.02, allocations: 3.009 MB / 0.7095 GB, free: 1.926 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009373/1.03, allocations: 7.344 MB / 0.7167 GB, free: 8.535 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01783/1.047, allocations: 11.1 MB / 0.7275 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001626/1.048, allocations: 44 kB / 0.7275 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.02371/1.071, allocations: 11.19 MB / 0.7385 GB, free: 0.9102 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002434/1.072, allocations: 75.94 kB / 0.7385 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003872/1.072, allocations: 152.2 kB / 0.7387 GB, free: 0.6875 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003712/1.076, allocations: 1.228 MB / 0.7399 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006884/1.083, allocations: 1.829 MB / 0.7417 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01024/1.093, allocations: 8.355 MB / 0.7498 GB, free: 4.992 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006688/1.1, allocations: 436.7 kB / 0.7502 GB, free: 4.566 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001645/1.101, allocations: 455.2 kB / 0.7507 GB, free: 4.125 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 687 * Number of states: 0 () * Number of discrete variables: 57 (lineForceWithMass.lineShapeColor[3],lineForceWithMass.lineShapeColor[2],lineForceWithMass.lineShapeColor[1],lineForceWithMass.massColor[3],lineForceWithMass.massColor[2],lineForceWithMass.massColor[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],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 (954): * Single equations (assignments): 949 * 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,12,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008286/1.11, allocations: 2.631 MB / 0.7533 GB, free: 1.48 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001901/1.112, allocations: 473.9 kB / 0.7537 GB, free: 1.012 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2757/1.387, allocations: 5.222 MB / 0.7588 GB, free: 207.2 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-05/1.387, allocations: 29.72 kB / 0.7588 GB, free: 207.2 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.292e-05/1.387, allocations: 9.281 kB / 0.7588 GB, free: 207.2 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.54e-05/1.387, allocations: 16.7 kB / 0.7589 GB, free: 207.2 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02776/1.415, allocations: 11.64 MB / 0.7702 GB, free: 204.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.041e-05/1.415, allocations: 0 / 0.7702 GB, free: 204.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00265/1.418, allocations: 0.4978 MB / 0.7707 GB, free: 204.6 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002573/1.421, allocations: 0.985 MB / 0.7717 GB, free: 204.4 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004074/1.421, allocations: 52.41 kB / 0.7717 GB, free: 204.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007224/1.428, allocations: 7.696 MB / 0.7792 GB, free: 199.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/1.428, allocations: 5.766 kB / 0.7792 GB, free: 199.7 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01267/1.441, allocations: 8.735 MB / 0.7878 GB, free: 196.4 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002759/1.444, allocations: 0.8866 MB / 0.7886 GB, free: 196.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006896/1.444, allocations: 43.53 kB / 0.7887 GB, free: 196.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001945/1.446, allocations: 169.9 kB / 0.7888 GB, free: 196.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003757/1.447, allocations: 147.9 kB / 0.789 GB, free: 196.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001912/1.447, allocations: 80.67 kB / 0.7891 GB, free: 196.1 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.005355/1.452, allocations: 3.177 MB / 0.7922 GB, free: 195 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.01e-07/1.452, allocations: 0 / 0.7922 GB, free: 195 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.007534/1.46, allocations: 1.368 MB / 0.7935 GB, free: 194.6 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.w) * 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 (227): * Single equations (assignments): 222 * 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 {(1,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005747/1.461, allocations: 187 kB / 0.7937 GB, free: 194.4 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.009751/1.47, allocations: 7.327 MB / 0.8008 GB, free: 187.5 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.764e-06/1.47, allocations: 0 / 0.8008 GB, free: 187.5 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003054/1.473, allocations: 2.572 MB / 0.8033 GB, free: 184.9 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003942/1.477, allocations: 0.5964 MB / 0.8039 GB, free: 184.4 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02226/1.5, allocations: 12.78 MB / 0.8164 GB, free: 171.7 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004536/1.504, allocations: 4.121 MB / 0.8204 GB, free: 167.6 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.005442/1.51, allocations: 2.367 MB / 0.8227 GB, free: 165.2 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00122/1.511, allocations: 323.4 kB / 0.8231 GB, free: 164.9 MB / 0.5919 GB Notification: Performance of SimCode: time 1.693e-06/1.511, allocations: 0 / 0.8231 GB, free: 164.9 MB / 0.5919 GB Notification: Performance of Templates: time 0.08396/1.595, allocations: 48.01 MB / 0.8699 GB, free: 117 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/LineForceWithMass/LineForceWithMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches