Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001459/0.001459, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001015/0.001015, allocations: 167.3 kB / 24.99 MB, free: 8.746 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.9643/0.9643, allocations: 177.1 MB / 205.3 MB, free: 5.648 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.298/0.298, allocations: 32.8 MB / 294.6 MB, free: 1.199 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.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_4.0.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.0.0_ModelicaTest.MultiBody.Forces.FrameForces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 376 MB, free: 4.977 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.587e-05/2.75e-05, allocations: 9.766 kB / 376 MB, free: 4.969 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.00958/0.009608, allocations: 12.21 MB / 388.2 MB, free: 8.703 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0067/0.01631, allocations: 4.403 MB / 392.6 MB, free: 4.285 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009392/0.01725, allocations: 99.5 kB / 392.7 MB, free: 4.188 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003665/0.02091, allocations: 3.98 MB / 396.7 MB, free: 200 kB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003105/0.02402, allocations: 2.329 MB / 399 MB, free: 13.85 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001364/0.02538, allocations: 1.115 MB / 400.1 MB, free: 12.73 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005464/0.03085, allocations: 6.788 MB / 406.9 MB, free: 5.938 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004157/0.035, allocations: 4.143 MB / 411.1 MB, free: 1.723 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003118/0.03812, allocations: 3.002 MB / 414.1 MB, free: 14.71 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003077/0.0412, allocations: 2.958 MB / 417 MB, free: 11.75 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008548/0.04205, allocations: 423.9 kB / 417.4 MB, free: 11.33 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001876/0.04393, allocations: 1.385 MB / 418.8 MB, free: 9.945 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001911/0.04584, allocations: 2.626 MB / 421.5 MB, free: 7.312 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001699/0.04754, allocations: 1.593 MB / 423.1 MB, free: 5.715 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006048/0.05359, allocations: 5.687 MB / 428.7 MB, free: 8 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.05359, allocations: 0 / 428.7 MB, free: 8 kB / 394.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.05359, allocations: 0 / 428.7 MB, free: 8 kB / 394.7 MB Notification: Performance of Transformations before backend: time 9.727e-05/0.05369, allocations: 0 / 428.7 MB, free: 8 kB / 394.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.009314/0.063, allocations: 6.542 MB / 435.3 MB, free: 9.395 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.06305, allocations: 16.02 kB / 435.3 MB, free: 9.379 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008531/0.07158, allocations: 3.098 MB / 438.4 MB, free: 6.273 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005106/0.07668, allocations: 3.299 MB / 441.7 MB, free: 2.926 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001768/0.07686, allocations: 279.5 kB / 442 MB, free: 2.652 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005051/0.07737, allocations: 372.1 kB / 442.3 MB, free: 2.289 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1656/0.2429, allocations: 7.268 MB / 449.6 MB, free: 74.85 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001526/0.2431, allocations: 50.8 kB / 449.6 MB, free: 74.85 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00034/0.2434, allocations: 182.6 kB / 449.8 MB, free: 74.85 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002051/0.2455, allocations: 2.146 MB / 452 MB, free: 74.84 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007881/0.2534, allocations: 3.88 MB / 455.9 MB, free: 74.79 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02725/0.2806, allocations: 51.12 MB / 0.4951 GB, free: 35.01 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004804/0.2854, allocations: 2.094 MB / 0.4971 GB, free: 34.68 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009581/0.2864, allocations: 0.6834 MB / 0.4978 GB, free: 34.53 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005048/0.2914, allocations: 4.432 MB / 0.5021 GB, free: 32.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/0.2915, allocations: 53.58 kB / 0.5022 GB, free: 32.12 MB / 410.7 MB Notification: Performance of pre-optimization done (n=154): time 4.188e-06/0.2915, allocations: 0 / 0.5022 GB, free: 32.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=166): time 0.02509/0.3166, allocations: 12.5 MB / 0.5144 GB, free: 28.13 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.026e-05/0.3166, allocations: 202.1 kB / 0.5146 GB, free: 27.91 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004589/0.3212, allocations: 4.371 MB / 0.5188 GB, free: 26.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.739e-05/0.3213, allocations: 45.98 kB / 0.5189 GB, free: 26.11 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001808/0.3231, allocations: 4.044 MB / 0.5228 GB, free: 23.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004829/0.3236, allocations: 0.7191 MB / 0.5235 GB, free: 22.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001117/0.3247, allocations: 1.523 MB / 0.525 GB, free: 21.69 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.227e-05/0.3248, allocations: 488.6 kB / 0.5255 GB, free: 21.21 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001161/0.3259, allocations: 0.7377 MB / 0.5262 GB, free: 21.12 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003424/0.3293, allocations: 7.11 MB / 0.5332 GB, free: 12.49 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005577/0.3349, allocations: 8.583 MB / 0.5415 GB, free: 1.824 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.892e-05/0.335, allocations: 47.94 kB / 0.5416 GB, free: 1.777 MB / 410.7 MB Notification: Performance of matching and sorting (n=902) (initialization): time 0.0094/0.3444, allocations: 6.566 MB / 0.548 GB, free: 12.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.731e-05/0.3444, allocations: 68.94 kB / 0.5481 GB, free: 12.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001376/0.3446, allocations: 152 kB / 0.5482 GB, free: 11.99 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001704/0.3463, allocations: 0.7927 MB / 0.549 GB, free: 11.45 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002589/0.3489, allocations: 1.574 MB / 0.5505 GB, free: 10.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005127/0.354, allocations: 5.854 MB / 0.5562 GB, free: 4.242 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003173/0.3572, allocations: 419.5 kB / 0.5566 GB, free: 3.832 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004364/0.3576, allocations: 424 kB / 0.557 GB, free: 3.414 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 686 * 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 (842): * Single equations (assignments): 835 * 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,13,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001648/0.3593, allocations: 0.7245 MB / 0.5578 GB, free: 2.676 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005548/0.3598, allocations: 457.2 kB / 0.5582 GB, free: 2.227 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002896/0.3627, allocations: 1.756 MB / 0.5599 GB, free: 456 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.728e-05/0.3627, allocations: 20 kB / 0.5599 GB, free: 436 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/0.3627, allocations: 4 kB / 0.5599 GB, free: 432 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/0.3627, allocations: 11.91 kB / 0.5599 GB, free: 420 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008531/0.3713, allocations: 5.767 MB / 0.5656 GB, free: 10.58 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/0.3713, allocations: 10.11 kB / 0.5656 GB, free: 10.57 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007524/0.372, allocations: 295.5 kB / 0.5659 GB, free: 10.28 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001452/0.3735, allocations: 0.5751 MB / 0.5664 GB, free: 9.699 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001011/0.3736, allocations: 32 kB / 0.5665 GB, free: 9.668 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00439/0.378, allocations: 5.315 MB / 0.5716 GB, free: 4.129 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.378, allocations: 11.97 kB / 0.5717 GB, free: 4.117 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004002/0.382, allocations: 2.852 MB / 0.5744 GB, free: 1.191 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006806/0.3827, allocations: 405.1 kB / 0.5748 GB, free: 0.793 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003016/0.383, allocations: 24 kB / 0.5748 GB, free: 0.7695 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009442/0.3839, allocations: 159.8 kB / 0.575 GB, free: 0.6133 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002002/0.3841, allocations: 104.7 kB / 0.5751 GB, free: 0.5117 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.756e-05/0.3842, allocations: 47.05 kB / 0.5751 GB, free: 480 kB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002627/0.3868, allocations: 1.904 MB / 0.577 GB, free: 14.56 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.3868, allocations: 0 / 0.577 GB, free: 14.56 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004118/0.3909, allocations: 1.287 MB / 0.5783 GB, free: 13.28 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (126): * Single equations (assignments): 121 * 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,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000379/0.3913, allocations: 176.1 kB / 0.5784 GB, free: 13.1 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004694/0.396, allocations: 3.536 MB / 0.5819 GB, free: 9.559 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.396, allocations: 0 / 0.5819 GB, free: 9.559 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009666/0.397, allocations: 0.9584 MB / 0.5828 GB, free: 8.562 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001679/0.3987, allocations: 0.5361 MB / 0.5833 GB, free: 8.043 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01179/0.4104, allocations: 8.831 MB / 0.592 GB, free: 15.08 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001261/0.4117, allocations: 1.474 MB / 0.5934 GB, free: 13.58 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002705/0.4144, allocations: 1.757 MB / 0.5951 GB, free: 11.82 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005331/0.4149, allocations: 264.5 kB / 0.5954 GB, free: 11.56 MB / 474.7 MB Notification: Performance of SimCode: time 1.733e-06/0.4149, allocations: 0 / 0.5954 GB, free: 11.56 MB / 474.7 MB Notification: Performance of Templates: time 0.1931/0.6081, allocations: 37.76 MB / 0.6323 GB, free: 135 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.711257338989526]