Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00166/0.00166, allocations: 119.4 kB / 18.41 MB, free: 4.688 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00173/0.00173, allocations: 190.9 kB / 21.35 MB, free: 1.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 222.9 MB / 247 MB, free: 4.227 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001554/0.001554, allocations: 47.92 kB / 358.7 MB, free: 8.363 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1073, allocations: 49.43 MB / 408.1 MB, free: 6.875 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.01506/0.1224, allocations: 11.41 MB / 419.5 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009022/0.1315, allocations: 4.061 MB / 423.6 MB, free: 7.344 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002336/0.1339, allocations: 79.75 kB / 423.7 MB, free: 7.266 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006564/0.1405, allocations: 3.197 MB / 426.9 MB, free: 4.059 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005889/0.1464, allocations: 1.952 MB / 428.8 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002124/0.1486, allocations: 0.8305 MB / 429.6 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.2149/0.3635, allocations: 4.438 MB / 434.1 MB, free: 4.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005649/0.3692, allocations: 4.051 MB / 438.1 MB, free: 4.309 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003755/0.373, allocations: 1.655 MB / 439.8 MB, free: 4.164 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0043/0.3773, allocations: 2.157 MB / 441.9 MB, free: 3.918 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001701/0.379, allocations: 353.5 kB / 442.3 MB, free: 3.918 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003795/0.3829, allocations: 1.255 MB / 443.5 MB, free: 3.918 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003104/0.386, allocations: 2.063 MB / 445.6 MB, free: 3.707 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004322/0.3903, allocations: 2.359 MB / 448 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01043/0.4008, allocations: 7.655 MB / 455.6 MB, free: 1.465 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/0.4008, allocations: 0 / 455.6 MB, free: 1.465 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.4008, allocations: 1.031 kB / 455.6 MB, free: 1.465 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0003309/0.4012, allocations: 4 kB / 455.6 MB, free: 1.461 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1599 * Number of variables: 1599 Notification: Performance of Generate backend data structure: time 0.01567/0.4169, allocations: 5.323 MB / 460.9 MB, free: 14.23 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.4169, allocations: 9.625 kB / 461 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01004/0.427, allocations: 2.201 MB / 463.2 MB, free: 13.08 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007762/0.4348, allocations: 2.865 MB / 466 MB, free: 11.43 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000254/0.4351, allocations: 253.3 kB / 466.3 MB, free: 11.35 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001736/0.4368, allocations: 330.2 kB / 466.6 MB, free: 11.27 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02395/0.4608, allocations: 10.83 MB / 477.4 MB, free: 1.023 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001831/0.461, allocations: 47.81 kB / 477.5 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00123/0.4622, allocations: 160.5 kB / 477.6 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004098/0.4664, allocations: 2.147 MB / 479.8 MB, free: 14.76 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02262/0.489, allocations: 9.224 MB / 489 MB, free: 5.695 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07111/0.5602, allocations: 41.76 MB / 0.5183 GB, free: 11.38 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01362/0.5739, allocations: 4.489 MB / 0.5227 GB, free: 6.746 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00411/0.578, allocations: 2.489 MB / 0.5251 GB, free: 4.25 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01596/0.594, allocations: 7.399 MB / 0.5323 GB, free: 12.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.429e-05/0.5941, allocations: 51.56 kB / 0.5324 GB, free: 12.64 MB / 446.1 MB Notification: Performance of pre-optimization done (n=177): time 6.813e-06/0.5941, allocations: 3.75 kB / 0.5324 GB, free: 12.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=198): time 0.06039/0.6545, allocations: 19.02 MB / 0.551 GB, free: 9.535 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001395/0.6547, allocations: 175.5 kB / 0.5511 GB, free: 9.328 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01115/0.6659, allocations: 4.627 MB / 0.5557 GB, free: 4.684 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005829/0.6665, allocations: 55.97 kB / 0.5557 GB, free: 4.625 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003486/0.67, allocations: 3.341 MB / 0.559 GB, free: 1.297 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001361/0.6714, allocations: 0.7953 MB / 0.5598 GB, free: 0.5117 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003947/0.6754, allocations: 1.301 MB / 0.561 GB, free: 15.2 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001785/0.6756, allocations: 305.1 kB / 0.5613 GB, free: 14.9 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004781/0.6804, allocations: 2.394 MB / 0.5637 GB, free: 12.5 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009099/0.6895, allocations: 6.142 MB / 0.5697 GB, free: 4.508 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01448/0.704, allocations: 9.236 MB / 0.5787 GB, free: 9.461 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001807/0.7042, allocations: 36 kB / 0.5787 GB, free: 9.426 MB / 494.1 MB Notification: Performance of matching and sorting (n=830) (initialization): time 0.02427/0.7285, allocations: 9.374 MB / 0.5879 GB, free: 44 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002351/0.7288, allocations: 64.05 kB / 0.5879 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003348/0.7292, allocations: 128.9 kB / 0.588 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003778/0.733, allocations: 1.199 MB / 0.5892 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005729/0.7387, allocations: 1.45 MB / 0.5906 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01231/0.7511, allocations: 7.293 MB / 0.5978 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007409/0.7585, allocations: 355.6 kB / 0.5981 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001921/0.7605, allocations: 380.8 kB / 0.5985 GB, free: 5.043 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 600 * Number of states: 0 () * Number of discrete variables: 49 (forceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,fixed2.color[3],fixed2.color[2],fixed2.color[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],forceAndTorque.connectionLineColor[3],forceAndTorque.connectionLineColor[2],forceAndTorque.connectionLineColor[1],forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceArrow.color[3],forceAndTorque.forceArrow.color[2],forceAndTorque.forceArrow.color[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (772): * Single equations (assignments): 766 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007123/0.7676, allocations: 2.252 MB / 0.6007 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001435/0.7691, allocations: 409.2 kB / 0.601 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01014/0.7792, allocations: 4.062 MB / 0.605 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-05/0.7793, allocations: 20 kB / 0.605 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.239e-05/0.7794, allocations: 8 kB / 0.605 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.194e-05/0.7794, allocations: 7.969 kB / 0.605 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02412/0.8035, allocations: 9.528 MB / 0.6144 GB, free: 4.637 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.938e-05/0.8036, allocations: 8.094 kB / 0.6144 GB, free: 4.629 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001691/0.8053, allocations: 320.9 kB / 0.6147 GB, free: 4.316 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002986/0.8083, allocations: 1.028 MB / 0.6157 GB, free: 3.285 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003685/0.8087, allocations: 36 kB / 0.6157 GB, free: 3.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2191/1.028, allocations: 6.86 MB / 0.6224 GB, free: 170.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.238e-06/1.028, allocations: 7.953 kB / 0.6224 GB, free: 170.6 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01173/1.04, allocations: 7.077 MB / 0.6293 GB, free: 169.9 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001362/1.041, allocations: 488 kB / 0.6298 GB, free: 169.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007535/1.042, allocations: 41.09 kB / 0.6298 GB, free: 169.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001709/1.043, allocations: 120.7 kB / 0.6299 GB, free: 169.8 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003801/1.044, allocations: 125.9 kB / 0.6301 GB, free: 169.8 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001655/1.044, allocations: 56.94 kB / 0.6301 GB, free: 169.8 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00557/1.05, allocations: 2.956 MB / 0.633 GB, free: 169.7 MB / 0.5137 GB Notification: Performance of sort global known variables: time 6.12e-07/1.05, allocations: 0 / 0.633 GB, free: 169.7 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.006103/1.056, allocations: 1.092 MB / 0.6341 GB, free: 169.7 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 (revolute2.phi,revolute2.w,revolute1.phi,revolute1.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 (157): * Single equations (assignments): 153 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005358/1.056, allocations: 175.5 kB / 0.6342 GB, free: 169.6 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.009278/1.066, allocations: 5.772 MB / 0.6399 GB, free: 168.2 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.459e-05/1.066, allocations: 1.375 kB / 0.6399 GB, free: 168.2 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003229/1.069, allocations: 2.07 MB / 0.6419 GB, free: 167.4 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003553/1.072, allocations: 0.5055 MB / 0.6424 GB, free: 167.2 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01731/1.09, allocations: 10.89 MB / 0.653 GB, free: 162.3 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003624/1.093, allocations: 3.433 MB / 0.6564 GB, free: 161 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00123/1.095, allocations: 319.5 kB / 0.6567 GB, free: 161 MB / 0.5137 GB Notification: Performance of SimCode: time 1.042e-06/1.095, allocations: 1.094 kB / 0.6567 GB, free: 161 MB / 0.5137 GB Notification: Performance of Templates: time 0.09159/1.186, allocations: 82.85 MB / 0.7376 GB, free: 81.17 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/ForceAndTorque/ForceAndTorque.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.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: 13.505366983008571]