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.001273/0.001273, allocations: 114.9 kB / 19.04 MB, free: 3.281 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.001271/0.001271, allocations: 190 kB / 22.21 MB, free: 112 kB / 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.401/1.401, allocations: 225.6 MB / 250.8 MB, free: 13.4 MB / 206.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.001513/0.001513, allocations: 51.92 kB / 368.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2696/0.2711, allocations: 52.14 MB / 420.9 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.01404/0.2851, allocations: 11.49 MB / 432.4 MB, free: 3.758 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009303/0.2944, allocations: 4.109 MB / 436.5 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002705/0.2971, allocations: 75.81 kB / 436.6 MB, free: 15.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007094/0.3042, allocations: 3.236 MB / 439.8 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007826/0.3121, allocations: 2.016 MB / 441.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002477/0.3145, allocations: 0.8266 MB / 442.6 MB, free: 9.469 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01033/0.3249, allocations: 4.454 MB / 447.1 MB, free: 5.004 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005425/0.3303, allocations: 2.873 MB / 450 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003739/0.334, allocations: 1.659 MB / 451.6 MB, free: 408 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004193/0.3382, allocations: 2.332 MB / 453.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001303/0.3395, allocations: 356 kB / 454.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003126/0.3426, allocations: 1.291 MB / 455.6 MB, free: 12.42 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002817/0.3455, allocations: 2.127 MB / 457.7 MB, free: 10.29 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003536/0.349, allocations: 2.357 MB / 460.1 MB, free: 7.914 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01112/0.3601, allocations: 7.657 MB / 467.7 MB, free: 232 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.3601, allocations: 4 kB / 467.7 MB, free: 228 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3601, allocations: 0 / 467.7 MB, free: 228 kB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002833/0.3604, allocations: 0 / 467.7 MB, free: 228 kB / 366.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.01305/0.3735, allocations: 5.319 MB / 473 MB, free: 10.82 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.246e-05/0.3735, allocations: 12.03 kB / 473.1 MB, free: 10.81 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009073/0.3826, allocations: 2.201 MB / 475.3 MB, free: 8.602 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007336/0.3899, allocations: 2.863 MB / 478.1 MB, free: 5.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003133/0.3902, allocations: 250.2 kB / 478.4 MB, free: 5.434 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001653/0.3919, allocations: 331.8 kB / 478.7 MB, free: 5.109 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02123/0.4131, allocations: 10.83 MB / 489.5 MB, free: 9.59 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001245/0.4132, allocations: 39.64 kB / 489.6 MB, free: 9.551 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004615/0.4137, allocations: 155.8 kB / 489.7 MB, free: 9.398 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003727/0.4174, allocations: 2.146 MB / 491.9 MB, free: 7.25 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02012/0.4376, allocations: 9.227 MB / 0.4893 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06334/0.5009, allocations: 41.76 MB / 0.5301 GB, free: 3.121 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.247/0.7479, allocations: 4.307 MB / 0.5343 GB, free: 106.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003128/0.751, allocations: 2.289 MB / 0.5366 GB, free: 106 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01024/0.7613, allocations: 7.406 MB / 0.5438 GB, free: 102.6 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.378e-05/0.7613, allocations: 53.66 kB / 0.5438 GB, free: 102.6 MB / 446.1 MB Notification: Performance of pre-optimization done (n=177): time 4.087e-06/0.7613, allocations: 0 / 0.5438 GB, free: 102.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=198): time 0.041/0.8023, allocations: 19 MB / 0.5624 GB, free: 90.01 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.236e-05/0.8023, allocations: 175.5 kB / 0.5626 GB, free: 89.8 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005266/0.8076, allocations: 4.626 MB / 0.5671 GB, free: 85.23 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004457/0.8081, allocations: 53.7 kB / 0.5671 GB, free: 85.18 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001859/0.8099, allocations: 3.35 MB / 0.5704 GB, free: 82.03 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001353/0.8113, allocations: 0.7922 MB / 0.5712 GB, free: 81.25 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001786/0.8131, allocations: 1.305 MB / 0.5725 GB, free: 79.93 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.721e-05/0.8131, allocations: 305.1 kB / 0.5727 GB, free: 79.63 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002653/0.8158, allocations: 2.398 MB / 0.5751 GB, free: 77.23 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003836/0.8196, allocations: 6.145 MB / 0.5811 GB, free: 69.27 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007624/0.8272, allocations: 9.228 MB / 0.5901 GB, free: 58.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.313e-05/0.8273, allocations: 40 kB / 0.5901 GB, free: 58.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=830) (initialization): time 0.01578/0.8431, allocations: 9.365 MB / 0.5993 GB, free: 48.79 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.532e-05/0.8432, allocations: 60 kB / 0.5993 GB, free: 48.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001304/0.8433, allocations: 135.9 kB / 0.5995 GB, free: 48.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00259/0.8459, allocations: 1.195 MB / 0.6006 GB, free: 47.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004357/0.8503, allocations: 1.443 MB / 0.602 GB, free: 45.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007204/0.8575, allocations: 7.296 MB / 0.6092 GB, free: 38.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004573/0.862, allocations: 359.3 kB / 0.6095 GB, free: 38.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007375/0.8628, allocations: 384 kB / 0.6099 GB, free: 37.8 MB / 446.1 MB 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.002712/0.8655, allocations: 2.232 MB / 0.6121 GB, free: 35.56 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006142/0.8661, allocations: 417.2 kB / 0.6125 GB, free: 35.15 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005846/0.872, allocations: 4.042 MB / 0.6164 GB, free: 31.09 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.614e-05/0.872, allocations: 24 kB / 0.6164 GB, free: 31.07 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.919e-06/0.872, allocations: 4 kB / 0.6164 GB, free: 31.07 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.525e-05/0.872, allocations: 15.91 kB / 0.6164 GB, free: 31.05 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01348/0.8855, allocations: 9.506 MB / 0.6257 GB, free: 21.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.927e-05/0.8855, allocations: 4 kB / 0.6257 GB, free: 21.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001399/0.8869, allocations: 320.2 kB / 0.626 GB, free: 21.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002344/0.8893, allocations: 1.027 MB / 0.627 GB, free: 20.09 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002347/0.8895, allocations: 36 kB / 0.6271 GB, free: 20.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007596/0.8971, allocations: 6.87 MB / 0.6338 GB, free: 13.05 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-06/0.8971, allocations: 8 kB / 0.6338 GB, free: 13.04 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009246/0.9063, allocations: 7.068 MB / 0.6407 GB, free: 5.891 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001352/0.9077, allocations: 490.2 kB / 0.6412 GB, free: 5.391 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007067/0.9084, allocations: 36 kB / 0.6412 GB, free: 5.355 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001664/0.9101, allocations: 128.3 kB / 0.6413 GB, free: 5.23 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000342/0.9104, allocations: 125 kB / 0.6414 GB, free: 5.105 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001405/0.9105, allocations: 52 kB / 0.6415 GB, free: 5.055 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003891/0.9144, allocations: 2.96 MB / 0.6444 GB, free: 2.094 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.9144, allocations: 4 kB / 0.6444 GB, free: 2.09 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005649/0.9201, allocations: 1.089 MB / 0.6454 GB, free: 1.004 MB / 446.1 MB 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.0005528/0.9206, allocations: 174.9 kB / 0.6456 GB, free: 0.8242 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009714/0.9303, allocations: 5.536 MB / 0.651 GB, free: 11.31 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.084e-05/0.9304, allocations: 0.5625 kB / 0.651 GB, free: 11.31 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003651/0.934, allocations: 1.926 MB / 0.6529 GB, free: 9.363 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003432/0.9374, allocations: 0.5041 MB / 0.6534 GB, free: 8.863 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01809/0.9555, allocations: 10.52 MB / 0.6637 GB, free: 14.23 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004512/0.96, allocations: 3.452 MB / 0.667 GB, free: 10.75 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004859/0.9649, allocations: 2.045 MB / 0.669 GB, free: 8.699 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009177/0.9658, allocations: 267.4 kB / 0.6693 GB, free: 8.438 MB / 478.1 MB Notification: Performance of SimCode: time 1.393e-06/0.9658, allocations: 0 / 0.6693 GB, free: 8.438 MB / 478.1 MB Notification: Performance of Templates: time 0.08584/1.052, allocations: 41.62 MB / 0.7099 GB, free: 15.05 MB / 0.5138 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/ForceAndTorque/ForceAndTorque.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 6.537431423552334]