Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces.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.0009478/0.0009478, 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.00102/0.00102, allocations: 163.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.9843/0.9843, allocations: 177.1 MB / 206.1 MB, free: 4.473 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.1466/0.1466, allocations: 34.26 MB / 296.9 MB, free: 13.91 MB / 282.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.Forces.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces") translateModel(ModelicaTest.MultiBody.Forces.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.092e-06/1.092e-06, allocations: 0 / 379.3 MB, free: 23.4 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.383e-06/8.475e-06, allocations: 10.25 kB / 379.3 MB, free: 23.39 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.007315/0.007324, allocations: 11.94 MB / 391.2 MB, free: 11.39 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006102/0.01343, allocations: 4.382 MB / 395.6 MB, free: 6.996 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00164/0.01507, allocations: 99.5 kB / 395.7 MB, free: 6.898 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002918/0.01798, allocations: 3.933 MB / 399.7 MB, free: 2.953 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002588/0.02057, allocations: 2.333 MB / 402 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001193/0.02176, allocations: 1.115 MB / 403.1 MB, free: 15.49 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005177/0.02694, allocations: 6.803 MB / 409.9 MB, free: 8.676 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00315/0.03009, allocations: 4.154 MB / 414.1 MB, free: 4.453 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003475/0.03357, allocations: 3.984 MB / 418 MB, free: 472 kB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002618/0.03618, allocations: 2.923 MB / 421 MB, free: 13.53 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005286/0.03671, allocations: 416 kB / 421.4 MB, free: 13.12 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001736/0.03845, allocations: 1.393 MB / 422.8 MB, free: 11.73 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001538/0.03999, allocations: 2.618 MB / 425.4 MB, free: 9.105 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001299/0.04129, allocations: 1.593 MB / 427 MB, free: 7.508 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004335/0.04562, allocations: 5.687 MB / 432.7 MB, free: 1.801 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.04563, allocations: 0 / 432.7 MB, free: 1.801 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.04563, allocations: 0 / 432.7 MB, free: 1.801 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.964e-05/0.0457, allocations: 4 kB / 432.7 MB, free: 1.797 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1726 * Number of variables: 1726 Notification: Performance of Generate backend data structure: time 0.00696/0.05266, allocations: 6.295 MB / 439 MB, free: 11.43 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.05269, allocations: 8.031 kB / 439 MB, free: 11.42 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005468/0.05816, allocations: 2.108 MB / 441.1 MB, free: 9.309 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003014/0.06117, allocations: 2.772 MB / 443.9 MB, free: 6.484 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003885/0.06156, allocations: 279.5 kB / 444.1 MB, free: 6.211 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003884/0.06195, allocations: 384.1 kB / 444.5 MB, free: 5.836 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006591/0.06854, allocations: 6.492 MB / 451 MB, free: 14.18 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.658e-05/0.06863, allocations: 51.52 kB / 451 MB, free: 14.12 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002836/0.06891, allocations: 179.8 kB / 451.2 MB, free: 13.95 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001497/0.07041, allocations: 1.885 MB / 453.1 MB, free: 12.06 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004466/0.07487, allocations: 2.806 MB / 455.9 MB, free: 9.223 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1902/0.2651, allocations: 51.14 MB / 0.4952 GB, free: 70.46 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004314/0.2694, allocations: 1.705 MB / 0.4968 GB, free: 70.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000601/0.27, allocations: 441.5 kB / 0.4973 GB, free: 70.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005094/0.2751, allocations: 4.065 MB / 0.5012 GB, free: 69.42 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/0.2752, allocations: 50.61 kB / 0.5013 GB, free: 69.38 MB / 410.7 MB Notification: Performance of pre-optimization done (n=127): time 4.418e-06/0.2752, allocations: 3.875 kB / 0.5013 GB, free: 69.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=129): time 0.00998/0.2851, allocations: 4.623 MB / 0.5058 GB, free: 68.73 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.861e-05/0.2852, allocations: 199.6 kB / 0.506 GB, free: 68.51 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00321/0.2884, allocations: 4.523 MB / 0.5104 GB, free: 67.85 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.858e-05/0.2884, allocations: 47.05 kB / 0.5104 GB, free: 67.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001538/0.29, allocations: 4.203 MB / 0.5146 GB, free: 65.62 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003381/0.2903, allocations: 0.5926 MB / 0.5151 GB, free: 65.32 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00105/0.2914, allocations: 1.574 MB / 0.5167 GB, free: 64.4 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.977e-05/0.2914, allocations: 476.8 kB / 0.5171 GB, free: 63.93 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007726/0.2922, allocations: 0.574 MB / 0.5177 GB, free: 63.41 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002569/0.2947, allocations: 7.393 MB / 0.5249 GB, free: 52.98 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003673/0.2984, allocations: 8.674 MB / 0.5334 GB, free: 41.93 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.223e-05/0.2985, allocations: 44 kB / 0.5334 GB, free: 41.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=908) (initialization): time 0.004914/0.3034, allocations: 5.544 MB / 0.5388 GB, free: 36.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.87e-05/0.3034, allocations: 83.92 kB / 0.5389 GB, free: 36.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.181e-05/0.3035, allocations: 160 kB / 0.5391 GB, free: 36.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003463/0.3039, allocations: 290.6 kB / 0.5393 GB, free: 35.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002067/0.3059, allocations: 1.567 MB / 0.5409 GB, free: 34.24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001011/0.3069, allocations: 3.778 MB / 0.5446 GB, free: 30.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002234/0.3092, allocations: 315.8 kB / 0.5449 GB, free: 29.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002295/0.3094, allocations: 376 kB / 0.5452 GB, free: 29.57 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 736 * Number of states: 0 () * Number of discrete variables: 49 (frameForce2.arrow.twoHeadedArrow,frameForce2.arrow.headAtOrigin,frameForce1.arrow.twoHeadedArrow,frameForce1.arrow.headAtOrigin,FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],frameForce2.color[3],frameForce2.color[2],frameForce2.color[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],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.color[3],frameForce1.color[2],frameForce1.color[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],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 (872): * Single equations (assignments): 865 * 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 {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009271/0.3103, allocations: 0.7491 MB / 0.5459 GB, free: 28.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003227/0.3106, allocations: 437.3 kB / 0.5464 GB, free: 28.38 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000685/0.3113, allocations: 0.7535 MB / 0.5471 GB, free: 27.6 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.3113, allocations: 16 kB / 0.5471 GB, free: 27.59 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.3113, allocations: 0 / 0.5471 GB, free: 27.59 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.3114, allocations: 7.984 kB / 0.5471 GB, free: 27.58 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004247/0.3156, allocations: 4.633 MB / 0.5517 GB, free: 22.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.3156, allocations: 13.38 kB / 0.5517 GB, free: 22.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004193/0.316, allocations: 191.6 kB / 0.5518 GB, free: 22.58 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001925/0.3162, allocations: 87.5 kB / 0.5519 GB, free: 22.48 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.995e-05/0.3163, allocations: 28 kB / 0.552 GB, free: 22.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007841/0.317, allocations: 3.477 MB / 0.5554 GB, free: 18.77 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.317, allocations: 19.86 kB / 0.5554 GB, free: 18.75 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001146/0.3182, allocations: 1.907 MB / 0.5572 GB, free: 16.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003277/0.3185, allocations: 397 kB / 0.5576 GB, free: 16.31 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002404/0.3188, allocations: 31.98 kB / 0.5576 GB, free: 16.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006216/0.3194, allocations: 24 kB / 0.5577 GB, free: 16.26 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.806e-05/0.3195, allocations: 92.19 kB / 0.5578 GB, free: 16.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.981e-05/0.3195, allocations: 31.98 kB / 0.5578 GB, free: 16.14 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001218/0.3207, allocations: 1.826 MB / 0.5596 GB, free: 14.31 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3207, allocations: 0 / 0.5596 GB, free: 14.31 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002756/0.3235, allocations: 1.113 MB / 0.5607 GB, free: 13.2 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (104): * Single equations (assignments): 99 * 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 {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000226/0.3237, allocations: 178.8 kB / 0.5608 GB, free: 13.02 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002214/0.3259, allocations: 3.067 MB / 0.5638 GB, free: 9.945 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.3259, allocations: 5 kB / 0.5638 GB, free: 9.941 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000379/0.3263, allocations: 0.6645 MB / 0.5645 GB, free: 9.23 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001469/0.3278, allocations: 0.5175 MB / 0.565 GB, free: 8.738 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007125/0.3349, allocations: 8.638 MB / 0.5734 GB, free: 15.91 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001168/0.3361, allocations: 1.455 MB / 0.5748 GB, free: 14.44 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001171/0.3372, allocations: 0.5752 MB / 0.5754 GB, free: 13.87 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007825/0.338, allocations: 0.6582 MB / 0.576 GB, free: 13.21 MB / 426.7 MB Notification: Performance of SimCode: time 8.52e-07/0.338, allocations: 0 / 0.576 GB, free: 13.21 MB / 426.7 MB Notification: Performance of Templates: time 0.04956/0.3876, allocations: 31.53 MB / 0.6068 GB, free: 14.27 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.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: 4.244084612932056]