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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0009532/0.0009532, allocations: 179.6 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.231/1.231, allocations: 221.3 MB / 236 MB, free: 2.969 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008888/0.0008889, allocations: 94.75 kB / 287 MB, free: 252 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1742/0.1742, allocations: 44.16 MB / 382.1 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.763e-05/2.766e-05, allocations: 4 kB / 451.8 MB, free: 9.438 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09922/0.09927, allocations: 61.91 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3506/0.4499, allocations: 113.5 MB / 0.6126 GB, free: 7.789 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002152/0.4501, allocations: 75.97 kB / 0.6126 GB, free: 7.715 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5058/0.956, allocations: 112.9 MB / 0.7229 GB, free: 114.3 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.923e-06/0.956, allocations: 0 / 0.7229 GB, free: 114.3 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002796/0.9563, allocations: 108.4 kB / 0.723 GB, free: 114.3 MB / 0.5105 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.01712/0.9734, allocations: 5.872 MB / 0.7287 GB, free: 112.1 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.9735, allocations: 12.31 kB / 0.7287 GB, free: 112.1 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02614/0.9996, allocations: 6.897 MB / 0.7355 GB, free: 111.7 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01586/1.016, allocations: 6.769 MB / 0.7421 GB, free: 111 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000264/1.016, allocations: 416.9 kB / 0.7425 GB, free: 110.9 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00152/1.017, allocations: 0.5385 MB / 0.743 GB, free: 110.9 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02025/1.038, allocations: 14.02 MB / 0.7567 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001378/1.038, allocations: 74.75 kB / 0.7568 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005987/1.038, allocations: 265.5 kB / 0.757 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001271/1.04, allocations: 1.362 MB / 0.7583 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0193/1.059, allocations: 11.57 MB / 0.7696 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05033/1.109, allocations: 60.67 MB / 0.8289 GB, free: 62.6 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01346/1.123, allocations: 5.769 MB / 0.8345 GB, free: 58.4 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003094/1.126, allocations: 3.249 MB / 0.8377 GB, free: 55.4 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01517/1.141, allocations: 14.71 MB / 0.8521 GB, free: 42.21 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/1.141, allocations: 60.5 kB / 0.8521 GB, free: 42.14 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=227): time 4.548e-06/1.141, allocations: 0 / 0.8521 GB, free: 42.14 MB / 0.5105 GB Notification: Performance of matching and sorting (n=264): time 0.05781/1.199, allocations: 21.77 MB / 0.8734 GB, free: 24.06 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.907e-05/1.199, allocations: 265.3 kB / 0.8736 GB, free: 23.75 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005841/1.205, allocations: 4.392 MB / 0.8779 GB, free: 19.86 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003065/1.205, allocations: 61.7 kB / 0.878 GB, free: 19.8 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001624/1.207, allocations: 3.971 MB / 0.8819 GB, free: 15.9 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006674/1.208, allocations: 0.9965 MB / 0.8828 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002713/1.208, allocations: 148 kB / 0.883 GB, free: 14.77 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002622/1.208, allocations: 0.6122 MB / 0.8836 GB, free: 14.15 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002878/1.211, allocations: 2.521 MB / 0.886 GB, free: 11.63 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004195/1.215, allocations: 6.861 MB / 0.8927 GB, free: 2.617 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004966/1.22, allocations: 4.119 MB / 0.8968 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.17e-05/1.22, allocations: 44 kB / 0.8968 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of matching and sorting (n=966) (initialization): time 0.01509/1.235, allocations: 9.608 MB / 0.9062 GB, free: 4.84 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.676e-05/1.236, allocations: 76.2 kB / 0.9063 GB, free: 4.766 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001501/1.236, allocations: 156 kB / 0.9064 GB, free: 4.613 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00127/1.237, allocations: 0.5839 MB / 0.907 GB, free: 4.023 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005767/1.243, allocations: 1.743 MB / 0.9087 GB, free: 2.277 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2558/1.499, allocations: 5.603 MB / 0.9141 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005193/1.504, allocations: 409.1 kB / 0.9145 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001016/1.505, allocations: 440.6 kB / 0.915 GB, free: 112.5 MB / 0.5261 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 () * 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.001112/1.506, allocations: 0.6752 MB / 0.9156 GB, free: 112.4 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008266/1.507, allocations: 476.4 kB / 0.9161 GB, free: 112.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006847/1.514, allocations: 3.972 MB / 0.9199 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-05/1.514, allocations: 28.22 kB / 0.92 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.408e-05/1.514, allocations: 4.719 kB / 0.92 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.08e-05/1.514, allocations: 15.31 kB / 0.92 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01753/1.531, allocations: 10.23 MB / 0.93 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-05/1.531, allocations: 1.594 kB / 0.93 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002263/1.534, allocations: 470.8 kB / 0.9304 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009481/1.535, allocations: 344.3 kB / 0.9308 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001893/1.535, allocations: 46.88 kB / 0.9308 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004412/1.539, allocations: 4.951 MB / 0.9356 GB, free: 109 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/1.539, allocations: 6.141 kB / 0.9356 GB, free: 109 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007775/1.547, allocations: 7.08 MB / 0.9426 GB, free: 108.4 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001015/1.548, allocations: 0.4891 MB / 0.943 GB, free: 108.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004399/1.549, allocations: 39.52 kB / 0.9431 GB, free: 108.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001736/1.55, allocations: 165.7 kB / 0.9432 GB, free: 108.2 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002867/1.551, allocations: 141.2 kB / 0.9434 GB, free: 108.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000158/1.551, allocations: 72.59 kB / 0.9434 GB, free: 108.2 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003747/1.555, allocations: 3.067 MB / 0.9464 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.9e-07/1.555, allocations: 7.719 kB / 0.9464 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004658/1.559, allocations: 1.288 MB / 0.9477 GB, free: 107.7 MB / 0.5261 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 () * 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.0003993/1.56, allocations: 197.6 kB / 0.9479 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007156/1.567, allocations: 6.37 MB / 0.9541 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/1.567, allocations: 0 / 0.9541 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002163/1.569, allocations: 2.187 MB / 0.9562 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002185/1.571, allocations: 0.5699 MB / 0.9568 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01629/1.587, allocations: 10.07 MB / 0.9666 GB, free: 100.9 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004737/1.592, allocations: 4.223 MB / 0.9708 GB, free: 99.47 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005727/1.598, allocations: 2.388 MB / 0.9731 GB, free: 99.42 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001103/1.599, allocations: 321.9 kB / 0.9734 GB, free: 99.41 MB / 0.5261 GB Notification: Performance of SimCode: time 9.42e-07/1.599, allocations: 0 / 0.9734 GB, free: 99.41 MB / 0.5261 GB Notification: Performance of Templates: time 0.0696/1.669, allocations: 44.88 MB / 1.017 GB, free: 83.66 MB / 0.5261 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","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches