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.001237/0.001237, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001313/0.001313, allocations: 167.9 kB / 25.61 MB, free: 8.582 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.9399/0.9399, allocations: 177.1 MB / 206 MB, free: 4.484 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.1312/0.1312, allocations: 32.81 MB / 295.4 MB, free: 15.37 MB / 282.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 1.312e-06/1.312e-06, allocations: 0 / 377.3 MB, free: 25.58 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.35e-05/1.481e-05, allocations: 6.312 kB / 377.3 MB, free: 25.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.008649/0.008664, allocations: 14.6 MB / 391.9 MB, free: 10.9 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005904/0.01457, allocations: 4.841 MB / 396.7 MB, free: 6.047 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008193/0.01539, allocations: 119.4 kB / 396.8 MB, free: 5.93 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003832/0.01922, allocations: 5.3 MB / 402.1 MB, free: 0.6133 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003068/0.02229, allocations: 2.647 MB / 404.8 MB, free: 13.95 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001679/0.02397, allocations: 1.232 MB / 406 MB, free: 12.72 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005889/0.02986, allocations: 7.665 MB / 413.7 MB, free: 5.039 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003824/0.03368, allocations: 5.15 MB / 418.8 MB, free: 15.81 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004307/0.03799, allocations: 4.717 MB / 423.5 MB, free: 11.09 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003043/0.04103, allocations: 3.456 MB / 427 MB, free: 7.621 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005244/0.04155, allocations: 0.5117 MB / 427.5 MB, free: 7.109 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002045/0.0436, allocations: 1.354 MB / 428.9 MB, free: 5.754 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001847/0.04545, allocations: 3.187 MB / 432.1 MB, free: 2.559 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001511/0.04696, allocations: 1.974 MB / 434 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005289/0.05225, allocations: 6.707 MB / 440.7 MB, free: 9.848 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.05225, allocations: 4 kB / 440.7 MB, free: 9.844 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.05225, allocations: 0 / 440.7 MB, free: 9.844 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.254e-05/0.05231, allocations: 0 / 440.7 MB, free: 9.844 MB / 362.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.008079/0.06038, allocations: 7.718 MB / 448.5 MB, free: 2.043 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.06043, allocations: 11.98 kB / 448.5 MB, free: 2.031 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006207/0.06663, allocations: 2.377 MB / 450.8 MB, free: 15.65 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003741/0.07037, allocations: 3.221 MB / 454.1 MB, free: 12.35 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001709/0.07055, allocations: 357.5 kB / 454.4 MB, free: 12 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004983/0.07104, allocations: 488 kB / 454.9 MB, free: 11.52 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009048/0.08009, allocations: 8.073 MB / 463 MB, free: 2.086 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001088/0.0802, allocations: 63.45 kB / 463 MB, free: 2.023 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003471/0.08055, allocations: 227.8 kB / 463.3 MB, free: 1.801 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001843/0.08239, allocations: 2.36 MB / 465.6 MB, free: 15.44 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006333/0.08872, allocations: 3.619 MB / 469.2 MB, free: 11.77 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1986/0.2874, allocations: 61.72 MB / 0.5185 GB, free: 61.86 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006716/0.2941, allocations: 2.872 MB / 0.5213 GB, free: 61.66 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008201/0.2949, allocations: 0.7071 MB / 0.522 GB, free: 61.6 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005446/0.3003, allocations: 5.302 MB / 0.5272 GB, free: 60.28 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.3004, allocations: 63.77 kB / 0.5272 GB, free: 60.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=191): time 3.868e-06/0.3004, allocations: 0.7812 kB / 0.5272 GB, free: 60.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=199): time 0.02167/0.322, allocations: 9.284 MB / 0.5363 GB, free: 55.91 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.932e-05/0.3221, allocations: 223.1 kB / 0.5365 GB, free: 55.64 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003826/0.3259, allocations: 5.286 MB / 0.5417 GB, free: 51.19 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.358e-05/0.326, allocations: 53.7 kB / 0.5417 GB, free: 51.13 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001482/0.3275, allocations: 5.036 MB / 0.5466 GB, free: 46.36 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004715/0.328, allocations: 0.8798 MB / 0.5475 GB, free: 45.47 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001214/0.3292, allocations: 1.901 MB / 0.5494 GB, free: 43.55 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.475e-05/0.3292, allocations: 480.7 kB / 0.5498 GB, free: 43.08 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001104/0.3303, allocations: 0.7935 MB / 0.5506 GB, free: 42.28 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002928/0.3333, allocations: 8.82 MB / 0.5592 GB, free: 29.88 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005476/0.3387, allocations: 10.48 MB / 0.5694 GB, free: 16.27 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001199/0.3388, allocations: 56 kB / 0.5695 GB, free: 16.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=1116) (initialization): time 0.009284/0.3481, allocations: 7.08 MB / 0.5764 GB, free: 9.129 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.286e-05/0.3482, allocations: 85.56 kB / 0.5765 GB, free: 9.047 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001827/0.3484, allocations: 188 kB / 0.5767 GB, free: 8.863 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001681/0.3501, allocations: 0.6084 MB / 0.5773 GB, free: 8.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00366/0.3537, allocations: 1.91 MB / 0.5791 GB, free: 6.336 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00375/0.3575, allocations: 5.358 MB / 0.5844 GB, free: 0.7578 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003952/0.3614, allocations: 383.6 kB / 0.5847 GB, free: 392 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004464/0.3619, allocations: 460 kB / 0.5852 GB, free: 15.93 MB / 426.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.001632/0.3635, allocations: 0.8656 MB / 0.586 GB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006875/0.3642, allocations: 0.528 MB / 0.5865 GB, free: 14.52 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00317/0.3674, allocations: 1.568 MB / 0.5881 GB, free: 12.93 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.353e-05/0.3674, allocations: 23.14 kB / 0.5881 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.797e-06/0.3674, allocations: 4 kB / 0.5881 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.643e-05/0.3674, allocations: 15.95 kB / 0.5881 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01067/0.3781, allocations: 6.814 MB / 0.5948 GB, free: 5.906 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.799e-06/0.3781, allocations: 4 kB / 0.5948 GB, free: 5.902 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009042/0.379, allocations: 287.6 kB / 0.595 GB, free: 5.621 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001606/0.3806, allocations: 367.1 kB / 0.5954 GB, free: 5.254 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001097/0.3807, allocations: 42.92 kB / 0.5954 GB, free: 5.215 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004139/0.3849, allocations: 4.99 MB / 0.6003 GB, free: 12 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.855e-06/0.3849, allocations: 11.94 kB / 0.6003 GB, free: 0 / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004092/0.389, allocations: 2.985 MB / 0.6032 GB, free: 12.86 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000619/0.3896, allocations: 475.7 kB / 0.6037 GB, free: 12.4 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003896/0.39, allocations: 36 kB / 0.6037 GB, free: 12.36 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001145/0.3911, allocations: 40 kB / 0.6038 GB, free: 12.32 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002467/0.3914, allocations: 140.7 kB / 0.6039 GB, free: 12.18 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001019/0.3915, allocations: 51.98 kB / 0.6039 GB, free: 12.13 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002352/0.3938, allocations: 2.11 MB / 0.606 GB, free: 10.04 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3938, allocations: 0 / 0.606 GB, free: 10.04 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005045/0.3989, allocations: 1.496 MB / 0.6075 GB, free: 8.547 MB / 442.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.0003507/0.3992, allocations: 194.4 kB / 0.6076 GB, free: 8.344 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005186/0.4044, allocations: 3.978 MB / 0.6115 GB, free: 4.363 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.89e-06/0.4044, allocations: 4 kB / 0.6115 GB, free: 4.359 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009363/0.4053, allocations: 1.011 MB / 0.6125 GB, free: 3.32 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001868/0.4072, allocations: 0.6131 MB / 0.6131 GB, free: 2.734 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01289/0.4201, allocations: 10.95 MB / 0.6238 GB, free: 7.57 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001743/0.4218, allocations: 1.797 MB / 0.6256 GB, free: 5.738 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001717/0.4236, allocations: 0.6843 MB / 0.6262 GB, free: 5.047 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009944/0.4245, allocations: 0.7949 MB / 0.627 GB, free: 4.25 MB / 458.7 MB Notification: Performance of SimCode: time 1.492e-06/0.4245, allocations: 0 / 0.627 GB, free: 4.25 MB / 458.7 MB Notification: Performance of Templates: time 0.2017/0.6262, allocations: 46.35 MB / 0.6723 GB, free: 168.5 MB / 490.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.015519483946264]