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.001554/0.001554, allocations: 83.59 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.001718/0.001718, allocations: 165 kB / 24.56 MB, free: 12 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.016/1.016, allocations: 177.1 MB / 205 MB, free: 5.605 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.2799/0.2799, allocations: 32.81 MB / 294.3 MB, free: 1.258 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.485e-06/2.485e-06, allocations: 3.938 kB / 376 MB, free: 4.641 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.822e-05/4.071e-05, allocations: 6.25 kB / 376 MB, free: 4.633 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.01408/0.01412, allocations: 15 MB / 391 MB, free: 5.57 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009121/0.02324, allocations: 4.874 MB / 395.9 MB, free: 0.6797 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00309/0.02633, allocations: 119.4 kB / 396 MB, free: 0.5625 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006878/0.03321, allocations: 5.374 MB / 401.4 MB, free: 11.17 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00752/0.04073, allocations: 2.647 MB / 404 MB, free: 8.512 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003017/0.04374, allocations: 1.236 MB / 405.3 MB, free: 7.273 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.009039/0.05278, allocations: 7.643 MB / 412.9 MB, free: 15.61 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006554/0.05934, allocations: 5.154 MB / 418.1 MB, free: 10.38 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007909/0.06724, allocations: 4.694 MB / 422.8 MB, free: 5.676 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005512/0.07276, allocations: 3.472 MB / 426.2 MB, free: 2.195 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001529/0.07429, allocations: 0.5117 MB / 426.8 MB, free: 1.684 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002813/0.0771, allocations: 1.358 MB / 428.1 MB, free: 332 kB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003102/0.0802, allocations: 3.214 MB / 431.3 MB, free: 13.1 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003396/0.0836, allocations: 1.971 MB / 433.3 MB, free: 11.12 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009697/0.09329, allocations: 6.71 MB / 440 MB, free: 4.391 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.0933, allocations: 4 kB / 440 MB, free: 4.387 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.0933, allocations: 0 / 440 MB, free: 4.387 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002813/0.09358, allocations: 0 / 440 MB, free: 4.387 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.1839/0.2775, allocations: 8.092 MB / 448.1 MB, free: 95.59 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.2775, allocations: 8.281 kB / 448.1 MB, free: 95.59 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006506/0.284, allocations: 3.301 MB / 451.4 MB, free: 95.13 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004344/0.2883, allocations: 3.648 MB / 455.1 MB, free: 94.01 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000144/0.2885, allocations: 354.9 kB / 455.4 MB, free: 93.89 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005077/0.289, allocations: 476.4 kB / 455.9 MB, free: 93.77 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01164/0.3006, allocations: 9.14 MB / 465 MB, free: 88.64 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001687/0.3008, allocations: 61.91 kB / 465.1 MB, free: 88.63 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000415/0.3012, allocations: 222.3 kB / 465.3 MB, free: 88.53 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001922/0.3031, allocations: 2.522 MB / 467.8 MB, free: 88.08 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009556/0.3127, allocations: 4.794 MB / 472.6 MB, free: 87.25 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04599/0.3587, allocations: 62.37 MB / 0.5224 GB, free: 34.78 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008698/0.3674, allocations: 3.683 MB / 0.526 GB, free: 32.08 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001417/0.3688, allocations: 0.8307 MB / 0.5269 GB, free: 31.29 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007803/0.3766, allocations: 5.66 MB / 0.5324 GB, free: 25.79 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.505e-05/0.3766, allocations: 58.48 kB / 0.5324 GB, free: 25.73 MB / 410.7 MB Notification: Performance of pre-optimization done (n=191): time 5.019e-06/0.3767, allocations: 0 / 0.5324 GB, free: 25.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=199): time 0.02591/0.4026, allocations: 16.92 MB / 0.549 GB, free: 8.703 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.903e-05/0.4026, allocations: 227.1 kB / 0.5492 GB, free: 8.434 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003835/0.4064, allocations: 5.313 MB / 0.5544 GB, free: 3.148 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001947/0.4066, allocations: 57.7 kB / 0.5544 GB, free: 3.086 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001842/0.4085, allocations: 4.998 MB / 0.5593 GB, free: 14.13 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006832/0.4092, allocations: 0.8625 MB / 0.5601 GB, free: 13.28 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001493/0.4107, allocations: 1.87 MB / 0.562 GB, free: 11.39 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.233e-05/0.4107, allocations: 476.8 kB / 0.5624 GB, free: 10.92 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001356/0.4121, allocations: 0.895 MB / 0.5633 GB, free: 10.02 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005242/0.4173, allocations: 8.87 MB / 0.572 GB, free: 13.49 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009221/0.4266, allocations: 10.72 MB / 0.5824 GB, free: 15.19 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002165/0.4268, allocations: 55.75 kB / 0.5825 GB, free: 15.14 MB / 458.7 MB Notification: Performance of matching and sorting (n=1116) (initialization): time 0.01251/0.4393, allocations: 7.827 MB / 0.5901 GB, free: 7.301 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.147e-05/0.4394, allocations: 88 kB / 0.5902 GB, free: 7.215 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001593/0.4395, allocations: 188.9 kB / 0.5904 GB, free: 7.031 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001699/0.4412, allocations: 0.8222 MB / 0.5912 GB, free: 6.203 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00343/0.4447, allocations: 1.988 MB / 0.5931 GB, free: 4.211 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1602/0.6049, allocations: 5.616 MB / 0.5986 GB, free: 113.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004367/0.6093, allocations: 0.5271 MB / 0.5991 GB, free: 113.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007109/0.61, allocations: 0.5115 MB / 0.5996 GB, free: 113.9 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.001861/0.6118, allocations: 0.882 MB / 0.6005 GB, free: 113.8 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007078/0.6126, allocations: 0.5305 MB / 0.601 GB, free: 113.8 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00271/0.6153, allocations: 1.942 MB / 0.6029 GB, free: 113.6 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.223e-05/0.6153, allocations: 22.5 kB / 0.6029 GB, free: 113.6 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/0.6153, allocations: 5.25 kB / 0.6029 GB, free: 113.6 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.324e-05/0.6153, allocations: 15.98 kB / 0.603 GB, free: 113.6 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01003/0.6253, allocations: 7.281 MB / 0.6101 GB, free: 112.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-05/0.6254, allocations: 6.188 kB / 0.6101 GB, free: 112.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007883/0.6261, allocations: 331.9 kB / 0.6104 GB, free: 112.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001409/0.6276, allocations: 0.5402 MB / 0.6109 GB, free: 112.7 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.835e-05/0.6277, allocations: 37.97 kB / 0.6109 GB, free: 112.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003401/0.6311, allocations: 5.212 MB / 0.616 GB, free: 108.8 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/0.6311, allocations: 20.5 kB / 0.6161 GB, free: 108.8 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004353/0.6354, allocations: 3.396 MB / 0.6194 GB, free: 107.7 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001376/0.6368, allocations: 483.6 kB / 0.6198 GB, free: 107.7 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003487/0.6371, allocations: 44.08 kB / 0.6199 GB, free: 107.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009974/0.6381, allocations: 153.5 kB / 0.62 GB, free: 107.7 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002564/0.6384, allocations: 141.8 kB / 0.6202 GB, free: 107.7 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-05/0.6385, allocations: 66.33 kB / 0.6202 GB, free: 107.7 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003001/0.6415, allocations: 2.277 MB / 0.6224 GB, free: 107.4 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6415, allocations: 0 / 0.6224 GB, free: 107.4 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005068/0.6466, allocations: 1.494 MB / 0.6239 GB, free: 107.4 MB / 458.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.0004165/0.647, allocations: 198.1 kB / 0.6241 GB, free: 107.4 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005617/0.6526, allocations: 4.269 MB / 0.6283 GB, free: 106.7 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/0.6526, allocations: 4.969 kB / 0.6283 GB, free: 106.7 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001268/0.6539, allocations: 1.116 MB / 0.6294 GB, free: 106.1 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002392/0.6563, allocations: 0.5977 MB / 0.6299 GB, free: 105.9 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01677/0.673, allocations: 11.05 MB / 0.6407 GB, free: 100.3 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002283/0.6753, allocations: 1.787 MB / 0.6425 GB, free: 99.71 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003815/0.6791, allocations: 2.163 MB / 0.6446 GB, free: 99.5 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008454/0.68, allocations: 324.7 kB / 0.6449 GB, free: 99.48 MB / 458.7 MB Notification: Performance of SimCode: time 3.096e-06/0.68, allocations: 0 / 0.6449 GB, free: 99.48 MB / 458.7 MB Notification: Performance of Templates: time 0.06253/0.7425, allocations: 42.79 MB / 0.6867 GB, free: 66.38 MB / 458.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.044523085933179]