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.001893/0.001893, allocations: 105.5 kB / 16.4 MB, free: 6.445 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.001963/0.001963, allocations: 192.1 kB / 17.34 MB, free: 5.719 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.689/1.689, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.2145/0.2145, allocations: 43.53 MB / 314.1 MB, free: 448 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.001377/0.001377, allocations: 77.45 kB / 441.8 MB, free: 5.637 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1253, allocations: 57.78 MB / 499.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.01586/0.1412, allocations: 15.05 MB / 0.5026 GB, free: 12.66 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01184/0.1531, allocations: 5.008 MB / 0.5075 GB, free: 7.637 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003827/0.157, allocations: 99.69 kB / 0.5076 GB, free: 7.539 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007639/0.1646, allocations: 4.022 MB / 0.5115 GB, free: 3.504 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00912/0.1738, allocations: 2.35 MB / 0.5138 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003415/0.1773, allocations: 1.17 MB / 0.5149 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01011/0.1874, allocations: 6.172 MB / 0.521 GB, free: 9.777 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00685/0.1943, allocations: 4.706 MB / 0.5256 GB, free: 5.004 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004932/0.1993, allocations: 2.212 MB / 0.5277 GB, free: 2.785 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3226/0.5219, allocations: 3.038 MB / 0.5307 GB, free: 10.5 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002369/0.5243, allocations: 458.7 kB / 0.5311 GB, free: 10.5 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004951/0.5293, allocations: 1.541 MB / 0.5326 GB, free: 10.5 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004246/0.5336, allocations: 2.762 MB / 0.5353 GB, free: 10.5 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006179/0.5398, allocations: 3.026 MB / 0.5383 GB, free: 9.676 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01646/0.5562, allocations: 9.457 MB / 0.5475 GB, free: 8.305 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.5563, allocations: 0 / 0.5475 GB, free: 8.305 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.5563, allocations: 0 / 0.5475 GB, free: 8.305 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004147/0.5567, allocations: 0 / 0.5475 GB, free: 8.305 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.0239/0.5806, allocations: 6.764 MB / 0.5541 GB, free: 5.758 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.5807, allocations: 8.906 kB / 0.5541 GB, free: 5.758 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02915/0.6098, allocations: 3.3 MB / 0.5574 GB, free: 5.379 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01283/0.6227, allocations: 4.285 MB / 0.5615 GB, free: 3.488 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003351/0.6231, allocations: 317 kB / 0.5618 GB, free: 3.379 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002651/0.6257, allocations: 423.5 kB / 0.5622 GB, free: 3.273 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02741/0.6532, allocations: 13.82 MB / 0.5757 GB, free: 11.13 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001965/0.6534, allocations: 59.23 kB / 0.5758 GB, free: 11.12 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009286/0.6543, allocations: 195.8 kB / 0.576 GB, free: 11.03 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003973/0.6583, allocations: 2.524 MB / 0.5785 GB, free: 9.305 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02646/0.6848, allocations: 11.8 MB / 0.59 GB, free: 13.72 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07882/0.7637, allocations: 53.49 MB / 0.6422 GB, free: 7.441 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01655/0.7802, allocations: 5.915 MB / 0.648 GB, free: 1.387 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00529/0.7856, allocations: 3.588 MB / 0.6515 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0264/0.812, allocations: 15.44 MB / 0.6666 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.111e-05/0.8121, allocations: 68.03 kB / 0.6666 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=230): time 4.659e-06/0.8121, allocations: 0 / 0.6666 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of matching and sorting (n=267): time 0.09754/0.9096, allocations: 28.64 MB / 0.6946 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001548/0.9098, allocations: 265.3 kB / 0.6949 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009982/0.9198, allocations: 5.091 MB / 0.6998 GB, free: 11.75 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0006966/0.9206, allocations: 65.7 kB / 0.6999 GB, free: 11.68 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003274/0.9239, allocations: 3.885 MB / 0.7037 GB, free: 7.797 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001876/0.9258, allocations: 1.004 MB / 0.7047 GB, free: 6.805 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00444/0.9302, allocations: 1.551 MB / 0.7062 GB, free: 5.25 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.9303, allocations: 304.9 kB / 0.7065 GB, free: 4.953 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005346/0.9357, allocations: 3.017 MB / 0.7094 GB, free: 1.934 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009838/0.9456, allocations: 7.343 MB / 0.7166 GB, free: 8.543 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01565/0.9612, allocations: 11.1 MB / 0.7274 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001987/0.9615, allocations: 40 kB / 0.7275 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.02612/0.9876, allocations: 11.2 MB / 0.7384 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001753/0.9878, allocations: 68 kB / 0.7385 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002641/0.9881, allocations: 152 kB / 0.7386 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003516/0.9917, allocations: 1.232 MB / 0.7398 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007233/0.9989, allocations: 1.833 MB / 0.7416 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01126/1.01, allocations: 8.355 MB / 0.7498 GB, free: 5.004 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007909/1.018, allocations: 427.4 kB / 0.7502 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002016/1.02, allocations: 454.7 kB / 0.7506 GB, free: 4.145 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.007447/1.028, allocations: 2.634 MB / 0.7532 GB, free: 1.496 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001493/1.029, allocations: 469.9 kB / 0.7536 GB, free: 1.031 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3212/1.35, allocations: 5.227 MB / 0.7587 GB, free: 207.4 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-05/1.351, allocations: 27.66 kB / 0.7588 GB, free: 207.4 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.07e-05/1.351, allocations: 9.766 kB / 0.7588 GB, free: 207.4 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.603e-05/1.351, allocations: 16.16 kB / 0.7588 GB, free: 207.4 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02789/1.378, allocations: 11.65 MB / 0.7702 GB, free: 204.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.067e-05/1.379, allocations: 0 / 0.7702 GB, free: 204.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00272/1.381, allocations: 0.494 MB / 0.7706 GB, free: 204.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002689/1.384, allocations: 0.9935 MB / 0.7716 GB, free: 204.6 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003618/1.384, allocations: 43.31 kB / 0.7716 GB, free: 204.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007631/1.392, allocations: 7.699 MB / 0.7792 GB, free: 199.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/1.392, allocations: 0 / 0.7792 GB, free: 199.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01227/1.404, allocations: 8.738 MB / 0.7877 GB, free: 196.6 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003004/1.407, allocations: 0.8884 MB / 0.7886 GB, free: 196.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006588/1.408, allocations: 35.78 kB / 0.7886 GB, free: 196.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002014/1.41, allocations: 170.1 kB / 0.7888 GB, free: 196.3 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004269/1.411, allocations: 147.9 kB / 0.7889 GB, free: 196.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002206/1.411, allocations: 75.09 kB / 0.789 GB, free: 196.3 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.005178/1.416, allocations: 3.175 MB / 0.7921 GB, free: 195.2 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.3e-07/1.416, allocations: 7.844 kB / 0.7921 GB, free: 195.2 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.006904/1.423, allocations: 1.373 MB / 0.7934 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.0005019/1.423, allocations: 187.5 kB / 0.7936 GB, free: 194.4 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.009047/1.432, allocations: 7.33 MB / 0.8008 GB, free: 187.6 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/1.432, allocations: 0 / 0.8008 GB, free: 187.6 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002741/1.435, allocations: 2.571 MB / 0.8033 GB, free: 185 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004011/1.439, allocations: 0.5998 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.02116/1.46, allocations: 12.77 MB / 0.8163 GB, free: 171.8 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004376/1.465, allocations: 4.119 MB / 0.8204 GB, free: 167.7 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.005446/1.47, allocations: 2.372 MB / 0.8227 GB, free: 165.3 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001013/1.471, allocations: 319.4 kB / 0.823 GB, free: 165 MB / 0.5919 GB Notification: Performance of SimCode: time 1.392e-06/1.471, allocations: 0 / 0.823 GB, free: 165 MB / 0.5919 GB Notification: Performance of Templates: time 0.07713/1.548, allocations: 48.07 MB / 0.8699 GB, free: 117.1 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