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.001933/0.001933, allocations: 85.58 kB / 20.68 MB, free: 1.035 MB / 14.72 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.002169/0.002169, allocations: 158.6 kB / 23.95 MB, free: 4.168 MB / 14.72 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.57/1.57, allocations: 177 MB / 204.1 MB, free: 9.141 MB / 190.1 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.2203/0.2203, allocations: 34.26 MB / 294.8 MB, free: 14.51 MB / 286.1 MB " [Timeout remaining time 180] 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 1.563e-06/1.563e-06, allocations: 0 / 442.7 MB, free: 5.266 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.302e-05/3.459e-05, allocations: 8.891 kB / 442.7 MB, free: 5.258 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.1999/0.1999, allocations: 13.02 MB / 455.7 MB, free: 12.17 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01078/0.2107, allocations: 4.804 MB / 460.5 MB, free: 9.164 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002944/0.2137, allocations: 121.9 kB / 460.6 MB, free: 9.125 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008101/0.2218, allocations: 4.107 MB / 464.7 MB, free: 7.375 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00765/0.2294, allocations: 2.481 MB / 467.2 MB, free: 6.172 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003162/0.2326, allocations: 1.277 MB / 468.5 MB, free: 5.633 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01542/0.248, allocations: 7.333 MB / 475.8 MB, free: 1.824 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01027/0.2583, allocations: 4.306 MB / 480.1 MB, free: 14.89 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01014/0.2684, allocations: 3.32 MB / 483.4 MB, free: 12.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01065/0.2791, allocations: 3.283 MB / 486.7 MB, free: 9.785 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002501/0.2816, allocations: 468 kB / 487.2 MB, free: 9.328 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007705/0.2893, allocations: 1.494 MB / 488.7 MB, free: 7.832 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007196/0.2965, allocations: 2.906 MB / 491.6 MB, free: 4.918 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006542/0.303, allocations: 1.776 MB / 493.4 MB, free: 3.137 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02522/0.3282, allocations: 9.568 MB / 0.4911 GB, free: 9.539 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.767e-06/0.3282, allocations: 0 / 0.4911 GB, free: 9.539 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.3282, allocations: 7.938 kB / 0.4911 GB, free: 9.531 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003557/0.3286, allocations: 3.938 kB / 0.4911 GB, free: 9.527 MB / 398.1 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.03121/0.3598, allocations: 6.878 MB / 0.4979 GB, free: 2.578 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.358e-05/0.3598, allocations: 8.031 kB / 0.4979 GB, free: 2.57 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04431/0.4042, allocations: 3.418 MB / 0.5012 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01117/0.4153, allocations: 4.054 MB / 0.5052 GB, free: 11.04 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002995/0.4156, allocations: 304.4 kB / 0.5055 GB, free: 10.74 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001256/0.4169, allocations: 428.3 kB / 0.5059 GB, free: 10.32 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02895/0.4458, allocations: 14.07 MB / 0.5196 GB, free: 11.33 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000174/0.446, allocations: 63.47 kB / 0.5197 GB, free: 11.27 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005984/0.4466, allocations: 197.7 kB / 0.5199 GB, free: 11.08 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004645/0.4512, allocations: 2.523 MB / 0.5223 GB, free: 8.551 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02702/0.4783, allocations: 11.79 MB / 0.5338 GB, free: 12.75 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07467/0.5529, allocations: 49.88 MB / 0.5825 GB, free: 9.598 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0181/0.571, allocations: 5.489 MB / 0.5879 GB, free: 4.062 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005197/0.5762, allocations: 3.268 MB / 0.5911 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02439/0.6006, allocations: 13 MB / 0.6038 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.393e-05/0.6007, allocations: 56.56 kB / 0.6039 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=230): time 5.681e-06/0.6007, allocations: 0 / 0.6039 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of matching and sorting (n=267): time 0.09744/0.6981, allocations: 29.4 MB / 0.6326 GB, free: 6.273 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001856/0.6983, allocations: 265.6 kB / 0.6328 GB, free: 5.957 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007055/0.7054, allocations: 4.938 MB / 0.6376 GB, free: 1 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000365/0.7057, allocations: 69.7 kB / 0.6377 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.2007/0.9065, allocations: 4.038 MB / 0.6417 GB, free: 169.6 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001456/0.9079, allocations: 1.035 MB / 0.6427 GB, free: 169.1 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003851/0.9118, allocations: 1.525 MB / 0.6442 GB, free: 168.7 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.381e-05/0.9118, allocations: 312.8 kB / 0.6444 GB, free: 168.4 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004789/0.9166, allocations: 2.94 MB / 0.6473 GB, free: 167.4 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00654/0.9232, allocations: 7.376 MB / 0.6545 GB, free: 160.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.013/0.9362, allocations: 10.97 MB / 0.6652 GB, free: 151.9 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003066/0.9365, allocations: 42.69 kB / 0.6653 GB, free: 151.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1001) (initialization): time 0.02361/0.9601, allocations: 11.02 MB / 0.676 GB, free: 147.8 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001563/0.9602, allocations: 68.16 kB / 0.6761 GB, free: 147.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002379/0.9605, allocations: 153.5 kB / 0.6763 GB, free: 147.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002817/0.9633, allocations: 1.227 MB / 0.6774 GB, free: 147.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005869/0.9692, allocations: 1.83 MB / 0.6792 GB, free: 147.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007819/0.977, allocations: 8.069 MB / 0.6871 GB, free: 142.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0058/0.9828, allocations: 0.4921 MB / 0.6876 GB, free: 141.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009737/0.9837, allocations: 447.7 kB / 0.688 GB, free: 141.4 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 687 * 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 (951): * Single equations (assignments): 946 * 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,12,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003983/0.9877, allocations: 2.628 MB / 0.6906 GB, free: 139.1 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009063/0.9886, allocations: 449 kB / 0.691 GB, free: 138.7 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007629/0.9963, allocations: 5.059 MB / 0.696 GB, free: 134.6 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-05/0.9963, allocations: 32 kB / 0.696 GB, free: 134.6 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.336e-05/0.9963, allocations: 4 kB / 0.696 GB, free: 134.6 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-05/0.9963, allocations: 13.56 kB / 0.696 GB, free: 134.6 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01904/1.015, allocations: 10.03 MB / 0.7058 GB, free: 124.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.792e-05/1.015, allocations: 0 / 0.7058 GB, free: 124.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002622/1.018, allocations: 0.5091 MB / 0.7063 GB, free: 124.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002647/1.021, allocations: 0.9818 MB / 0.7073 GB, free: 123.1 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004827/1.021, allocations: 48.86 kB / 0.7073 GB, free: 123 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007333/1.028, allocations: 7.444 MB / 0.7146 GB, free: 115.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/1.028, allocations: 8.047 kB / 0.7146 GB, free: 115.4 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01141/1.04, allocations: 8.505 MB / 0.7229 GB, free: 106.8 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001128/1.041, allocations: 447.2 kB / 0.7233 GB, free: 106.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008805/1.042, allocations: 44 kB / 0.7234 GB, free: 106.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002769/1.045, allocations: 247 kB / 0.7236 GB, free: 106.1 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004397/1.045, allocations: 149.6 kB / 0.7237 GB, free: 105.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002011/1.045, allocations: 67.98 kB / 0.7238 GB, free: 105.9 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00389/1.049, allocations: 2.91 MB / 0.7266 GB, free: 103 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/1.049, allocations: 0 / 0.7266 GB, free: 103 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00579/1.055, allocations: 1.489 MB / 0.7281 GB, free: 101.5 MB / 0.5294 GB 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 (227): * Single equations (assignments): 222 * 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,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005336/1.056, allocations: 188.9 kB / 0.7283 GB, free: 101.3 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008913/1.064, allocations: 6.874 MB / 0.735 GB, free: 94.44 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.493e-06/1.064, allocations: 0 / 0.735 GB, free: 94.44 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002706/1.067, allocations: 2.299 MB / 0.7372 GB, free: 92.11 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003312/1.07, allocations: 0.5338 MB / 0.7378 GB, free: 91.6 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01991/1.09, allocations: 12.84 MB / 0.7503 GB, free: 78.74 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004067/1.094, allocations: 3.592 MB / 0.7538 GB, free: 75.12 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005114/1.1, allocations: 2.342 MB / 0.7561 GB, free: 72.77 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00124/1.101, allocations: 304.4 kB / 0.7564 GB, free: 72.47 MB / 0.5294 GB Notification: Performance of SimCode: time 1.122e-06/1.101, allocations: 0 / 0.7564 GB, free: 72.47 MB / 0.5294 GB Notification: Performance of Templates: time 0.07437/1.175, allocations: 45.5 MB / 0.8008 GB, free: 27.56 MB / 0.5294 GB " [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.719044711440802]