Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.MultiBody.Forces.LineForceWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_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.001169/0.001169, allocations: 109.5 kB / 17.78 MB, free: 5.289 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.001124/0.001124, allocations: 188.8 kB / 18.71 MB, free: 4.371 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.279/1.279, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.1961/0.1961, allocations: 44.18 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 67.89 kB / 470.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3063/0.3075, allocations: 60.83 MB / 0.5189 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.0144/0.322, allocations: 15.01 MB / 0.5336 GB, free: 8.727 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01029/0.3323, allocations: 4.992 MB / 0.5384 GB, free: 4.797 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002304/0.3346, allocations: 101.7 kB / 0.5385 GB, free: 4.777 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00664/0.3413, allocations: 4.018 MB / 0.5425 GB, free: 2.082 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006017/0.3474, allocations: 2.353 MB / 0.5448 GB, free: 396 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002524/0.3499, allocations: 1.157 MB / 0.5459 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.009187/0.3591, allocations: 6.513 MB / 0.5523 GB, free: 9.848 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005331/0.3645, allocations: 4.696 MB / 0.5568 GB, free: 5.086 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003192/0.3677, allocations: 2.204 MB / 0.559 GB, free: 2.875 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003646/0.3714, allocations: 3.038 MB / 0.562 GB, free: 15.83 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008495/0.3722, allocations: 456 kB / 0.5624 GB, free: 15.38 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002496/0.3748, allocations: 1.549 MB / 0.5639 GB, free: 13.83 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002177/0.3769, allocations: 2.759 MB / 0.5666 GB, free: 11.07 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002894/0.3799, allocations: 3.018 MB / 0.5695 GB, free: 8.031 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00872/0.3886, allocations: 9.449 MB / 0.5788 GB, free: 14.55 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.3886, allocations: 0 / 0.5788 GB, free: 14.55 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.3886, allocations: 0 / 0.5788 GB, free: 14.55 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000187/0.3888, allocations: 4 kB / 0.5788 GB, free: 14.55 MB / 446.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.01259/0.4014, allocations: 6.741 MB / 0.5854 GB, free: 7.727 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.4015, allocations: 15.97 kB / 0.5854 GB, free: 7.711 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02613/0.4276, allocations: 3.301 MB / 0.5886 GB, free: 4.398 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008869/0.4365, allocations: 4.183 MB / 0.5927 GB, free: 160 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002035/0.4367, allocations: 308.4 kB / 0.593 GB, free: 15.85 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007937/0.4375, allocations: 431.5 kB / 0.5934 GB, free: 15.43 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02186/0.4594, allocations: 13.81 MB / 0.6069 GB, free: 0.7422 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001407/0.4596, allocations: 59.44 kB / 0.6069 GB, free: 0.6836 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005121/0.4601, allocations: 195.8 kB / 0.6071 GB, free: 0.4922 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003827/0.4639, allocations: 2.527 MB / 0.6096 GB, free: 13.96 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02429/0.4882, allocations: 11.81 MB / 0.6211 GB, free: 2.145 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06748/0.5557, allocations: 53.46 MB / 0.6733 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01621/0.572, allocations: 5.92 MB / 0.6791 GB, free: 5.086 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004627/0.5767, allocations: 3.592 MB / 0.6826 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02204/0.5987, allocations: 15.44 MB / 0.6977 GB, free: 1.477 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.628e-05/0.5988, allocations: 64.5 kB / 0.6978 GB, free: 1.406 MB / 0.545 GB Notification: Performance of pre-optimization done (n=230): time 5.11e-06/0.5988, allocations: 0 / 0.6978 GB, free: 1.406 MB / 0.545 GB Notification: Performance of matching and sorting (n=267): time 0.3405/0.9393, allocations: 28.6 MB / 0.7257 GB, free: 166.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.73e-05/0.9394, allocations: 257.7 kB / 0.7259 GB, free: 166.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006415/0.9459, allocations: 5.057 MB / 0.7309 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004437/0.9463, allocations: 67.75 kB / 0.7309 GB, free: 164.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001896/0.9482, allocations: 3.89 MB / 0.7347 GB, free: 161.3 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008498/0.9491, allocations: 1.001 MB / 0.7357 GB, free: 160.6 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001788/0.9509, allocations: 1.551 MB / 0.7372 GB, free: 159.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.882e-05/0.9509, allocations: 305.7 kB / 0.7375 GB, free: 159.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003171/0.9541, allocations: 3.006 MB / 0.7405 GB, free: 158.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004243/0.9584, allocations: 7.352 MB / 0.7476 GB, free: 151.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008079/0.9665, allocations: 11.09 MB / 0.7585 GB, free: 143 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.506e-05/0.9665, allocations: 41.56 kB / 0.7585 GB, free: 143 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.0141/0.9807, allocations: 11.19 MB / 0.7694 GB, free: 132 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.255e-05/0.9808, allocations: 75.94 kB / 0.7695 GB, free: 132 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000109/0.9809, allocations: 148 kB / 0.7696 GB, free: 131.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002472/0.9834, allocations: 1.233 MB / 0.7709 GB, free: 130.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005369/0.9887, allocations: 1.836 MB / 0.7726 GB, free: 128.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007241/0.996, allocations: 8.353 MB / 0.7808 GB, free: 120.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005908/1.002, allocations: 430.3 kB / 0.7812 GB, free: 119.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001078/1.003, allocations: 452 kB / 0.7816 GB, free: 119.3 MB / 0.5606 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.004028/1.007, allocations: 2.635 MB / 0.7842 GB, free: 116.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001029/1.008, allocations: 458.1 kB / 0.7847 GB, free: 116.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007416/1.016, allocations: 5.237 MB / 0.7898 GB, free: 110.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.402e-05/1.016, allocations: 28 kB / 0.7898 GB, free: 110.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.597e-05/1.016, allocations: 8 kB / 0.7898 GB, free: 110.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.869e-05/1.016, allocations: 11.95 kB / 0.7898 GB, free: 110.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01842/1.034, allocations: 11.64 MB / 0.8012 GB, free: 99.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-05/1.034, allocations: 0 / 0.8012 GB, free: 99.23 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002307/1.036, allocations: 0.4915 MB / 0.8017 GB, free: 98.74 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002341/1.039, allocations: 0.9886 MB / 0.8026 GB, free: 97.74 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002945/1.039, allocations: 51.98 kB / 0.8027 GB, free: 97.69 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006534/1.046, allocations: 7.693 MB / 0.8102 GB, free: 89.72 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/1.046, allocations: 4.078 kB / 0.8102 GB, free: 89.72 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01105/1.057, allocations: 8.741 MB / 0.8187 GB, free: 80.91 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00194/1.059, allocations: 0.4952 MB / 0.8192 GB, free: 80.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001111/1.06, allocations: 44 kB / 0.8193 GB, free: 80.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002605/1.062, allocations: 171.8 kB / 0.8194 GB, free: 80.18 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003831/1.063, allocations: 149.7 kB / 0.8196 GB, free: 80.03 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001923/1.063, allocations: 71.98 kB / 0.8196 GB, free: 79.96 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00464/1.068, allocations: 3.166 MB / 0.8227 GB, free: 76.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.3e-07/1.068, allocations: 0 / 0.8227 GB, free: 76.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006109/1.074, allocations: 1.376 MB / 0.8241 GB, free: 75.44 MB / 0.5606 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.0005865/1.074, allocations: 177.5 kB / 0.8242 GB, free: 75.26 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009326/1.084, allocations: 7.335 MB / 0.8314 GB, free: 67.93 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/1.084, allocations: 4.062 kB / 0.8314 GB, free: 67.93 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00276/1.086, allocations: 2.566 MB / 0.8339 GB, free: 65.34 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004334/1.091, allocations: 0.5934 MB / 0.8345 GB, free: 64.75 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01784/1.109, allocations: 12.75 MB / 0.8469 GB, free: 51.99 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004672/1.113, allocations: 4.097 MB / 0.8509 GB, free: 47.86 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004783/1.118, allocations: 2.376 MB / 0.8533 GB, free: 45.48 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009907/1.119, allocations: 323.4 kB / 0.8536 GB, free: 45.16 MB / 0.5606 GB Notification: Performance of SimCode: time 1.092e-06/1.119, allocations: 0 / 0.8536 GB, free: 45.16 MB / 0.5606 GB Notification: Performance of Templates: time 0.07299/1.192, allocations: 47.98 MB / 0.9004 GB, free: 13.56 MB / 0.5762 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/LineForceWithMass/LineForceWithMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches