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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.00179/0.00179, allocations: 183.3 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.787/1.787, allocations: 205.4 MB / 221.9 MB, free: 13.83 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001071/0.001071, allocations: 90.86 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2103/0.2103, allocations: 43.56 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000325/0.000325, allocations: 8 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1248, allocations: 58.86 MB / 490.2 MB, free: 8.668 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3426/0.4674, allocations: 111.7 MB / 0.5879 GB, free: 4.355 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001967/0.4677, allocations: 83.08 kB / 0.5879 GB, free: 4.312 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2942/0.7619, allocations: 111.4 MB / 0.6967 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.904e-06/0.7619, allocations: 0 / 0.6967 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004715/0.7624, allocations: 115.9 kB / 0.6968 GB, free: 12.54 MB / 0.4948 GB 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.02458/0.787, allocations: 6.368 MB / 0.703 GB, free: 6.086 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 7.077e-05/0.7871, allocations: 8.031 kB / 0.703 GB, free: 6.078 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2901/1.077, allocations: 6.89 MB / 0.7098 GB, free: 106.6 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02189/1.099, allocations: 7.104 MB / 0.7167 GB, free: 106.3 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005552/1.1, allocations: 419.3 kB / 0.7171 GB, free: 106.3 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003029/1.103, allocations: 0.5403 MB / 0.7176 GB, free: 106.3 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02971/1.133, allocations: 14.13 MB / 0.7314 GB, free: 103.2 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002859/1.133, allocations: 76.86 kB / 0.7315 GB, free: 103.2 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001172/1.134, allocations: 260.3 kB / 0.7317 GB, free: 103.2 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001646/1.136, allocations: 1.359 MB / 0.7331 GB, free: 103.2 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02477/1.16, allocations: 11.74 MB / 0.7445 GB, free: 103.1 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07425/1.235, allocations: 60.74 MB / 0.8038 GB, free: 61.9 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01691/1.252, allocations: 5.813 MB / 0.8095 GB, free: 59.89 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02376/1.276, allocations: 14.74 MB / 0.8239 GB, free: 51.94 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.659e-05/1.276, allocations: 58.19 kB / 0.824 GB, free: 51.89 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=227): time 6.632e-06/1.276, allocations: 0 / 0.824 GB, free: 51.89 MB / 0.4948 GB Notification: Performance of matching and sorting (n=264): time 0.07678/1.352, allocations: 25.62 MB / 0.849 GB, free: 33.46 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.642e-05/1.353, allocations: 261.3 kB / 0.8492 GB, free: 33.15 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008438/1.361, allocations: 4.464 MB / 0.8536 GB, free: 29.39 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005719/1.362, allocations: 72.47 kB / 0.8537 GB, free: 29.32 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002209/1.364, allocations: 3.984 MB / 0.8576 GB, free: 25.74 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009644/1.365, allocations: 0.9822 MB / 0.8585 GB, free: 24.88 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003317/1.365, allocations: 144 kB / 0.8586 GB, free: 24.73 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002958/1.366, allocations: 0.6203 MB / 0.8593 GB, free: 24.2 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003052/1.369, allocations: 2.573 MB / 0.8618 GB, free: 22.04 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004584/1.373, allocations: 6.918 MB / 0.8685 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004933/1.378, allocations: 4.126 MB / 0.8726 GB, free: 9.805 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.049e-05/1.378, allocations: 44 kB / 0.8726 GB, free: 9.762 MB / 0.4948 GB Notification: Performance of matching and sorting (n=966) (initialization): time 0.01821/1.396, allocations: 9.716 MB / 0.8821 GB, free: 1.148 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001935/1.397, allocations: 70.86 kB / 0.8822 GB, free: 1.082 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002732/1.397, allocations: 152 kB / 0.8823 GB, free: 0.9336 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00135/1.398, allocations: 0.6016 MB / 0.8829 GB, free: 436 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007509/1.406, allocations: 1.745 MB / 0.8846 GB, free: 14.92 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007749/1.414, allocations: 5.718 MB / 0.8902 GB, free: 9.488 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006696/1.42, allocations: 406.8 kB / 0.8906 GB, free: 9.137 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002044/1.422, allocations: 439.3 kB / 0.891 GB, free: 8.715 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 696 * 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 (916): * Single equations (assignments): 911 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007799/1.43, allocations: 2.631 MB / 0.8935 GB, free: 6.402 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001823/1.432, allocations: 481 kB / 0.894 GB, free: 5.934 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01081/1.443, allocations: 4.009 MB / 0.8979 GB, free: 1.992 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.243e-05/1.443, allocations: 28 kB / 0.8979 GB, free: 1.965 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.492e-05/1.443, allocations: 11.98 kB / 0.898 GB, free: 1.953 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.493e-05/1.443, allocations: 7.969 kB / 0.898 GB, free: 1.945 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3296/1.773, allocations: 10.27 MB / 0.908 GB, free: 109 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.57e-05/1.773, allocations: 1.906 kB / 0.908 GB, free: 109 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004084/1.777, allocations: 471.1 kB / 0.9085 GB, free: 109 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001764/1.779, allocations: 343.7 kB / 0.9088 GB, free: 109 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004647/1.779, allocations: 46.33 kB / 0.9088 GB, free: 109 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007914/1.787, allocations: 5.061 MB / 0.9138 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/1.787, allocations: 1.094 kB / 0.9138 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01668/1.804, allocations: 7.151 MB / 0.9208 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003895/1.808, allocations: 0.8297 MB / 0.9216 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001545/1.81, allocations: 45.58 kB / 0.9216 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003823/1.813, allocations: 159.4 kB / 0.9218 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005309/1.814, allocations: 145.5 kB / 0.9219 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002732/1.814, allocations: 69.77 kB / 0.922 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.008755/1.823, allocations: 3.132 MB / 0.925 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.12e-07/1.823, allocations: 3.469 kB / 0.925 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01141/1.834, allocations: 1.297 MB / 0.9263 GB, free: 105.5 MB / 0.5105 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 (224): * Single equations (assignments): 219 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009618/1.835, allocations: 189 kB / 0.9265 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01434/1.85, allocations: 6.465 MB / 0.9328 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.016e-05/1.85, allocations: 2.25 kB / 0.9328 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004672/1.855, allocations: 2.216 MB / 0.9349 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004731/1.859, allocations: 0.5661 MB / 0.9355 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03602/1.895, allocations: 14.42 MB / 0.9496 GB, free: 99.41 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01267/1.908, allocations: 4.23 MB / 0.9537 GB, free: 98.2 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01145/1.92, allocations: 2.388 MB / 0.956 GB, free: 98.15 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001973/1.922, allocations: 328 kB / 0.9564 GB, free: 98.13 MB / 0.5105 GB Notification: Performance of SimCode: time 1.523e-06/1.922, allocations: 0 / 0.9564 GB, free: 98.13 MB / 0.5105 GB Notification: Performance of Templates: time 0.121/2.043, allocations: 44.91 MB / 1 GB, free: 87.91 MB / 0.5105 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","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches