Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.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.MultiBody.Forces.LineForceWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009129/0.000918, allocations: 95.19 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001021/0.001021, allocations: 202.2 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.487/1.487, allocations: 227.8 MB / 246.8 MB, free: 11.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.255/0.255, allocations: 46.18 MB / 345.2 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002854/0.0002853, allocations: 8 kB / 419.5 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1353, allocations: 63.55 MB / 483.1 MB, free: 4.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.3707/0.506, allocations: 61.9 MB / 0.5322 GB, free: 8.773 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04387/0.5499, allocations: 12.85 MB / 0.5448 GB, free: 1.391 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01762/0.5676, allocations: 289.4 kB / 0.545 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002797/0.5704, allocations: 0.533 MB / 0.5456 GB, free: 1.129 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008462/0.5789, allocations: 2.196 MB / 0.5477 GB, free: 15.89 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004687/0.5836, allocations: 1.065 MB / 0.5487 GB, free: 15.19 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01489/0.5986, allocations: 9.434 MB / 0.558 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01128/0.6099, allocations: 6.247 MB / 0.5641 GB, free: 3.738 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004932/0.6149, allocations: 1.692 MB / 0.5657 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005859/0.6208, allocations: 2.846 MB / 0.5685 GB, free: 15.18 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001404/0.6222, allocations: 200 kB / 0.5687 GB, free: 14.99 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003865/0.6261, allocations: 1.369 MB / 0.57 GB, free: 13.62 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003585/0.6297, allocations: 2.411 MB / 0.5724 GB, free: 11.2 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005403/0.6351, allocations: 2.676 MB / 0.575 GB, free: 8.5 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01236/0.6475, allocations: 8.747 MB / 0.5835 GB, free: 15.72 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.922e-06/0.6476, allocations: 0 / 0.5835 GB, free: 15.72 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.6476, allocations: 0 / 0.5835 GB, free: 15.72 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003709/0.648, allocations: 0 / 0.5835 GB, free: 15.72 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: 1941 * Number of variables: 1941 Notification: Performance of Generate backend data structure: time 0.01495/0.6629, allocations: 5.578 MB / 0.589 GB, free: 10.07 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.663, allocations: 12.03 kB / 0.589 GB, free: 10.06 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02925/0.6923, allocations: 3.379 MB / 0.5923 GB, free: 6.668 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01178/0.7041, allocations: 4.043 MB / 0.5962 GB, free: 2.566 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003664/0.7045, allocations: 308.5 kB / 0.5965 GB, free: 2.262 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002003/0.7065, allocations: 423.6 kB / 0.5969 GB, free: 1.848 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03182/0.7384, allocations: 13.86 MB / 0.6105 GB, free: 3.113 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003439/0.7387, allocations: 63.45 kB / 0.6105 GB, free: 3.051 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001741/0.7405, allocations: 199.8 kB / 0.6107 GB, free: 2.855 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004668/0.7452, allocations: 2.527 MB / 0.6132 GB, free: 336 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0285/0.7737, allocations: 11.85 MB / 0.6248 GB, free: 4.461 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07515/0.8489, allocations: 53.75 MB / 0.6773 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01733/0.8663, allocations: 5.951 MB / 0.6831 GB, free: 7.082 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005508/0.8718, allocations: 3.596 MB / 0.6866 GB, free: 3.477 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02492/0.8968, allocations: 15.53 MB / 0.7017 GB, free: 3.367 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.396e-05/0.8969, allocations: 64.55 kB / 0.7018 GB, free: 3.297 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=230): time 5.521e-06/0.8969, allocations: 0 / 0.7018 GB, free: 3.297 MB / 0.5294 GB Notification: Performance of matching and sorting (n=267): time 0.3785/1.275, allocations: 28.7 MB / 0.7298 GB, free: 176 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.328e-05/1.276, allocations: 263.5 kB / 0.7301 GB, free: 175.7 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009076/1.285, allocations: 5.054 MB / 0.735 GB, free: 173.9 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000682/1.285, allocations: 60.77 kB / 0.7351 GB, free: 173.9 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002375/1.288, allocations: 3.886 MB / 0.7389 GB, free: 170.9 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001373/1.289, allocations: 0.9991 MB / 0.7398 GB, free: 170.1 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0016/1.291, allocations: 0.6688 MB / 0.7405 GB, free: 169.8 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 5.482e-05/1.291, allocations: 309 kB / 0.7408 GB, free: 169.5 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004624/1.295, allocations: 3.018 MB / 0.7437 GB, free: 167.2 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005935/1.301, allocations: 7.354 MB / 0.7509 GB, free: 157.8 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01011/1.312, allocations: 11.1 MB / 0.7618 GB, free: 144.6 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001237/1.312, allocations: 47.94 kB / 0.7618 GB, free: 144.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.01808/1.33, allocations: 11.2 MB / 0.7728 GB, free: 133.3 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001375/1.33, allocations: 79.94 kB / 0.7728 GB, free: 133.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002039/1.33, allocations: 148 kB / 0.773 GB, free: 133.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002981/1.333, allocations: 1.233 MB / 0.7742 GB, free: 131.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006522/1.34, allocations: 1.829 MB / 0.776 GB, free: 130 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007899/1.348, allocations: 7.778 MB / 0.7836 GB, free: 122 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006238/1.354, allocations: 430.9 kB / 0.784 GB, free: 121.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001245/1.355, allocations: 460 kB / 0.7844 GB, free: 121.1 MB / 0.5294 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.005503/1.361, allocations: 2.63 MB / 0.787 GB, free: 118.5 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00103/1.362, allocations: 458.1 kB / 0.7874 GB, free: 118.1 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008738/1.371, allocations: 5.246 MB / 0.7925 GB, free: 112.8 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.864e-05/1.371, allocations: 31.94 kB / 0.7926 GB, free: 112.8 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-05/1.371, allocations: 8 kB / 0.7926 GB, free: 112.8 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.254e-05/1.371, allocations: 11.95 kB / 0.7926 GB, free: 112.7 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01956/1.39, allocations: 11.76 MB / 0.8041 GB, free: 101 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.867e-05/1.39, allocations: 4.875 kB / 0.8041 GB, free: 101 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002481/1.393, allocations: 0.4954 MB / 0.8046 GB, free: 100.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002536/1.395, allocations: 0.9819 MB / 0.8055 GB, free: 99.5 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002581/1.396, allocations: 49.55 kB / 0.8056 GB, free: 99.45 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006886/1.403, allocations: 7.128 MB / 0.8125 GB, free: 92.06 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/1.403, allocations: 4.062 kB / 0.8125 GB, free: 92.05 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01133/1.414, allocations: 8.743 MB / 0.8211 GB, free: 83.24 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001283/1.415, allocations: 0.4989 MB / 0.8215 GB, free: 82.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001041/1.416, allocations: 44 kB / 0.8216 GB, free: 82.67 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002869/1.419, allocations: 189.5 kB / 0.8218 GB, free: 82.49 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006092/1.42, allocations: 145.7 kB / 0.8219 GB, free: 82.35 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003426/1.42, allocations: 71.98 kB / 0.822 GB, free: 82.28 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00557/1.426, allocations: 3.154 MB / 0.8251 GB, free: 79.14 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.71e-07/1.426, allocations: 3.938 kB / 0.8251 GB, free: 79.13 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006216/1.432, allocations: 1.355 MB / 0.8264 GB, free: 77.78 MB / 0.5294 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.0006643/1.433, allocations: 186.7 kB / 0.8266 GB, free: 77.6 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00944/1.442, allocations: 7.322 MB / 0.8337 GB, free: 70.28 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/1.442, allocations: 4 kB / 0.8337 GB, free: 70.28 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003066/1.445, allocations: 2.57 MB / 0.8362 GB, free: 67.69 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004092/1.449, allocations: 0.5565 MB / 0.8368 GB, free: 67.13 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01769/1.467, allocations: 15.63 MB / 0.852 GB, free: 51.47 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00437/1.471, allocations: 4.113 MB / 0.8561 GB, free: 47.33 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00581/1.477, allocations: 2.361 MB / 0.8584 GB, free: 44.96 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001315/1.479, allocations: 319.4 kB / 0.8587 GB, free: 44.66 MB / 0.5294 GB Notification: Performance of SimCode: time 7.81e-07/1.479, allocations: 0 / 0.8587 GB, free: 44.66 MB / 0.5294 GB Notification: Performance of Templates: time 0.3164/1.795, allocations: 49.26 MB / 0.9068 GB, free: 161.9 MB / 0.5294 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches