Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.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.001848/0.001848, allocations: 110.4 kB / 21.19 MB, free: 0.6641 MB / 14.72 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.002301/0.002301, allocations: 208.7 kB / 24.49 MB, free: 3.965 MB / 14.72 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.462/1.462, allocations: 230.6 MB / 258.3 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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(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.1.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.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001509/0.001509, allocations: 51.92 kB / 379 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2068/0.2083, allocations: 53.37 MB / 432.4 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.01234/0.2207, allocations: 9.824 MB / 442.2 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007166/0.2278, allocations: 3.859 MB / 446 MB, free: 8.996 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006843/0.2285, allocations: 79.62 kB / 446.1 MB, free: 8.918 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005704/0.2342, allocations: 3.088 MB / 449.2 MB, free: 5.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003894/0.2381, allocations: 1.942 MB / 451.1 MB, free: 3.871 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001549/0.2396, allocations: 0.8267 MB / 452 MB, free: 3.043 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004943/0.2446, allocations: 4.401 MB / 456.4 MB, free: 14.63 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00328/0.2479, allocations: 3.047 MB / 459.4 MB, free: 11.52 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001738/0.2496, allocations: 1.639 MB / 461.1 MB, free: 9.879 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002654/0.2523, allocations: 2.282 MB / 463.3 MB, free: 7.59 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005484/0.2528, allocations: 344 kB / 463.7 MB, free: 7.254 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001824/0.2546, allocations: 1.151 MB / 464.8 MB, free: 6.102 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00182/0.2565, allocations: 2.053 MB / 466.9 MB, free: 4.043 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001736/0.2582, allocations: 1.677 MB / 468.6 MB, free: 2.355 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007643/0.2658, allocations: 7.424 MB / 476 MB, free: 10.9 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.2658, allocations: 0 / 476 MB, free: 10.9 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2658, allocations: 4 kB / 476 MB, free: 10.9 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.46e-05/0.2659, allocations: 0 / 476 MB, free: 10.9 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1541 * Number of variables: 1541 Notification: Performance of Generate backend data structure: time 0.008996/0.2749, allocations: 5.114 MB / 481.1 MB, free: 5.723 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.2749, allocations: 16.02 kB / 481.1 MB, free: 5.707 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008568/0.2835, allocations: 2.151 MB / 483.3 MB, free: 3.551 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006062/0.2896, allocations: 2.72 MB / 486 MB, free: 0.7773 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002025/0.2898, allocations: 242.2 kB / 486.2 MB, free: 0.5391 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005929/0.2904, allocations: 315.8 kB / 486.5 MB, free: 236 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01663/0.307, allocations: 10.48 MB / 497 MB, free: 5.047 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001152/0.3071, allocations: 35.69 kB / 497 MB, free: 5.012 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004198/0.3075, allocations: 159.8 kB / 497.2 MB, free: 4.855 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003458/0.311, allocations: 2.029 MB / 499.2 MB, free: 2.824 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01628/0.3273, allocations: 8.897 MB / 0.4962 GB, free: 9.91 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0477/0.375, allocations: 38.29 MB / 0.5336 GB, free: 2.539 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1793/0.5542, allocations: 3.857 MB / 0.5374 GB, free: 100.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002648/0.5569, allocations: 2.303 MB / 0.5396 GB, free: 99.78 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009353/0.5662, allocations: 6.135 MB / 0.5456 GB, free: 97.41 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/0.5663, allocations: 47.19 kB / 0.5457 GB, free: 97.37 MB / 446.1 MB Notification: Performance of pre-optimization done (n=177): time 4.328e-06/0.5663, allocations: 0 / 0.5457 GB, free: 97.37 MB / 446.1 MB Notification: Performance of matching and sorting (n=198): time 0.03937/0.6056, allocations: 18.72 MB / 0.5639 GB, free: 84.49 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.6057, allocations: 171.5 kB / 0.5641 GB, free: 84.29 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003366/0.609, allocations: 3.906 MB / 0.5679 GB, free: 80.54 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001404/0.6092, allocations: 53.7 kB / 0.568 GB, free: 80.48 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001041/0.6102, allocations: 3.281 MB / 0.5712 GB, free: 77.34 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004174/0.6106, allocations: 0.7862 MB / 0.5719 GB, free: 76.56 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001222/0.6119, allocations: 1.286 MB / 0.5732 GB, free: 75.27 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 2.984e-05/0.6119, allocations: 305.1 kB / 0.5735 GB, free: 74.96 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002495/0.6144, allocations: 2.378 MB / 0.5758 GB, free: 72.58 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003462/0.6178, allocations: 6.104 MB / 0.5818 GB, free: 64.65 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006587/0.6244, allocations: 9.148 MB / 0.5907 GB, free: 53.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-05/0.6245, allocations: 36 kB / 0.5907 GB, free: 53.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=821) (initialization): time 0.01147/0.6359, allocations: 9.232 MB / 0.5998 GB, free: 44.43 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.041e-05/0.636, allocations: 60 kB / 0.5998 GB, free: 44.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.986e-05/0.6361, allocations: 131.8 kB / 0.5999 GB, free: 44.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002573/0.6387, allocations: 1.195 MB / 0.6011 GB, free: 43.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003817/0.6425, allocations: 1.435 MB / 0.6025 GB, free: 41.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00694/0.6494, allocations: 7.091 MB / 0.6094 GB, free: 34.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00324/0.6527, allocations: 351.6 kB / 0.6098 GB, free: 34.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003588/0.653, allocations: 381.4 kB / 0.6101 GB, free: 33.7 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 591 * Number of states: 0 () * Number of discrete variables: 46 (forceAndTorque.torqueArrow.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.forceArrow.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.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 (763): * Single equations (assignments): 757 * 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.002109/0.6551, allocations: 2.165 MB / 0.6122 GB, free: 31.53 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004035/0.6555, allocations: 345.4 kB / 0.6126 GB, free: 31.19 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005692/0.6612, allocations: 3.981 MB / 0.6165 GB, free: 27.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.473e-05/0.6612, allocations: 11.95 kB / 0.6165 GB, free: 27.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.6612, allocations: 0 / 0.6165 GB, free: 27.18 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004173/0.6617, allocations: 301.6 kB / 0.6168 GB, free: 26.89 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003696/0.662, allocations: 35.92 kB / 0.6168 GB, free: 26.85 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001252/0.6633, allocations: 119.8 kB / 0.6169 GB, free: 26.73 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002554/0.6635, allocations: 125 kB / 0.617 GB, free: 26.61 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006351/0.6699, allocations: 4.552 MB / 0.6215 GB, free: 22.08 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005391/0.6753, allocations: 5.957 MB / 0.6273 GB, free: 16.11 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001388/0.6767, allocations: 1.45 MB / 0.6287 GB, free: 14.66 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002131/0.6788, allocations: 2.255 MB / 0.6309 GB, free: 12.41 MB / 446.1 MB Notification: Performance of Backend: time 2.41e-07/0.6788, allocations: 3.938 kB / 0.6309 GB, free: 12.41 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006036/0.6848, allocations: 4.318 MB / 0.6351 GB, free: 8.113 MB / 446.1 MB Notification: Performance of SimCode: time 0.01092/0.6957, allocations: 9.638 MB / 0.6445 GB, free: 14.43 MB / 462.1 MB Notification: Performance of Templates: time 0.08992/0.7857, allocations: 53.6 MB / 0.6969 GB, free: 9.344 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/ForceAndTorque/ForceAndTorque.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.198925869000959]