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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008951/0.0008951, allocations: 80.8 kB / 21.5 MB, free: 2.996 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009179/0.0009179, allocations: 174 kB / 24.92 MB, free: 9.211 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9111/0.9111, allocations: 177.1 MB / 205.3 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2397/0.2397, allocations: 32.8 MB / 294.6 MB, free: 1.254 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 323.2 MB, free: 9.719 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.521e-05/2.709e-05, allocations: 6.25 kB / 323.2 MB, free: 9.711 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.01488/0.01491, allocations: 14.08 MB / 337.3 MB, free: 11.57 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01288/0.02779, allocations: 5.107 MB / 342.4 MB, free: 6.441 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002816/0.0306, allocations: 119.4 kB / 342.5 MB, free: 6.324 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00681/0.03741, allocations: 4.294 MB / 346.8 MB, free: 2.016 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006525/0.04394, allocations: 2.531 MB / 349.4 MB, free: 15.47 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002654/0.04659, allocations: 1.302 MB / 350.7 MB, free: 14.17 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.008976/0.05557, allocations: 7.33 MB / 358 MB, free: 6.828 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004656/0.06023, allocations: 4.549 MB / 362.5 MB, free: 2.188 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004597/0.06482, allocations: 4.359 MB / 366.9 MB, free: 13.82 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003196/0.06802, allocations: 3.141 MB / 370 MB, free: 10.67 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006703/0.06869, allocations: 464 kB / 370.5 MB, free: 10.22 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001708/0.0704, allocations: 1.474 MB / 372 MB, free: 8.742 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001892/0.07229, allocations: 2.918 MB / 374.9 MB, free: 5.816 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001797/0.07409, allocations: 1.788 MB / 376.7 MB, free: 4.023 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005951/0.08004, allocations: 6.279 MB / 383 MB, free: 13.72 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.922e-06/0.08004, allocations: 0 / 383 MB, free: 13.72 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.08004, allocations: 0 / 383 MB, free: 13.72 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001988/0.08024, allocations: 4 kB / 383 MB, free: 13.72 MB / 362.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.00966/0.0899, allocations: 6.229 MB / 389.2 MB, free: 7.426 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.092e-05/0.08996, allocations: 8.031 kB / 389.2 MB, free: 7.418 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004358/0.09432, allocations: 1.448 MB / 390.6 MB, free: 5.969 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003411/0.09773, allocations: 2.807 MB / 393.5 MB, free: 3.082 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000137/0.09787, allocations: 308.4 kB / 393.8 MB, free: 2.777 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004862/0.09836, allocations: 424.2 kB / 394.2 MB, free: 2.363 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007342/0.1057, allocations: 6.89 MB / 401.1 MB, free: 10.54 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001059/0.1058, allocations: 55.55 kB / 401.1 MB, free: 10.49 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003122/0.1061, allocations: 195.8 kB / 401.3 MB, free: 10.3 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001784/0.1079, allocations: 2.266 MB / 403.6 MB, free: 8.023 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006814/0.1147, allocations: 3.485 MB / 407.1 MB, free: 4.523 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03684/0.1516, allocations: 40.19 MB / 447.2 MB, free: 10.94 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009742/0.1613, allocations: 2.988 MB / 450.2 MB, free: 7.914 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004307/0.1656, allocations: 0.6762 MB / 450.9 MB, free: 7.23 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01405/0.1797, allocations: 6.116 MB / 457 MB, free: 1.074 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.446e-05/0.1797, allocations: 63.8 kB / 457.1 MB, free: 1.004 MB / 426.7 MB Notification: Performance of pre-optimization done (n=199): time 5.541e-06/0.1797, allocations: 0 / 457.1 MB, free: 1.004 MB / 426.7 MB Notification: Performance of matching and sorting (n=225): time 0.1747/0.3544, allocations: 8.832 MB / 465.9 MB, free: 112 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.117e-05/0.3545, allocations: 259.5 kB / 466.2 MB, free: 111.7 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00371/0.3582, allocations: 4.071 MB / 470.2 MB, free: 111.1 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00032/0.3585, allocations: 59.45 kB / 470.3 MB, free: 111.1 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001575/0.3601, allocations: 3.867 MB / 474.2 MB, free: 108.6 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006701/0.3607, allocations: 0.893 MB / 475.1 MB, free: 108.1 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001224/0.362, allocations: 1.46 MB / 476.5 MB, free: 107.9 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 3.359e-05/0.362, allocations: 301.1 kB / 476.8 MB, free: 107.6 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001373/0.3634, allocations: 0.9563 MB / 477.8 MB, free: 107.6 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002324/0.3657, allocations: 5.51 MB / 483.3 MB, free: 101.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00413/0.3698, allocations: 7.042 MB / 490.3 MB, free: 95.46 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.691e-05/0.3699, allocations: 48 kB / 490.4 MB, free: 95.42 MB / 426.7 MB Notification: Performance of matching and sorting (n=1002) (initialization): time 0.005549/0.3755, allocations: 5.156 MB / 495.5 MB, free: 92.03 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.167e-05/0.3755, allocations: 78.5 kB / 495.6 MB, free: 91.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001165/0.3756, allocations: 160 kB / 495.8 MB, free: 91.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003952/0.376, allocations: 292.2 kB / 496 MB, free: 91.53 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002633/0.3787, allocations: 1.764 MB / 497.8 MB, free: 90.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001044/0.3797, allocations: 2.722 MB / 0.4888 GB, free: 87.26 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002735/0.3824, allocations: 339.5 kB / 0.4891 GB, free: 87.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003031/0.3827, allocations: 396.7 kB / 0.4895 GB, free: 86.73 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 739 * 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 (976): * Single equations (assignments): 971 * 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,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001328/0.3841, allocations: 0.7485 MB / 0.4902 GB, free: 86.17 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000424/0.3845, allocations: 295.9 kB / 0.4905 GB, free: 85.98 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00117/0.3857, allocations: 1.206 MB / 0.4917 GB, free: 85.28 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-05/0.3857, allocations: 26.11 kB / 0.4917 GB, free: 85.25 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.3857, allocations: 4 kB / 0.4917 GB, free: 85.25 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.146e-05/0.3857, allocations: 9.984 kB / 0.4917 GB, free: 85.25 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005633/0.3913, allocations: 5.168 MB / 0.4968 GB, free: 81.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/0.3913, allocations: 4 kB / 0.4968 GB, free: 81.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009636/0.3923, allocations: 364.1 kB / 0.4971 GB, free: 80.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004017/0.3927, allocations: 294.2 kB / 0.4974 GB, free: 80.64 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001028/0.3928, allocations: 44 kB / 0.4975 GB, free: 80.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007905/0.3936, allocations: 2.43 MB / 0.4998 GB, free: 77.98 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.3936, allocations: 8 kB / 0.4998 GB, free: 77.97 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001907/0.3955, allocations: 2.188 MB / 0.502 GB, free: 75.72 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005219/0.396, allocations: 406.2 kB / 0.5024 GB, free: 75.32 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003038/0.3963, allocations: 39.98 kB / 0.5024 GB, free: 75.28 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007634/0.3971, allocations: 65.78 kB / 0.5025 GB, free: 75.22 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001378/0.3972, allocations: 133 kB / 0.5026 GB, free: 75.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.398e-05/0.3973, allocations: 51.98 kB / 0.5026 GB, free: 75.04 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001076/0.3984, allocations: 1.534 MB / 0.5041 GB, free: 73.69 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3984, allocations: 2.406 kB / 0.5041 GB, free: 73.69 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003663/0.4021, allocations: 1.299 MB / 0.5054 GB, free: 72.39 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (201): * Single equations (assignments): 196 * 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,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003425/0.4024, allocations: 182.4 kB / 0.5056 GB, free: 72.21 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003114/0.4055, allocations: 3.197 MB / 0.5087 GB, free: 69.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.000144/0.4057, allocations: 116.2 kB / 0.5088 GB, free: 68.98 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006272/0.4063, allocations: 0.7637 MB / 0.5096 GB, free: 68.21 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002116/0.4084, allocations: 0.8028 MB / 0.5103 GB, free: 67.43 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01033/0.4187, allocations: 9.698 MB / 0.5198 GB, free: 57.63 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00102/0.4198, allocations: 1.6 MB / 0.5214 GB, free: 56.02 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001652/0.4214, allocations: 0.6487 MB / 0.522 GB, free: 55.37 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009938/0.4224, allocations: 0.7198 MB / 0.5227 GB, free: 54.65 MB / 426.7 MB Notification: Performance of SimCode: time 2.454e-06/0.4224, allocations: 0 / 0.5227 GB, free: 54.65 MB / 426.7 MB Notification: Performance of Templates: time 0.05251/0.4749, allocations: 39.42 MB / 0.5612 GB, free: 15.77 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.201177200768143]