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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001877/0.001877, allocations: 96.25 kB / 20.96 MB, free: 3.473 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003313/0.003313, allocations: 156.9 kB / 24.27 MB, free: 176 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.557/1.557, allocations: 177 MB / 204.5 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3662/0.3662, allocations: 34.25 MB / 295.2 MB, free: 0.6328 MB / 266.7 MB " [Timeout remaining time 179] 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=5002,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=5002,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.364e-06/2.364e-06, allocations: 0 / 377.2 MB, free: 2.895 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.49e-05/4.727e-05, allocations: 10.25 kB / 377.2 MB, free: 2.883 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.02805/0.0281, allocations: 13.02 MB / 390.3 MB, free: 5.797 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01769/0.04579, allocations: 4.797 MB / 395.1 MB, free: 0.9883 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003565/0.04935, allocations: 119.4 kB / 395.2 MB, free: 0.8711 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01321/0.06256, allocations: 4.166 MB / 399.3 MB, free: 12.69 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01073/0.07329, allocations: 2.488 MB / 401.8 MB, free: 10.19 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004684/0.07797, allocations: 1.302 MB / 403.1 MB, free: 8.887 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01626/0.09423, allocations: 7.347 MB / 410.5 MB, free: 1.523 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01161/0.1058, allocations: 4.431 MB / 414.9 MB, free: 13.02 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01139/0.1172, allocations: 3.305 MB / 418.2 MB, free: 9.711 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009127/0.1264, allocations: 3.305 MB / 421.5 MB, free: 6.398 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002285/0.1287, allocations: 476 kB / 422 MB, free: 5.934 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005432/0.1341, allocations: 1.494 MB / 423.5 MB, free: 4.438 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005786/0.1399, allocations: 2.922 MB / 426.4 MB, free: 1.508 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005018/0.1449, allocations: 1.78 MB / 428.2 MB, free: 15.72 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0151/0.16, allocations: 9.618 MB / 437.8 MB, free: 6.074 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.335e-06/0.16, allocations: 0 / 437.8 MB, free: 6.074 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.16, allocations: 0 / 437.8 MB, free: 6.074 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004037/0.1604, allocations: 0 / 437.8 MB, free: 6.074 MB / 410.7 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.1794/0.3398, allocations: 6.915 MB / 444.7 MB, free: 97.06 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.3398, allocations: 8.781 kB / 444.7 MB, free: 97.06 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02604/0.3658, allocations: 3.975 MB / 448.7 MB, free: 96.41 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00846/0.3743, allocations: 4.061 MB / 452.8 MB, free: 95.01 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002036/0.3745, allocations: 312.9 kB / 453.1 MB, free: 94.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00143/0.3759, allocations: 426.8 kB / 453.5 MB, free: 94.8 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02116/0.3971, allocations: 14.17 MB / 467.6 MB, free: 88.46 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001959/0.3973, allocations: 57.14 kB / 467.7 MB, free: 88.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006069/0.3979, allocations: 205.2 kB / 467.9 MB, free: 88.33 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003416/0.4013, allocations: 2.538 MB / 470.4 MB, free: 87.88 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02338/0.4247, allocations: 11.89 MB / 482.3 MB, free: 84.31 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05298/0.4777, allocations: 50.18 MB / 0.52 GB, free: 36.26 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01494/0.4926, allocations: 5.522 MB / 0.5254 GB, free: 30.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003788/0.4964, allocations: 3.342 MB / 0.5287 GB, free: 27.35 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01938/0.5158, allocations: 13.29 MB / 0.5417 GB, free: 14.14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.184e-05/0.5158, allocations: 68.48 kB / 0.5417 GB, free: 14.06 MB / 410.7 MB Notification: Performance of pre-optimization done (n=234): time 5.791e-06/0.5158, allocations: 0 / 0.5417 GB, free: 14.06 MB / 410.7 MB Notification: Performance of matching and sorting (n=271): time 0.1325/0.6484, allocations: 43.43 MB / 0.5841 GB, free: 2.617 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002053/0.6486, allocations: 265.3 kB / 0.5844 GB, free: 2.305 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00784/0.6564, allocations: 4.91 MB / 0.5892 GB, free: 13.38 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006378/0.657, allocations: 65.7 kB / 0.5892 GB, free: 13.3 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004036/0.6611, allocations: 4.025 MB / 0.5932 GB, free: 9.242 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0018/0.6629, allocations: 1.05 MB / 0.5942 GB, free: 8.184 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002678/0.6656, allocations: 1.529 MB / 0.5957 GB, free: 6.648 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.6657, allocations: 301.1 kB / 0.596 GB, free: 6.352 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00613/0.6718, allocations: 3.376 MB / 0.5993 GB, free: 2.973 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1567/0.8285, allocations: 7.78 MB / 0.6069 GB, free: 126.2 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01147/0.84, allocations: 11.81 MB / 0.6184 GB, free: 118 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002392/0.8402, allocations: 42.78 kB / 0.6185 GB, free: 118 MB / 458.7 MB Notification: Performance of matching and sorting (n=999) (initialization): time 0.01902/0.8593, allocations: 12.28 MB / 0.6304 GB, free: 113.6 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.277e-05/0.8594, allocations: 67.78 kB / 0.6305 GB, free: 113.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001413/0.8595, allocations: 149.1 kB / 0.6307 GB, free: 113.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003096/0.8626, allocations: 1.31 MB / 0.6319 GB, free: 113.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006349/0.8689, allocations: 1.91 MB / 0.6338 GB, free: 113.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008783/0.8777, allocations: 8.273 MB / 0.6419 GB, free: 108.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006616/0.8843, allocations: 0.5602 MB / 0.6424 GB, free: 108.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001761/0.8861, allocations: 441.2 kB / 0.6428 GB, free: 108.3 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 681 * 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 (947): * Single equations (assignments): 942 * 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,13,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006099/0.8922, allocations: 2.63 MB / 0.6454 GB, free: 107.2 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001531/0.8937, allocations: 0.5144 MB / 0.6459 GB, free: 107.1 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009543/0.9033, allocations: 6.062 MB / 0.6518 GB, free: 104.8 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.726e-05/0.9033, allocations: 27.44 kB / 0.6519 GB, free: 104.8 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.275e-05/0.9033, allocations: 11.81 kB / 0.6519 GB, free: 104.8 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.356e-05/0.9033, allocations: 13.59 kB / 0.6519 GB, free: 104.8 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02036/0.9237, allocations: 11.76 MB / 0.6634 GB, free: 100.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.898e-05/0.9237, allocations: 2.75 kB / 0.6634 GB, free: 100.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002936/0.9267, allocations: 0.5851 MB / 0.6639 GB, free: 100.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002933/0.9296, allocations: 1.073 MB / 0.665 GB, free: 99.84 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002842/0.9299, allocations: 45.86 kB / 0.665 GB, free: 99.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007085/0.937, allocations: 7.637 MB / 0.6725 GB, free: 92.9 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.937, allocations: 7.828 kB / 0.6725 GB, free: 92.9 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01195/0.9489, allocations: 10.24 MB / 0.6825 GB, free: 84.31 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001088/0.95, allocations: 449.9 kB / 0.6829 GB, free: 84 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005974/0.9506, allocations: 40 kB / 0.683 GB, free: 83.96 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002578/0.9532, allocations: 320.8 kB / 0.6833 GB, free: 83.67 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004999/0.9537, allocations: 153.6 kB / 0.6834 GB, free: 83.52 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000233/0.9539, allocations: 71.98 kB / 0.6835 GB, free: 83.45 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003573/0.9575, allocations: 2.895 MB / 0.6863 GB, free: 80.56 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/0.9575, allocations: 4 kB / 0.6863 GB, free: 80.55 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008664/0.9662, allocations: 1.549 MB / 0.6878 GB, free: 79.01 MB / 458.7 MB 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 (229): * Single equations (assignments): 224 * 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,11,100.0%), (1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009167/0.9671, allocations: 193.6 kB / 0.688 GB, free: 78.82 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01063/0.9777, allocations: 7.774 MB / 0.6956 GB, free: 71.06 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/0.9777, allocations: 0 / 0.6956 GB, free: 71.06 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003183/0.9809, allocations: 2.78 MB / 0.6983 GB, free: 68.26 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003483/0.9844, allocations: 0.547 MB / 0.6989 GB, free: 67.73 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0171/1.001, allocations: 13.37 MB / 0.7119 GB, free: 54.31 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003669/1.005, allocations: 3.591 MB / 0.7154 GB, free: 50.7 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004986/1.01, allocations: 2.388 MB / 0.7178 GB, free: 48.31 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001584/1.012, allocations: 308.4 kB / 0.7181 GB, free: 48.01 MB / 458.7 MB Notification: Performance of SimCode: time 2.044e-06/1.012, allocations: 0 / 0.7181 GB, free: 48.01 MB / 458.7 MB Notification: Performance of Templates: time 0.07706/1.089, allocations: 50.2 MB / 0.7671 GB, free: 14.35 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.98788809007965]