Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2.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.0009873/0.0009873, allocations: 83.58 kB / 21.18 MB, free: 3.383 MB / 18.57 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.001149/0.001149, allocations: 161.4 kB / 24.56 MB, free: 16 kB / 18.57 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.053/1.053, allocations: 177.1 MB / 205 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] 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.2738/0.2738, allocations: 34.25 MB / 295.7 MB, free: 0.7422 MB / 266.7 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.Joints.Revolute2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|revolute1.phi|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2") translateModel(ModelicaTest.MultiBody.Joints.Revolute2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|revolute1.phi|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 378 MB, free: 2.648 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.881e-05/3.031e-05, allocations: 2.312 kB / 378 MB, free: 2.645 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute2): time 0.01371/0.01374, allocations: 17.46 MB / 395.5 MB, free: 1.105 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009064/0.02281, allocations: 5.233 MB / 400.7 MB, free: 11.86 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001704/0.02451, allocations: 127.4 kB / 400.9 MB, free: 11.73 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003303/0.02781, allocations: 3.274 MB / 404.1 MB, free: 8.445 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004591/0.0324, allocations: 2.71 MB / 406.8 MB, free: 5.723 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001422/0.03383, allocations: 1.146 MB / 408 MB, free: 4.574 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.006475/0.0403, allocations: 9.034 MB / 417 MB, free: 11.53 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003981/0.04428, allocations: 4.744 MB / 421.8 MB, free: 6.738 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003395/0.04768, allocations: 3.605 MB / 425.4 MB, free: 3.125 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003695/0.05137, allocations: 3.913 MB / 429.3 MB, free: 15.2 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006361/0.05201, allocations: 472 kB / 429.7 MB, free: 14.74 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00157/0.05358, allocations: 1.28 MB / 431 MB, free: 13.46 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001762/0.05534, allocations: 3.047 MB / 434.1 MB, free: 10.41 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001539/0.05688, allocations: 1.873 MB / 435.9 MB, free: 8.527 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006046/0.06292, allocations: 6.706 MB / 442.7 MB, free: 1.797 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.06293, allocations: 0 / 442.7 MB, free: 1.797 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.06293, allocations: 0 / 442.7 MB, free: 1.797 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001848/0.06312, allocations: 0 / 442.7 MB, free: 1.797 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2169 * Number of variables: 2169 Notification: Performance of Generate backend data structure: time 0.1823/0.2454, allocations: 7.957 MB / 450.6 MB, free: 95.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.2455, allocations: 8.688 kB / 450.6 MB, free: 95.84 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00906/0.2545, allocations: 4.65 MB / 455.3 MB, free: 95.21 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004998/0.2595, allocations: 3.531 MB / 458.8 MB, free: 94.09 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001807/0.2597, allocations: 319.5 kB / 459.1 MB, free: 93.99 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007319/0.2604, allocations: 427.1 kB / 459.5 MB, free: 93.89 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01644/0.2769, allocations: 8.594 MB / 468.1 MB, free: 89.82 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002323/0.2771, allocations: 55.08 kB / 468.2 MB, free: 89.81 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007416/0.2778, allocations: 204.2 kB / 468.4 MB, free: 89.72 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004312/0.2822, allocations: 3.38 MB / 471.8 MB, free: 89.2 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01384/0.296, allocations: 5.504 MB / 477.3 MB, free: 88.36 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0526/0.3486, allocations: 53.89 MB / 0.5187 GB, free: 40.74 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009056/0.3576, allocations: 4.261 MB / 0.5229 GB, free: 36.47 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003155/0.3608, allocations: 1.424 MB / 0.5243 GB, free: 35.04 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008766/0.3617, allocations: 0.6223 MB / 0.5249 GB, free: 34.43 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.17e-05/0.3617, allocations: 67.91 kB / 0.5249 GB, free: 34.35 MB / 410.7 MB Notification: Performance of pre-optimization done (n=367): time 9.458e-06/0.3617, allocations: 0 / 0.5249 GB, free: 34.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=419): time 0.05533/0.4171, allocations: 25.01 MB / 0.5494 GB, free: 9.41 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.1e-05/0.4171, allocations: 120 kB / 0.5495 GB, free: 9.273 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004035/0.4211, allocations: 3.848 MB / 0.5532 GB, free: 5.406 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005152/0.4217, allocations: 81.7 kB / 0.5533 GB, free: 5.32 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001425/0.4231, allocations: 4.11 MB / 0.5573 GB, free: 1.227 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00141/0.4245, allocations: 1.615 MB / 0.5589 GB, free: 15.63 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001962/0.4265, allocations: 1.637 MB / 0.5605 GB, free: 13.98 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.4266, allocations: 476.8 kB / 0.5609 GB, free: 13.51 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002242/0.4288, allocations: 1.237 MB / 0.5622 GB, free: 12.27 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004708/0.4335, allocations: 6.798 MB / 0.5688 GB, free: 2.996 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008923/0.4424, allocations: 8.893 MB / 0.5775 GB, free: 7.664 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001217/0.4426, allocations: 36 kB / 0.5775 GB, free: 7.629 MB / 442.7 MB Notification: Performance of matching and sorting (n=1039) (initialization): time 0.01611/0.4587, allocations: 8.708 MB / 0.586 GB, free: 14.88 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.664e-05/0.4588, allocations: 64.92 kB / 0.5861 GB, free: 14.82 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001233/0.4589, allocations: 128 kB / 0.5862 GB, free: 14.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004728/0.4636, allocations: 1.945 MB / 0.5881 GB, free: 12.74 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004638/0.4683, allocations: 1.813 MB / 0.5899 GB, free: 10.92 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00969/0.4779, allocations: 7.783 MB / 0.5975 GB, free: 2.91 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005504/0.4834, allocations: 0.6087 MB / 0.5981 GB, free: 2.301 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001364/0.4848, allocations: 432.7 kB / 0.5985 GB, free: 1.883 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 583 * Number of states: 0 () * Number of discrete variables: 50 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.color[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],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (942): * Single equations (assignments): 934 * Array equations: 6 * 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 {(6,32,69.4%), (1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003176/0.488, allocations: 0.7482 MB / 0.5992 GB, free: 1.121 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001374/0.4894, allocations: 0.5592 MB / 0.5998 GB, free: 0.5625 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1894/0.6788, allocations: 5.749 MB / 0.6054 GB, free: 121.9 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.551e-05/0.6788, allocations: 60.08 kB / 0.6054 GB, free: 121.9 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.231e-05/0.6789, allocations: 9.594 kB / 0.6054 GB, free: 121.9 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.676e-05/0.6789, allocations: 15.8 kB / 0.6055 GB, free: 121.9 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02029/0.6992, allocations: 12.38 MB / 0.6175 GB, free: 120.4 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.797e-05/0.6992, allocations: 12.69 kB / 0.6176 GB, free: 120.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001789/0.701, allocations: 0.6806 MB / 0.6182 GB, free: 120.4 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004104/0.7051, allocations: 1.764 MB / 0.6199 GB, free: 120.2 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004238/0.7055, allocations: 75.75 kB / 0.62 GB, free: 120.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00743/0.7129, allocations: 6.614 MB / 0.6265 GB, free: 115.8 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.167e-05/0.713, allocations: 20.75 kB / 0.6265 GB, free: 115.8 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01223/0.7252, allocations: 6.615 MB / 0.633 GB, free: 113.8 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001454/0.7266, allocations: 474.3 kB / 0.6334 GB, free: 113.7 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005791/0.7272, allocations: 80.05 kB / 0.6335 GB, free: 113.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002098/0.7293, allocations: 425.1 kB / 0.6339 GB, free: 113.7 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007928/0.7301, allocations: 280 kB / 0.6342 GB, free: 113.6 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003369/0.7304, allocations: 112.4 kB / 0.6343 GB, free: 113.6 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004055/0.7345, allocations: 1.741 MB / 0.636 GB, free: 113 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.2e-07/0.7345, allocations: 0 / 0.636 GB, free: 113 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006931/0.7414, allocations: 1.863 MB / 0.6378 GB, free: 112.8 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 7 (revolute.phi,revolute.w,constantSpeed.phi,revolute2.phi,revolute2.w,revolute3.phi,revolute3.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 (334): * Single equations (assignments): 326 * Array equations: 6 * 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,9,100.0%), (6,29,69.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008479/0.7423, allocations: 252.7 kB / 0.638 GB, free: 112.7 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.008751/0.751, allocations: 5.133 MB / 0.643 GB, free: 111.2 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-05/0.751, allocations: 0.75 kB / 0.643 GB, free: 111.2 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003196/0.7542, allocations: 2.169 MB / 0.6452 GB, free: 110.4 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003966/0.7582, allocations: 0.6279 MB / 0.6458 GB, free: 110.1 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02027/0.7785, allocations: 12.57 MB / 0.658 GB, free: 100.3 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002161/0.7806, allocations: 1.841 MB / 0.6598 GB, free: 98.93 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004679/0.7853, allocations: 2.138 MB / 0.6619 GB, free: 97.71 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001468/0.7868, allocations: 346.5 kB / 0.6623 GB, free: 97.4 MB / 458.7 MB Notification: Performance of SimCode: time 2.204e-06/0.7868, allocations: 4 kB / 0.6623 GB, free: 97.39 MB / 458.7 MB Notification: Performance of Templates: time 0.08142/0.8682, allocations: 68.22 MB / 0.7289 GB, free: 30.09 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Revolute2/Revolute2.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.4427511799149215]