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.0009941/0.0009941, allocations: 97.28 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.001376/0.001376, allocations: 205.3 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.447/1.447, allocations: 227.7 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.2516/0.2516, allocations: 46.19 MB / 345.2 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003002/0.0003002, allocations: 12 kB / 419.5 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.163, allocations: 63.56 MB / 483.1 MB, free: 4.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.3711/0.5342, allocations: 61.9 MB / 0.5322 GB, free: 8.766 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03795/0.5722, allocations: 12.85 MB / 0.5448 GB, free: 1.395 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01877/0.591, allocations: 281.9 kB / 0.545 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002635/0.5937, allocations: 0.5339 MB / 0.5456 GB, free: 1.137 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008723/0.6024, allocations: 2.201 MB / 0.5477 GB, free: 15.91 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003993/0.6064, allocations: 1.07 MB / 0.5487 GB, free: 15.21 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01768/0.6241, allocations: 9.434 MB / 0.558 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01073/0.6349, allocations: 6.239 MB / 0.5641 GB, free: 3.762 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004546/0.6395, allocations: 1.7 MB / 0.5657 GB, free: 2.055 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005263/0.6448, allocations: 2.846 MB / 0.5685 GB, free: 15.2 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001099/0.6459, allocations: 200 kB / 0.5687 GB, free: 15 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003493/0.6495, allocations: 1.361 MB / 0.57 GB, free: 13.64 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00302/0.6525, allocations: 2.411 MB / 0.5724 GB, free: 11.22 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004203/0.6567, allocations: 2.676 MB / 0.575 GB, free: 8.523 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01191/0.6686, allocations: 8.747 MB / 0.5835 GB, free: 15.74 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.337e-06/0.6687, allocations: 4 kB / 0.5835 GB, free: 15.74 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.534e-06/0.6687, allocations: 0 / 0.5835 GB, free: 15.74 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003761/0.6691, allocations: 4 kB / 0.5835 GB, free: 15.73 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.01529/0.6844, allocations: 5.57 MB / 0.589 GB, free: 10.09 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.031e-05/0.6845, allocations: 12.03 kB / 0.589 GB, free: 10.08 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03153/0.716, allocations: 3.383 MB / 0.5923 GB, free: 6.688 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01123/0.7273, allocations: 4.035 MB / 0.5962 GB, free: 2.594 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003718/0.7277, allocations: 312.5 kB / 0.5965 GB, free: 2.285 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001838/0.7295, allocations: 427.6 kB / 0.5969 GB, free: 1.867 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03129/0.7608, allocations: 13.86 MB / 0.6105 GB, free: 3.133 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002508/0.7612, allocations: 59.45 kB / 0.6105 GB, free: 3.074 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008355/0.762, allocations: 199.8 kB / 0.6107 GB, free: 2.879 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004635/0.7667, allocations: 2.523 MB / 0.6132 GB, free: 364 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02835/0.795, allocations: 11.85 MB / 0.6248 GB, free: 4.492 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08413/0.8792, allocations: 53.76 MB / 0.6772 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01772/0.897, allocations: 5.959 MB / 0.6831 GB, free: 7.102 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006188/0.9032, allocations: 3.595 MB / 0.6866 GB, free: 3.5 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02735/0.9306, allocations: 15.53 MB / 0.7017 GB, free: 3.391 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.859e-05/0.9307, allocations: 60.55 kB / 0.7018 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=230): time 6.552e-06/0.9307, allocations: 0 / 0.7018 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of matching and sorting (n=267): time 0.3432/1.274, allocations: 28.71 MB / 0.7298 GB, free: 176 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.061e-05/1.274, allocations: 257.7 kB / 0.7301 GB, free: 175.7 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006246/1.28, allocations: 5.056 MB / 0.735 GB, free: 173.9 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006189/1.281, allocations: 65.39 kB / 0.7351 GB, free: 173.8 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001992/1.283, allocations: 3.891 MB / 0.7389 GB, free: 170.9 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001381/1.284, allocations: 0.9985 MB / 0.7399 GB, free: 170.1 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001009/1.285, allocations: 0.6645 MB / 0.7405 GB, free: 169.7 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 5.281e-05/1.285, allocations: 305.1 kB / 0.7408 GB, free: 169.4 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00392/1.289, allocations: 3.018 MB / 0.7437 GB, free: 167.2 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006142/1.296, allocations: 7.347 MB / 0.7509 GB, free: 157.9 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01198/1.308, allocations: 11.11 MB / 0.7618 GB, free: 144.6 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002273/1.308, allocations: 44 kB / 0.7618 GB, free: 144.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.01885/1.327, allocations: 11.21 MB / 0.7728 GB, free: 133.4 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.268e-05/1.327, allocations: 74.44 kB / 0.7728 GB, free: 133.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001688/1.327, allocations: 156 kB / 0.773 GB, free: 133.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002916/1.33, allocations: 1.227 MB / 0.7742 GB, free: 131.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006254/1.336, allocations: 1.833 MB / 0.776 GB, free: 130.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00764/1.344, allocations: 7.787 MB / 0.7836 GB, free: 122.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006028/1.35, allocations: 435.4 kB / 0.784 GB, free: 121.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001249/1.351, allocations: 444 kB / 0.7844 GB, free: 121.2 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.004595/1.356, allocations: 2.641 MB / 0.787 GB, free: 118.5 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001015/1.357, allocations: 458.1 kB / 0.7874 GB, free: 118.1 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007673/1.365, allocations: 5.242 MB / 0.7925 GB, free: 112.8 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.997e-05/1.365, allocations: 31.94 kB / 0.7926 GB, free: 112.8 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.218e-05/1.365, allocations: 4 kB / 0.7926 GB, free: 112.8 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.055e-05/1.365, allocations: 11.95 kB / 0.7926 GB, free: 112.8 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01701/1.382, allocations: 11.77 MB / 0.8041 GB, free: 101 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-05/1.382, allocations: 0 / 0.8041 GB, free: 101 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00243/1.384, allocations: 0.4954 MB / 0.8046 GB, free: 100.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002386/1.387, allocations: 0.9926 MB / 0.8055 GB, free: 99.54 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002638/1.387, allocations: 47.98 kB / 0.8056 GB, free: 99.49 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006661/1.393, allocations: 7.118 MB / 0.8125 GB, free: 92.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/1.394, allocations: 4 kB / 0.8125 GB, free: 92.09 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01146/1.405, allocations: 8.737 MB / 0.8211 GB, free: 83.29 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001391/1.406, allocations: 0.5067 MB / 0.8216 GB, free: 82.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000697/1.407, allocations: 40 kB / 0.8216 GB, free: 82.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002203/1.409, allocations: 187.8 kB / 0.8218 GB, free: 82.53 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004013/1.41, allocations: 145.7 kB / 0.8219 GB, free: 82.39 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001815/1.41, allocations: 75.66 kB / 0.822 GB, free: 82.32 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004602/1.415, allocations: 3.157 MB / 0.8251 GB, free: 79.18 MB / 0.5294 GB Notification: Performance of sort global known variables: time 5.01e-07/1.415, allocations: 0 / 0.8251 GB, free: 79.18 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008812/1.423, allocations: 1.35 MB / 0.8264 GB, free: 77.83 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.001021/1.424, allocations: 184.7 kB / 0.8266 GB, free: 77.64 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0119/1.436, allocations: 7.324 MB / 0.8337 GB, free: 70.32 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.157e-06/1.436, allocations: 0 / 0.8337 GB, free: 70.32 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003348/1.44, allocations: 2.579 MB / 0.8362 GB, free: 67.73 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004617/1.444, allocations: 0.558 MB / 0.8368 GB, free: 67.17 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02121/1.466, allocations: 15.63 MB / 0.852 GB, free: 51.52 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003982/1.47, allocations: 4.097 MB / 0.856 GB, free: 47.39 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006604/1.476, allocations: 2.368 MB / 0.8584 GB, free: 45.02 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001242/1.478, allocations: 323.4 kB / 0.8587 GB, free: 44.7 MB / 0.5294 GB Notification: Performance of SimCode: time 1.753e-06/1.478, allocations: 4 kB / 0.8587 GB, free: 44.7 MB / 0.5294 GB Notification: Performance of Templates: time 0.3365/1.814, 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