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.001925/0.001925, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002326/0.002326, allocations: 161.6 kB / 24.27 MB, free: 172 kB / 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 1.559/1.559, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.3882/0.3882, allocations: 32.8 MB / 293.9 MB, free: 1.219 MB / 266.7 MB " [Timeout remaining time 179] 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.363e-06/1.363e-06, allocations: 0 / 375.3 MB, free: 4.988 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.617e-05/2.753e-05, allocations: 2.312 kB / 375.3 MB, free: 4.984 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.01889/0.01892, allocations: 13.03 MB / 388.3 MB, free: 7.895 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01223/0.03114, allocations: 4.793 MB / 393.1 MB, free: 3.086 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002435/0.03358, allocations: 123.4 kB / 393.2 MB, free: 2.965 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009006/0.04258, allocations: 4.166 MB / 397.4 MB, free: 14.79 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007961/0.05055, allocations: 2.488 MB / 399.9 MB, free: 12.29 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003213/0.05376, allocations: 1.302 MB / 401.2 MB, free: 10.98 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01173/0.06549, allocations: 7.353 MB / 408.5 MB, free: 3.613 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006823/0.07231, allocations: 4.431 MB / 413 MB, free: 15.11 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006643/0.07895, allocations: 3.317 MB / 416.3 MB, free: 11.79 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00605/0.085, allocations: 3.301 MB / 419.6 MB, free: 8.48 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001337/0.08634, allocations: 472 kB / 420 MB, free: 8.02 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003812/0.09015, allocations: 1.498 MB / 421.5 MB, free: 6.52 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003612/0.09376, allocations: 2.91 MB / 424.4 MB, free: 3.602 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003551/0.09732, allocations: 1.784 MB / 426.2 MB, free: 1.812 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01363/0.1109, allocations: 9.614 MB / 435.8 MB, free: 8.164 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.1109, allocations: 4 kB / 435.8 MB, free: 8.16 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1109, allocations: 4 kB / 435.8 MB, free: 8.156 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002652/0.1112, allocations: 3.938 kB / 435.8 MB, free: 8.152 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.0171/0.1283, allocations: 6.91 MB / 442.8 MB, free: 1.172 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.1284, allocations: 12.03 kB / 442.8 MB, free: 1.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1968/0.3251, allocations: 3.966 MB / 446.7 MB, free: 99.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009793/0.3349, allocations: 4.07 MB / 450.8 MB, free: 98.52 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002129/0.3351, allocations: 306.6 kB / 451.1 MB, free: 98.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001452/0.3366, allocations: 437.7 kB / 451.5 MB, free: 98.3 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02089/0.3575, allocations: 14.16 MB / 465.7 MB, free: 91.96 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001469/0.3576, allocations: 51.33 kB / 465.7 MB, free: 91.94 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005325/0.3582, allocations: 205.3 kB / 465.9 MB, free: 91.84 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003315/0.3615, allocations: 2.535 MB / 468.5 MB, free: 91.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02334/0.3848, allocations: 11.89 MB / 480.4 MB, free: 87.82 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05948/0.4443, allocations: 50.18 MB / 0.5181 GB, free: 41.27 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01471/0.459, allocations: 5.513 MB / 0.5235 GB, free: 35.72 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003837/0.4628, allocations: 3.357 MB / 0.5268 GB, free: 32.35 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01978/0.4826, allocations: 13.29 MB / 0.5398 GB, free: 19.14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.274e-05/0.4827, allocations: 56.56 kB / 0.5398 GB, free: 19.08 MB / 410.7 MB Notification: Performance of pre-optimization done (n=234): time 6.643e-06/0.4827, allocations: 4 kB / 0.5398 GB, free: 19.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=271): time 0.13/0.6126, allocations: 43.43 MB / 0.5822 GB, free: 7.688 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000217/0.6129, allocations: 261.3 kB / 0.5825 GB, free: 7.379 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009087/0.6219, allocations: 4.922 MB / 0.5873 GB, free: 2.438 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007384/0.6227, allocations: 65.7 kB / 0.5873 GB, free: 2.367 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004005/0.6267, allocations: 4.018 MB / 0.5913 GB, free: 14.31 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002142/0.6288, allocations: 1.05 MB / 0.5923 GB, free: 13.25 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003051/0.6319, allocations: 1.529 MB / 0.5938 GB, free: 11.71 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004489/0.6323, allocations: 309.1 kB / 0.5941 GB, free: 11.41 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006189/0.6385, allocations: 3.376 MB / 0.5974 GB, free: 8.031 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1708/0.8093, allocations: 7.778 MB / 0.605 GB, free: 127.5 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01124/0.8205, allocations: 11.81 MB / 0.6165 GB, free: 119.6 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001195/0.8207, allocations: 45.81 kB / 0.6166 GB, free: 119.6 MB / 458.7 MB Notification: Performance of matching and sorting (n=999) (initialization): time 0.01675/0.8374, allocations: 12.29 MB / 0.6286 GB, free: 115.2 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.912e-05/0.8375, allocations: 69.34 kB / 0.6286 GB, free: 115.2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001346/0.8376, allocations: 148.5 kB / 0.6288 GB, free: 115.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003089/0.8407, allocations: 1.307 MB / 0.63 GB, free: 115 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006046/0.8468, allocations: 1.9 MB / 0.6319 GB, free: 114.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008822/0.8556, allocations: 8.29 MB / 0.64 GB, free: 110.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006396/0.862, allocations: 0.552 MB / 0.6405 GB, free: 110 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001464/0.8634, allocations: 447.9 kB / 0.641 GB, free: 109.9 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.004758/0.8682, allocations: 2.626 MB / 0.6435 GB, free: 108.8 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00155/0.8698, allocations: 0.5114 MB / 0.644 GB, free: 108.8 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009612/0.8794, allocations: 6.058 MB / 0.6499 GB, free: 106.5 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.352e-05/0.8794, allocations: 32.75 kB / 0.65 GB, free: 106.5 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.505e-05/0.8794, allocations: 9.188 kB / 0.65 GB, free: 106.5 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-05/0.8794, allocations: 18.05 kB / 0.65 GB, free: 106.5 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0204/0.8998, allocations: 11.76 MB / 0.6615 GB, free: 102.3 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.846e-05/0.8999, allocations: 0.7031 kB / 0.6615 GB, free: 102.3 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002908/0.9028, allocations: 0.5832 MB / 0.662 GB, free: 102.3 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003023/0.9058, allocations: 1.076 MB / 0.6631 GB, free: 102.1 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002561/0.9061, allocations: 48.08 kB / 0.6631 GB, free: 102.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007308/0.9134, allocations: 7.646 MB / 0.6706 GB, free: 95.46 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.9134, allocations: 0 / 0.6706 GB, free: 95.46 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01203/0.9254, allocations: 10.25 MB / 0.6806 GB, free: 86.87 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001033/0.9264, allocations: 442.2 kB / 0.681 GB, free: 86.5 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005406/0.927, allocations: 51.25 kB / 0.6811 GB, free: 86.46 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002518/0.9295, allocations: 315.3 kB / 0.6814 GB, free: 86.27 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004819/0.93, allocations: 149.7 kB / 0.6815 GB, free: 86.12 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002118/0.9302, allocations: 64 kB / 0.6816 GB, free: 86.06 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003412/0.9336, allocations: 2.894 MB / 0.6844 GB, free: 83.16 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.9336, allocations: 0 / 0.6844 GB, free: 83.16 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005869/0.9395, allocations: 1.561 MB / 0.6859 GB, free: 81.61 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.0005768/0.94, allocations: 197.5 kB / 0.6861 GB, free: 81.42 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00997/0.95, allocations: 7.763 MB / 0.6937 GB, free: 73.66 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.144e-06/0.95, allocations: 4 kB / 0.6937 GB, free: 73.66 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003343/0.9534, allocations: 2.78 MB / 0.6964 GB, free: 70.86 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003293/0.9567, allocations: 0.5469 MB / 0.697 GB, free: 70.34 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0177/0.9744, allocations: 13.37 MB / 0.71 GB, free: 56.92 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0035/0.9779, allocations: 3.6 MB / 0.7135 GB, free: 53.3 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004901/0.9828, allocations: 2.389 MB / 0.7159 GB, free: 50.91 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001297/0.9841, allocations: 300.4 kB / 0.7161 GB, free: 50.61 MB / 458.7 MB Notification: Performance of SimCode: time 1.212e-06/0.9841, allocations: 0 / 0.7161 GB, free: 50.61 MB / 458.7 MB Notification: Performance of Templates: time 0.07512/1.059, allocations: 50.21 MB / 0.7652 GB, free: 0.9648 MB / 458.7 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.990602613892406]