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.001223/0.001223, allocations: 81.88 kB / 21.42 MB, free: 3.074 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.004278/0.004278, allocations: 171.1 kB / 24.82 MB, free: 8.926 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 1.022/1.022, allocations: 177.1 MB / 205.3 MB, free: 5.508 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.2426/0.2426, allocations: 32.81 MB / 294.6 MB, free: 1.242 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.803e-06/1.803e-06, allocations: 0 / 376.5 MB, free: 4.398 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.214e-05/2.395e-05, allocations: 2.312 kB / 376.5 MB, free: 4.395 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.01155/0.01157, allocations: 14.07 MB / 390.6 MB, free: 6.254 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00817/0.01974, allocations: 4.894 MB / 395.5 MB, free: 1.344 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001263/0.021, allocations: 123.4 kB / 395.6 MB, free: 1.223 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00416/0.02516, allocations: 4.244 MB / 399.8 MB, free: 12.96 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003396/0.02856, allocations: 2.492 MB / 402.3 MB, free: 10.46 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001468/0.03003, allocations: 1.306 MB / 403.6 MB, free: 9.152 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004959/0.03499, allocations: 7.353 MB / 411 MB, free: 1.785 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003052/0.03804, allocations: 4.427 MB / 415.4 MB, free: 13.29 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003297/0.04134, allocations: 4.402 MB / 419.8 MB, free: 8.879 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002789/0.04413, allocations: 3.289 MB / 423.1 MB, free: 5.582 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000457/0.04458, allocations: 467.9 kB / 423.6 MB, free: 5.125 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001656/0.04624, allocations: 1.474 MB / 425 MB, free: 3.648 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001624/0.04786, allocations: 2.926 MB / 428 MB, free: 0.7148 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001632/0.04949, allocations: 1.772 MB / 429.7 MB, free: 14.94 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004846/0.05434, allocations: 6.287 MB / 436 MB, free: 8.629 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.05435, allocations: 3.938 kB / 436 MB, free: 8.625 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.05435, allocations: 0 / 436 MB, free: 8.625 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.447e-05/0.05443, allocations: 0 / 436 MB, free: 8.625 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.007456/0.06189, allocations: 6.947 MB / 443 MB, free: 1.598 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.06193, allocations: 8.031 kB / 443 MB, free: 1.59 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1573/0.2192, allocations: 2.926 MB / 445.9 MB, free: 95.08 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004336/0.2235, allocations: 3.01 MB / 448.9 MB, free: 94.76 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001408/0.2237, allocations: 312.8 kB / 449.2 MB, free: 94.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000533/0.2242, allocations: 430.3 kB / 449.6 MB, free: 94.74 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007782/0.232, allocations: 7.65 MB / 457.3 MB, free: 91.07 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001112/0.2321, allocations: 58.05 kB / 457.3 MB, free: 91.06 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003176/0.2324, allocations: 196.9 kB / 457.5 MB, free: 91.06 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001489/0.2339, allocations: 2.264 MB / 459.8 MB, free: 90.8 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005711/0.2396, allocations: 3.542 MB / 463.3 MB, free: 90.39 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03028/0.2699, allocations: 55.17 MB / 0.5064 GB, free: 45.94 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006472/0.2764, allocations: 3.062 MB / 0.5093 GB, free: 45.37 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008398/0.2772, allocations: 0.8419 MB / 0.5102 GB, free: 45.24 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007543/0.2848, allocations: 6.565 MB / 0.5166 GB, free: 41.41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.474e-05/0.2848, allocations: 66.64 kB / 0.5166 GB, free: 41.34 MB / 410.7 MB Notification: Performance of pre-optimization done (n=199): time 3.247e-06/0.2848, allocations: 0 / 0.5166 GB, free: 41.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=225): time 0.02104/0.3058, allocations: 9.844 MB / 0.5263 GB, free: 33.34 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.816e-05/0.3059, allocations: 257.3 kB / 0.5265 GB, free: 33.04 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002897/0.3088, allocations: 4.514 MB / 0.5309 GB, free: 28.71 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.373e-05/0.3089, allocations: 57.7 kB / 0.531 GB, free: 28.64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00128/0.3102, allocations: 4.411 MB / 0.5353 GB, free: 24.21 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004168/0.3106, allocations: 0.9344 MB / 0.5362 GB, free: 23.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001113/0.3117, allocations: 1.666 MB / 0.5378 GB, free: 21.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.497e-05/0.3117, allocations: 480.8 kB / 0.5383 GB, free: 21.12 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001015/0.3127, allocations: 0.745 MB / 0.539 GB, free: 20.37 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002533/0.3153, allocations: 7.723 MB / 0.5465 GB, free: 9.508 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004739/0.32, allocations: 9.147 MB / 0.5555 GB, free: 13.29 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.37e-05/0.3201, allocations: 48 kB / 0.5555 GB, free: 13.24 MB / 426.7 MB Notification: Performance of matching and sorting (n=1002) (initialization): time 0.006486/0.3266, allocations: 6.109 MB / 0.5615 GB, free: 7.125 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.099e-05/0.3266, allocations: 77 kB / 0.5616 GB, free: 7.051 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001462/0.3268, allocations: 160 kB / 0.5617 GB, free: 6.895 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004115/0.3272, allocations: 291.3 kB / 0.562 GB, free: 6.602 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002884/0.3301, allocations: 1.766 MB / 0.5637 GB, free: 4.832 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001812/0.3319, allocations: 3.777 MB / 0.5674 GB, free: 0.8203 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002768/0.3347, allocations: 331.7 kB / 0.5677 GB, free: 0.4961 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003738/0.335, allocations: 392 kB / 0.5681 GB, free: 116 kB / 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.001649/0.3367, allocations: 0.7986 MB / 0.5689 GB, free: 15.3 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005352/0.3372, allocations: 0.4971 MB / 0.5694 GB, free: 14.8 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001626/0.3388, allocations: 1.422 MB / 0.5707 GB, free: 13.36 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.042e-05/0.3389, allocations: 24 kB / 0.5708 GB, free: 13.33 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.3389, allocations: 0 / 0.5708 GB, free: 13.33 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.378e-05/0.3389, allocations: 11.95 kB / 0.5708 GB, free: 13.32 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008118/0.347, allocations: 6.095 MB / 0.5767 GB, free: 7.07 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/0.347, allocations: 8 kB / 0.5767 GB, free: 7.062 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008993/0.3479, allocations: 355.5 kB / 0.5771 GB, free: 6.715 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002259/0.3481, allocations: 91.52 kB / 0.5772 GB, free: 6.617 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.693e-05/0.3482, allocations: 51.91 kB / 0.5772 GB, free: 6.566 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001474/0.3497, allocations: 3.474 MB / 0.5806 GB, free: 2.863 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.3497, allocations: 4 kB / 0.5806 GB, free: 2.859 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002497/0.3522, allocations: 2.643 MB / 0.5832 GB, free: 112 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005161/0.3527, allocations: 425.1 kB / 0.5836 GB, free: 15.69 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000283/0.353, allocations: 39.75 kB / 0.5836 GB, free: 15.65 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007811/0.3538, allocations: 59.98 kB / 0.5837 GB, free: 15.59 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001561/0.3539, allocations: 136.9 kB / 0.5838 GB, free: 15.46 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.636e-05/0.354, allocations: 51.98 kB / 0.5839 GB, free: 15.41 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001486/0.3555, allocations: 1.832 MB / 0.5857 GB, free: 13.58 MB / 458.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3555, allocations: 0 / 0.5857 GB, free: 13.58 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003239/0.3587, allocations: 1.297 MB / 0.5869 GB, free: 12.29 MB / 458.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.0003347/0.3591, allocations: 194.8 kB / 0.5871 GB, free: 12.09 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003703/0.3628, allocations: 3.569 MB / 0.5906 GB, free: 8.512 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.3628, allocations: 4.188 kB / 0.5906 GB, free: 8.508 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007752/0.3636, allocations: 0.959 MB / 0.5915 GB, free: 7.512 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001567/0.3651, allocations: 0.5393 MB / 0.5921 GB, free: 6.988 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1477/0.5128, allocations: 9.83 MB / 0.6017 GB, free: 122 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001025/0.5138, allocations: 1.61 MB / 0.6032 GB, free: 121.8 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001665/0.5155, allocations: 0.638 MB / 0.6039 GB, free: 121.8 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001036/0.5165, allocations: 0.7758 MB / 0.6046 GB, free: 121.7 MB / 458.7 MB Notification: Performance of SimCode: time 1.082e-06/0.5165, allocations: 0 / 0.6046 GB, free: 121.7 MB / 458.7 MB Notification: Performance of Templates: time 0.05809/0.5746, allocations: 39.48 MB / 0.6432 GB, free: 112 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=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.9578250190243125]