Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.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.001808/0.001808, allocations: 106.5 kB / 21.2 MB, free: 0.6406 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.002296/0.002296, allocations: 216.6 kB / 24.49 MB, free: 3.93 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.504/1.504, allocations: 230.6 MB / 258.3 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2339/0.2339, allocations: 46.98 MB / 361.6 MB, free: 4.023 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.WorldForceAndTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w|Revolute5.phi|Revolute5.w|Revolute6.phi|Revolute6.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.WorldForceAndTorque") translateModel(ModelicaTest.MultiBody.Forces.WorldForceAndTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w|Revolute5.phi|Revolute5.w|Revolute6.phi|Revolute6.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.WorldForceAndTorque") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002045/0.002045, allocations: 71.91 kB / 0.4974 GB, free: 7.191 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3753/0.3773, allocations: 66.04 MB / 0.5618 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForceAndTorque): time 0.02061/0.3979, allocations: 15.73 MB / 0.5772 GB, free: 4.355 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01361/0.4116, allocations: 5.485 MB / 0.5826 GB, free: 14.86 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003881/0.4154, allocations: 147.3 kB / 0.5827 GB, free: 14.71 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01317/0.4286, allocations: 6.355 MB / 0.5889 GB, free: 8.336 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009176/0.4378, allocations: 2.929 MB / 0.5918 GB, free: 5.395 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004199/0.442, allocations: 1.431 MB / 0.5932 GB, free: 3.961 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01466/0.4566, allocations: 8.934 MB / 0.6019 GB, free: 11.01 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009122/0.4658, allocations: 6.112 MB / 0.6079 GB, free: 4.797 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006882/0.4726, allocations: 3.12 MB / 0.6109 GB, free: 1.668 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007828/0.4805, allocations: 4.436 MB / 0.6152 GB, free: 13.21 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002853/0.4833, allocations: 0.6875 MB / 0.6159 GB, free: 12.53 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004847/0.4882, allocations: 1.608 MB / 0.6175 GB, free: 10.92 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005667/0.4938, allocations: 3.9 MB / 0.6213 GB, free: 7.008 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00653/0.5004, allocations: 3.224 MB / 0.6244 GB, free: 3.766 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0178/0.5182, allocations: 13.29 MB / 0.6374 GB, free: 6.426 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.956e-06/0.5182, allocations: 4 kB / 0.6374 GB, free: 6.422 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.5182, allocations: 0 / 0.6374 GB, free: 6.422 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0004731/0.5187, allocations: 0 / 0.6374 GB, free: 6.422 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2683 * Number of variables: 2683 Notification: Performance of Generate backend data structure: time 0.02812/0.5468, allocations: 9.397 MB / 0.6466 GB, free: 12.94 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.439e-05/0.5469, allocations: 11.97 kB / 0.6466 GB, free: 12.93 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0176/0.5645, allocations: 3.244 MB / 0.6498 GB, free: 9.672 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0163/0.5808, allocations: 5.403 MB / 0.655 GB, free: 4.18 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000509/0.5813, allocations: 476.2 kB / 0.6555 GB, free: 3.711 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003021/0.5843, allocations: 0.6207 MB / 0.6561 GB, free: 3.09 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04321/0.6275, allocations: 18.63 MB / 0.6743 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005244/0.628, allocations: 91.28 kB / 0.6744 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00255/0.6306, allocations: 287.8 kB / 0.6747 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006671/0.6373, allocations: 3.276 MB / 0.6779 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03695/0.6742, allocations: 15.7 MB / 0.6932 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7794/1.454, allocations: 65.62 MB / 0.7573 GB, free: 108.9 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02225/1.476, allocations: 6.515 MB / 0.7636 GB, free: 108.4 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004794/1.481, allocations: 4.737 MB / 0.7683 GB, free: 106.7 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001791/1.481, allocations: 38.44 kB / 0.7683 GB, free: 106.7 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.795e-05/1.481, allocations: 74.36 kB / 0.7684 GB, free: 106.6 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=301): time 7.374e-06/1.481, allocations: 0 / 0.7684 GB, free: 106.6 MB / 0.5607 GB Notification: Performance of matching and sorting (n=364): time 0.1083/1.589, allocations: 43.3 MB / 0.8107 GB, free: 69.85 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001176/1.589, allocations: 270.3 kB / 0.8109 GB, free: 69.53 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007121/1.596, allocations: 6.234 MB / 0.817 GB, free: 63.54 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0009069/1.597, allocations: 79.39 kB / 0.8171 GB, free: 63.46 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002297/1.6, allocations: 5.434 MB / 0.8224 GB, free: 58.46 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001609/1.601, allocations: 1.434 MB / 0.8238 GB, free: 57.05 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002479/1.604, allocations: 2.07 MB / 0.8258 GB, free: 54.97 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.313e-05/1.604, allocations: 313.1 kB / 0.8261 GB, free: 54.66 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005106/1.609, allocations: 4.572 MB / 0.8306 GB, free: 50.08 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008138/1.617, allocations: 10.11 MB / 0.8404 GB, free: 37.38 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01455/1.632, allocations: 15.62 MB / 0.8557 GB, free: 19.24 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001584/1.632, allocations: 56 kB / 0.8557 GB, free: 19.18 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1296) (initialization): time 0.02727/1.659, allocations: 17.35 MB / 0.8727 GB, free: 1.816 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001001/1.659, allocations: 86.41 kB / 0.8728 GB, free: 1.734 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001667/1.659, allocations: 196 kB / 0.8729 GB, free: 1.543 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008454/1.668, allocations: 3.327 MB / 0.8762 GB, free: 14.2 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008742/1.676, allocations: 2.363 MB / 0.8785 GB, free: 11.84 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03045/1.707, allocations: 21.03 MB / 0.899 GB, free: 6.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008391/1.715, allocations: 0.5971 MB / 0.8996 GB, free: 5.922 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002022/1.717, allocations: 0.5741 MB / 0.9002 GB, free: 5.348 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 861 * Number of states: 0 () * Number of discrete variables: 87 (forceAndTorque2.torqueArrow.twoHeadedArrow,forceAndTorque2.torqueArrow.headAtOrigin,forceAndTorque2.forceArrow.twoHeadedArrow,forceAndTorque2.forceArrow.headAtOrigin,forceAndTorque1.torqueArrow.twoHeadedArrow,forceAndTorque1.torqueArrow.headAtOrigin,forceAndTorque1.forceArrow.twoHeadedArrow,forceAndTorque1.forceArrow.headAtOrigin,forceAndTorque.torqueArrow.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.forceArrow.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.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 (1200): * Single equations (assignments): 1194 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,23,100.0%), (2,23,100.0%), (2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007944/1.725, allocations: 3.591 MB / 0.9037 GB, free: 1.734 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00166/1.727, allocations: 0.5666 MB / 0.9042 GB, free: 1.164 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01983/1.747, allocations: 10.06 MB / 0.9141 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.2e-05/1.747, allocations: 19.92 kB / 0.9141 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/1.747, allocations: 0 / 0.9141 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001664/1.748, allocations: 0.5117 MB / 0.9146 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000979/1.749, allocations: 60 kB / 0.9146 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002968/1.752, allocations: 295.5 kB / 0.9149 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000748/1.753, allocations: 279.6 kB / 0.9152 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02198/1.775, allocations: 10.47 MB / 0.9254 GB, free: 11.58 MB / 0.6232 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01937/1.795, allocations: 12.65 MB / 0.9378 GB, free: 14.88 MB / 0.6388 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005741/1.8, allocations: 3.26 MB / 0.941 GB, free: 11.62 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.00693/1.807, allocations: 3.651 MB / 0.9445 GB, free: 7.996 MB / 0.6388 GB Notification: Performance of Backend: time 6.21e-07/1.807, allocations: 0 / 0.9445 GB, free: 7.996 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.01979/1.827, allocations: 7.895 MB / 0.9522 GB, free: 120 kB / 0.6388 GB Notification: Performance of SimCode: time 0.03424/1.861, allocations: 17.27 MB / 0.9691 GB, free: 14.8 MB / 0.67 GB Notification: Performance of Templates: time 0.4136/2.275, allocations: 102.4 MB / 1.069 GB, free: 206.1 MB / 0.6857 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.WorldForceAndTorque -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.WorldForceAndTorque_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/WorldForceAndTorque/WorldForceAndTorque.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.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: 9.736201372994401]