Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.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.001013/0.001013, allocations: 81.86 kB / 21.42 MB, free: 3.07 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.001076/0.001076, allocations: 167.7 kB / 24.82 MB, free: 8.723 MB / 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 0.9495/0.9495, allocations: 177.1 MB / 205.3 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2786/0.2786, allocations: 32.8 MB / 294.6 MB, free: 1.246 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Force,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",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force") translateModel(ModelicaTest.MultiBody.Forces.Force,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",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 376.5 MB, free: 4.395 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.578e-05/3.801e-05, allocations: 8.141 kB / 376.5 MB, free: 4.387 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.01248/0.01252, allocations: 14.6 MB / 391.1 MB, free: 5.715 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01087/0.02339, allocations: 4.843 MB / 395.9 MB, free: 0.8555 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00361/0.027, allocations: 119.4 kB / 396.1 MB, free: 0.7383 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00782/0.03482, allocations: 5.292 MB / 401.4 MB, free: 11.43 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007527/0.04234, allocations: 2.655 MB / 404 MB, free: 8.762 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002922/0.04527, allocations: 1.224 MB / 405.2 MB, free: 7.535 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01008/0.05535, allocations: 7.673 MB / 412.9 MB, free: 15.85 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006932/0.06228, allocations: 5.142 MB / 418 MB, free: 10.62 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01012/0.0724, allocations: 4.714 MB / 422.8 MB, free: 5.902 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006442/0.07884, allocations: 3.456 MB / 426.2 MB, free: 2.438 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002531/0.08137, allocations: 0.5078 MB / 426.7 MB, free: 1.93 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003846/0.08522, allocations: 1.358 MB / 428.1 MB, free: 0.5703 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003961/0.08918, allocations: 3.187 MB / 431.3 MB, free: 13.38 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004241/0.09342, allocations: 1.978 MB / 433.2 MB, free: 11.39 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01008/0.1035, allocations: 6.699 MB / 439.9 MB, free: 4.668 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.848e-06/0.1035, allocations: 4 kB / 439.9 MB, free: 4.664 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1035, allocations: 0 / 439.9 MB, free: 4.664 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003477/0.1039, allocations: 0 / 439.9 MB, free: 4.664 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: 2161 * Number of variables: 2161 Notification: Performance of Generate backend data structure: time 0.2229/0.3267, allocations: 7.714 MB / 447.7 MB, free: 77.85 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.722e-05/0.3268, allocations: 13 kB / 447.7 MB, free: 77.85 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006437/0.3332, allocations: 2.381 MB / 450.1 MB, free: 77.39 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005698/0.3389, allocations: 3.22 MB / 453.3 MB, free: 76.97 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002253/0.3391, allocations: 361.2 kB / 453.6 MB, free: 76.96 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007867/0.3399, allocations: 481.3 kB / 454.1 MB, free: 76.95 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01462/0.3545, allocations: 8.076 MB / 462.2 MB, free: 73.03 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003133/0.3549, allocations: 61.14 kB / 462.2 MB, free: 73.02 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000597/0.3555, allocations: 225.2 kB / 462.5 MB, free: 73.02 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002259/0.3577, allocations: 2.367 MB / 464.8 MB, free: 72.9 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01196/0.3697, allocations: 3.612 MB / 468.4 MB, free: 72.59 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05569/0.4254, allocations: 61.72 MB / 0.5177 GB, free: 23.22 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007965/0.4333, allocations: 2.877 MB / 0.5205 GB, free: 22.79 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001514/0.4348, allocations: 0.7049 MB / 0.5212 GB, free: 22.68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00923/0.4441, allocations: 5.303 MB / 0.5264 GB, free: 19.88 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.184e-05/0.4441, allocations: 61.55 kB / 0.5265 GB, free: 19.83 MB / 410.7 MB Notification: Performance of pre-optimization done (n=191): time 5.089e-06/0.4441, allocations: 0 / 0.5265 GB, free: 19.83 MB / 410.7 MB Notification: Performance of matching and sorting (n=199): time 0.02735/0.4715, allocations: 9.284 MB / 0.5355 GB, free: 13.12 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.504e-05/0.4715, allocations: 234.7 kB / 0.5358 GB, free: 12.85 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005215/0.4768, allocations: 5.27 MB / 0.5409 GB, free: 9.23 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004398/0.4772, allocations: 60.28 kB / 0.541 GB, free: 9.168 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002192/0.4794, allocations: 5.041 MB / 0.5459 GB, free: 4.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00105/0.4804, allocations: 0.8764 MB / 0.5467 GB, free: 3.594 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001555/0.482, allocations: 1.91 MB / 0.5486 GB, free: 1.859 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.172e-05/0.4821, allocations: 476.8 kB / 0.5491 GB, free: 1.391 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001214/0.4833, allocations: 0.8013 MB / 0.5498 GB, free: 0.582 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006772/0.49, allocations: 8.817 MB / 0.5585 GB, free: 4.43 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01206/0.5021, allocations: 10.47 MB / 0.5687 GB, free: 6.855 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002945/0.5024, allocations: 55.94 kB / 0.5687 GB, free: 6.801 MB / 442.7 MB Notification: Performance of matching and sorting (n=1116) (initialization): time 0.01816/0.5206, allocations: 7.068 MB / 0.5756 GB, free: 15.73 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001474/0.5207, allocations: 88 kB / 0.5757 GB, free: 15.64 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002584/0.521, allocations: 188 kB / 0.5759 GB, free: 15.46 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00185/0.5228, allocations: 0.6118 MB / 0.5765 GB, free: 14.84 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004796/0.5276, allocations: 1.907 MB / 0.5784 GB, free: 12.93 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005713/0.5333, allocations: 5.378 MB / 0.5836 GB, free: 7.387 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005945/0.5393, allocations: 375.6 kB / 0.584 GB, free: 7.02 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001318/0.5406, allocations: 457.8 kB / 0.5844 GB, free: 6.574 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 862 * Number of states: 0 () * Number of discrete variables: 67 (force2.forceArrow.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.twoHeadedArrow,force1.forceArrow.headAtOrigin,fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.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 (1064): * Single equations (assignments): 1057 * Array equations: 5 * 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 {(2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002948/0.5435, allocations: 0.8771 MB / 0.5853 GB, free: 5.684 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00141/0.5449, allocations: 0.5319 MB / 0.5858 GB, free: 5.148 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003003/0.548, allocations: 1.562 MB / 0.5873 GB, free: 3.574 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.86e-05/0.548, allocations: 24 kB / 0.5873 GB, free: 3.551 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.11e-05/0.548, allocations: 7.938 kB / 0.5873 GB, free: 3.543 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.857e-05/0.548, allocations: 7.969 kB / 0.5873 GB, free: 3.535 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01403/0.562, allocations: 6.822 MB / 0.594 GB, free: 13.15 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.268e-05/0.5621, allocations: 8 kB / 0.594 GB, free: 13.14 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001297/0.5634, allocations: 283.6 kB / 0.5943 GB, free: 12.87 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001308/0.5647, allocations: 369.3 kB / 0.5946 GB, free: 12.5 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001137/0.5648, allocations: 39.98 kB / 0.5947 GB, free: 12.46 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004411/0.5692, allocations: 4.99 MB / 0.5995 GB, free: 7.246 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/0.5692, allocations: 14.53 kB / 0.5996 GB, free: 7.234 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004972/0.5742, allocations: 2.977 MB / 0.6025 GB, free: 4.105 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00152/0.5757, allocations: 476.5 kB / 0.6029 GB, free: 3.637 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005221/0.5762, allocations: 39.98 kB / 0.603 GB, free: 3.598 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009971/0.5772, allocations: 43.94 kB / 0.603 GB, free: 3.555 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002261/0.5774, allocations: 136.7 kB / 0.6031 GB, free: 3.422 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.643e-05/0.5775, allocations: 48 kB / 0.6032 GB, free: 3.375 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00315/0.5807, allocations: 2.11 MB / 0.6052 GB, free: 1.285 MB / 474.7 MB Notification: Performance of sort global known variables: time 8e-08/0.5807, allocations: 0 / 0.6052 GB, free: 1.285 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.2105/0.7912, allocations: 1.501 MB / 0.6067 GB, free: 132.9 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.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 (164): * Single equations (assignments): 159 * Array equations: 3 * 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 {(2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009373/0.7921, allocations: 193.5 kB / 0.6069 GB, free: 132.8 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006599/0.7987, allocations: 3.979 MB / 0.6108 GB, free: 132.3 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.207e-05/0.7987, allocations: 0 / 0.6108 GB, free: 132.3 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001318/0.8, allocations: 1.008 MB / 0.6118 GB, free: 131.9 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003376/0.8034, allocations: 0.6018 MB / 0.6123 GB, free: 131.8 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01902/0.8224, allocations: 10.97 MB / 0.6231 GB, free: 127.2 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003102/0.8255, allocations: 1.794 MB / 0.6248 GB, free: 127 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002782/0.8283, allocations: 0.6833 MB / 0.6255 GB, free: 126.8 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001313/0.8296, allocations: 0.7814 MB / 0.6262 GB, free: 126.8 MB / 474.7 MB Notification: Performance of SimCode: time 2.916e-06/0.8296, allocations: 6.812 kB / 0.6262 GB, free: 126.8 MB / 474.7 MB Notification: Performance of Templates: time 0.07848/0.9081, allocations: 45.35 MB / 0.6705 GB, free: 106 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Force/Force.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.369372784625739]