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.001007/0.001007, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001113/0.001113, allocations: 168.7 kB / 25.61 MB, free: 8.582 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.9246/0.9246, allocations: 177.1 MB / 206 MB, free: 4.484 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.1369/0.1369, allocations: 32.81 MB / 295.4 MB, free: 15.37 MB / 282.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.704e-06/1.704e-06, allocations: 0 / 377.3 MB, free: 25.58 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.553e-05/2.723e-05, allocations: 2.312 kB / 377.3 MB, free: 25.58 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.01333/0.01336, allocations: 14.07 MB / 391.3 MB, free: 11.45 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007184/0.02054, allocations: 4.899 MB / 396.2 MB, free: 6.535 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008883/0.02143, allocations: 119.4 kB / 396.4 MB, free: 6.418 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003062/0.02449, allocations: 4.236 MB / 400.6 MB, free: 2.168 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002643/0.02713, allocations: 2.496 MB / 403.1 MB, free: 15.66 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001565/0.0287, allocations: 1.31 MB / 404.4 MB, free: 14.35 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005153/0.03385, allocations: 7.355 MB / 411.8 MB, free: 6.977 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002893/0.03675, allocations: 4.439 MB / 416.2 MB, free: 2.469 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003334/0.04008, allocations: 4.394 MB / 420.6 MB, free: 14.07 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002611/0.04269, allocations: 3.297 MB / 423.9 MB, free: 10.76 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00053/0.04322, allocations: 464 kB / 424.3 MB, free: 10.31 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001682/0.0449, allocations: 1.482 MB / 425.8 MB, free: 8.824 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001606/0.04651, allocations: 2.918 MB / 428.7 MB, free: 5.898 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001407/0.04792, allocations: 1.784 MB / 430.5 MB, free: 4.109 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00436/0.05228, allocations: 6.287 MB / 436.8 MB, free: 13.8 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.05228, allocations: 0 / 436.8 MB, free: 13.8 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.05228, allocations: 0 / 436.8 MB, free: 13.8 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.845e-05/0.05236, allocations: 0 / 436.8 MB, free: 13.8 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.006901/0.05926, allocations: 6.944 MB / 443.8 MB, free: 6.773 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.05929, allocations: 11.98 kB / 443.8 MB, free: 6.762 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01143/0.07072, allocations: 2.939 MB / 446.7 MB, free: 3.816 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00348/0.0742, allocations: 2.991 MB / 449.7 MB, free: 0.7578 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001393/0.07434, allocations: 316.3 kB / 450 MB, free: 456 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004724/0.07481, allocations: 428.3 kB / 450.4 MB, free: 28 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008577/0.08339, allocations: 7.653 MB / 458.1 MB, free: 7.145 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.001e-05/0.08348, allocations: 55.55 kB / 458.1 MB, free: 7.09 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003211/0.0838, allocations: 199.8 kB / 458.3 MB, free: 6.895 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001705/0.0855, allocations: 2.266 MB / 460.6 MB, free: 4.621 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006065/0.09157, allocations: 3.536 MB / 464.1 MB, free: 1.078 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1856/0.2772, allocations: 55.16 MB / 0.5071 GB, free: 69.24 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006678/0.2838, allocations: 3.051 MB / 0.5101 GB, free: 69.08 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001002/0.2849, allocations: 0.8366 MB / 0.5109 GB, free: 69.02 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007465/0.2923, allocations: 6.574 MB / 0.5173 GB, free: 67.87 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.2923, allocations: 58.7 kB / 0.5174 GB, free: 67.82 MB / 410.7 MB Notification: Performance of pre-optimization done (n=199): time 3.326e-06/0.2923, allocations: 0.8438 kB / 0.5174 GB, free: 67.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=225): time 0.022/0.3143, allocations: 9.853 MB / 0.527 GB, free: 62.64 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.076e-05/0.3144, allocations: 253.3 kB / 0.5273 GB, free: 62.34 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003532/0.3179, allocations: 4.513 MB / 0.5317 GB, free: 58.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.833e-05/0.318, allocations: 57.7 kB / 0.5317 GB, free: 58.64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001418/0.3194, allocations: 4.411 MB / 0.536 GB, free: 54.46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005016/0.32, allocations: 0.9383 MB / 0.5369 GB, free: 53.52 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001125/0.3211, allocations: 1.666 MB / 0.5386 GB, free: 51.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.987e-05/0.3211, allocations: 487.7 kB / 0.539 GB, free: 51.37 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009657/0.3221, allocations: 0.7528 MB / 0.5398 GB, free: 50.61 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002604/0.3247, allocations: 7.714 MB / 0.5473 GB, free: 39.83 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004111/0.3288, allocations: 9.138 MB / 0.5562 GB, free: 28.12 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.095e-05/0.3288, allocations: 52 kB / 0.5563 GB, free: 28.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=1002) (initialization): time 0.005296/0.3341, allocations: 6.101 MB / 0.5622 GB, free: 21.96 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.682e-05/0.3342, allocations: 72 kB / 0.5623 GB, free: 21.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.072e-05/0.3343, allocations: 168.2 kB / 0.5625 GB, free: 21.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004259/0.3347, allocations: 291.2 kB / 0.5627 GB, free: 21.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002748/0.3375, allocations: 1.766 MB / 0.5645 GB, free: 19.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001347/0.3388, allocations: 3.769 MB / 0.5681 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002567/0.3414, allocations: 335.7 kB / 0.5685 GB, free: 15.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000271/0.3416, allocations: 400.1 kB / 0.5688 GB, free: 14.96 MB / 410.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.001172/0.3428, allocations: 0.7972 MB / 0.5696 GB, free: 14.15 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004064/0.3432, allocations: 0.4999 MB / 0.5701 GB, free: 13.65 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001373/0.3446, allocations: 1.422 MB / 0.5715 GB, free: 12.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.551e-05/0.3446, allocations: 24 kB / 0.5715 GB, free: 12.18 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.3446, allocations: 0 / 0.5715 GB, free: 12.18 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/0.3446, allocations: 11.95 kB / 0.5715 GB, free: 12.17 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006471/0.3511, allocations: 6.085 MB / 0.5775 GB, free: 5.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.3511, allocations: 8 kB / 0.5775 GB, free: 5.922 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008809/0.352, allocations: 355.5 kB / 0.5778 GB, free: 5.574 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002117/0.3522, allocations: 93.98 kB / 0.5779 GB, free: 5.477 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.579e-05/0.3523, allocations: 47.7 kB / 0.578 GB, free: 5.434 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009034/0.3532, allocations: 3.474 MB / 0.5814 GB, free: 1.73 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.3532, allocations: 8.25 kB / 0.5814 GB, free: 1.723 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002162/0.3553, allocations: 2.633 MB / 0.5839 GB, free: 14.98 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004547/0.3558, allocations: 420.8 kB / 0.5843 GB, free: 14.56 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002909/0.3561, allocations: 44 kB / 0.5844 GB, free: 14.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007943/0.3569, allocations: 51.98 kB / 0.5844 GB, free: 14.47 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001702/0.357, allocations: 144.5 kB / 0.5846 GB, free: 14.33 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.37e-05/0.3571, allocations: 59.97 kB / 0.5846 GB, free: 14.27 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001559/0.3587, allocations: 1.824 MB / 0.5864 GB, free: 12.45 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.3587, allocations: 0 / 0.5864 GB, free: 12.45 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003624/0.3623, allocations: 1.305 MB / 0.5877 GB, free: 11.15 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.0003304/0.3626, allocations: 190.8 kB / 0.5879 GB, free: 10.95 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003599/0.3662, allocations: 3.561 MB / 0.5913 GB, free: 7.387 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.3662, allocations: 4 kB / 0.5913 GB, free: 7.383 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000774/0.367, allocations: 0.9602 MB / 0.5923 GB, free: 6.387 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001536/0.3686, allocations: 0.5451 MB / 0.5928 GB, free: 5.875 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01152/0.3801, allocations: 9.829 MB / 0.6024 GB, free: 11.88 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001343/0.3814, allocations: 1.61 MB / 0.604 GB, free: 10.25 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001679/0.3831, allocations: 0.646 MB / 0.6046 GB, free: 9.605 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001166/0.3843, allocations: 0.7714 MB / 0.6054 GB, free: 8.832 MB / 442.7 MB Notification: Performance of SimCode: time 1.132e-06/0.3843, allocations: 0 / 0.6054 GB, free: 8.832 MB / 442.7 MB Notification: Performance of Templates: time 0.05719/0.4415, allocations: 40.37 MB / 0.6448 GB, free: 1.074 MB / 474.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.609002887271345]