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.0009546/0.0009547, allocations: 94.53 kB / 17.35 MB, free: 6.371 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.001158/0.001158, allocations: 172.7 kB / 18.25 MB, free: 5.527 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.432/1.432, allocations: 223.3 MB / 242.3 MB, free: 14.47 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.2269/0.2269, allocations: 44.24 MB / 337.7 MB, free: 2.422 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003252/0.0003253, allocations: 9.344 kB / 410.3 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1365, allocations: 61.92 MB / 472.3 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.3971/0.5336, allocations: 62.32 MB / 0.522 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04293/0.5766, allocations: 13.02 MB / 0.5348 GB, free: 6.441 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01912/0.5957, allocations: 283.5 kB / 0.535 GB, free: 6.395 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002686/0.5985, allocations: 0.5362 MB / 0.5355 GB, free: 6.188 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008468/0.6069, allocations: 2.216 MB / 0.5377 GB, free: 5.449 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003281/0.6102, allocations: 1.074 MB / 0.5388 GB, free: 4.852 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01636/0.6266, allocations: 9.355 MB / 0.5479 GB, free: 356 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01605/0.6427, allocations: 6.265 MB / 0.554 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007232/0.6501, allocations: 1.701 MB / 0.5557 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009303/0.6594, allocations: 2.857 MB / 0.5585 GB, free: 8.035 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001893/0.6614, allocations: 200 kB / 0.5587 GB, free: 7.84 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006365/0.6677, allocations: 1.386 MB / 0.56 GB, free: 6.508 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005858/0.6736, allocations: 2.431 MB / 0.5624 GB, free: 4.082 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006168/0.6798, allocations: 2.702 MB / 0.565 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01777/0.6976, allocations: 8.805 MB / 0.5736 GB, free: 8.777 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.348e-06/0.6977, allocations: 3.984 kB / 0.5736 GB, free: 8.773 MB / 414.1 MB Notification: Performance of FrontEnd: time 5.641e-06/0.6977, allocations: 0 / 0.5736 GB, free: 8.773 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002879/0.698, allocations: 3.938 kB / 0.5736 GB, free: 8.77 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.02236/0.7204, allocations: 5.583 MB / 0.5791 GB, free: 3.145 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.577e-05/0.7205, allocations: 8.031 kB / 0.5791 GB, free: 3.137 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05071/0.7712, allocations: 3.374 MB / 0.5824 GB, free: 15.75 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01681/0.7881, allocations: 4.094 MB / 0.5864 GB, free: 11.65 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004234/0.7885, allocations: 316.8 kB / 0.5867 GB, free: 11.38 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002059/0.7906, allocations: 425.6 kB / 0.5871 GB, free: 11.01 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03263/0.8233, allocations: 13.84 MB / 0.6006 GB, free: 12.43 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000262/0.8236, allocations: 59.53 kB / 0.6007 GB, free: 12.37 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001287/0.8249, allocations: 202.1 kB / 0.6009 GB, free: 12.22 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004517/0.8294, allocations: 2.518 MB / 0.6033 GB, free: 9.715 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02755/0.857, allocations: 11.84 MB / 0.6149 GB, free: 13.86 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08116/0.9382, allocations: 53.75 MB / 0.6674 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01879/0.957, allocations: 5.921 MB / 0.6731 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005995/0.9631, allocations: 3.6 MB / 0.6767 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0263/0.9894, allocations: 15.45 MB / 0.6918 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.075e-05/0.9895, allocations: 60.56 kB / 0.6918 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=230): time 5.5e-06/0.9895, allocations: 0 / 0.6918 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=267): time 0.3601/1.35, allocations: 28.67 MB / 0.7198 GB, free: 185.5 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/1.35, allocations: 263.9 kB / 0.7201 GB, free: 185.2 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008699/1.358, allocations: 5.055 MB / 0.725 GB, free: 183.4 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005906/1.359, allocations: 66.45 kB / 0.7251 GB, free: 183.3 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002266/1.361, allocations: 3.892 MB / 0.7289 GB, free: 180.3 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001353/1.363, allocations: 1.001 MB / 0.7298 GB, free: 179.6 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007261/1.363, allocations: 0.6621 MB / 0.7305 GB, free: 179.3 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.067e-05/1.363, allocations: 301.1 kB / 0.7308 GB, free: 179 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003705/1.367, allocations: 3.008 MB / 0.7337 GB, free: 178 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005207/1.372, allocations: 7.344 MB / 0.7409 GB, free: 171.3 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009829/1.382, allocations: 11.11 MB / 0.7517 GB, free: 161.6 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.977e-05/1.382, allocations: 44 kB / 0.7518 GB, free: 161.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.01756/1.4, allocations: 11.19 MB / 0.7627 GB, free: 150.7 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.45e-05/1.4, allocations: 72.97 kB / 0.7628 GB, free: 150.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001269/1.4, allocations: 148 kB / 0.7629 GB, free: 150.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002788/1.403, allocations: 1.229 MB / 0.7641 GB, free: 149.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006316/1.409, allocations: 1.829 MB / 0.7659 GB, free: 147.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007724/1.417, allocations: 7.785 MB / 0.7735 GB, free: 139.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008055/1.425, allocations: 423.4 kB / 0.7739 GB, free: 138.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001475/1.427, allocations: 450.2 kB / 0.7743 GB, free: 138.5 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.006068/1.433, allocations: 2.631 MB / 0.7769 GB, free: 135.9 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001523/1.434, allocations: 466 kB / 0.7773 GB, free: 135.4 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007994/1.442, allocations: 5.23 MB / 0.7825 GB, free: 130.2 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.382e-05/1.442, allocations: 28 kB / 0.7825 GB, free: 130.1 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.57e-05/1.442, allocations: 11.94 kB / 0.7825 GB, free: 130.1 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.819e-05/1.442, allocations: 11.95 kB / 0.7825 GB, free: 130.1 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01874/1.461, allocations: 11.75 MB / 0.794 GB, free: 118.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.699e-05/1.461, allocations: 3.188 kB / 0.794 GB, free: 118.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002514/1.464, allocations: 0.4915 MB / 0.7945 GB, free: 117.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002658/1.466, allocations: 1.001 MB / 0.7954 GB, free: 116.9 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003538/1.467, allocations: 48.69 kB / 0.7955 GB, free: 116.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006668/1.474, allocations: 7.106 MB / 0.8024 GB, free: 109.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/1.474, allocations: 4 kB / 0.8024 GB, free: 109.4 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01092/1.484, allocations: 8.724 MB / 0.811 GB, free: 100.6 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001438/1.486, allocations: 0.5028 MB / 0.8114 GB, free: 100.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005821/1.487, allocations: 46.94 kB / 0.8115 GB, free: 100.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00214/1.489, allocations: 184.5 kB / 0.8117 GB, free: 99.88 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000526/1.489, allocations: 141.8 kB / 0.8118 GB, free: 99.75 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002104/1.489, allocations: 76.62 kB / 0.8119 GB, free: 99.67 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005629/1.495, allocations: 3.162 MB / 0.815 GB, free: 96.52 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6.01e-07/1.495, allocations: 0 / 0.815 GB, free: 96.52 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008266/1.503, allocations: 1.373 MB / 0.8163 GB, free: 95.16 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.0007154/1.504, allocations: 181.3 kB / 0.8165 GB, free: 94.98 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01044/1.515, allocations: 7.31 MB / 0.8236 GB, free: 87.67 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.016e-05/1.515, allocations: 4 kB / 0.8236 GB, free: 87.67 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003202/1.518, allocations: 2.568 MB / 0.8261 GB, free: 85.08 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004221/1.522, allocations: 0.5756 MB / 0.8267 GB, free: 84.51 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02154/1.544, allocations: 15.63 MB / 0.8419 GB, free: 68.86 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004523/1.548, allocations: 4.105 MB / 0.846 GB, free: 64.73 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006358/1.555, allocations: 2.365 MB / 0.8483 GB, free: 62.36 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001286/1.556, allocations: 323.4 kB / 0.8486 GB, free: 62.04 MB / 0.5294 GB Notification: Performance of SimCode: time 1.112e-06/1.556, allocations: 0 / 0.8486 GB, free: 62.04 MB / 0.5294 GB Notification: Performance of Templates: time 0.3611/1.917, allocations: 49.42 MB / 0.8968 GB, free: 172.4 MB / 0.5294 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