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.0009001/0.0009001, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.0008958/0.0008958, allocations: 173.2 kB / 24.92 MB, free: 9.188 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.941/0.941, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.2655/0.2655, 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.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.233e-06/1.233e-06, allocations: 0 / 323.2 MB, free: 9.715 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.857e-05/2.981e-05, allocations: 4.656 kB / 323.2 MB, free: 9.711 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.008921/0.008951, allocations: 11.96 MB / 335.2 MB, free: 13.69 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007407/0.01636, allocations: 4.566 MB / 339.8 MB, free: 9.109 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009174/0.01728, allocations: 99.5 kB / 339.9 MB, free: 9.012 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003806/0.02108, allocations: 3.983 MB / 343.8 MB, free: 5.016 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003002/0.02408, allocations: 2.345 MB / 346.2 MB, free: 2.66 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001295/0.02538, allocations: 1.119 MB / 347.3 MB, free: 1.539 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00495/0.03033, allocations: 6.764 MB / 354.1 MB, free: 10.77 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003077/0.0334, allocations: 4.245 MB / 358.3 MB, free: 6.43 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003121/0.03653, allocations: 3.95 MB / 362.3 MB, free: 2.473 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002429/0.03895, allocations: 2.794 MB / 365.1 MB, free: 15.67 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003864/0.03934, allocations: 424 kB / 365.5 MB, free: 15.26 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001416/0.04076, allocations: 1.381 MB / 366.8 MB, free: 13.88 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001379/0.04214, allocations: 2.618 MB / 369.5 MB, free: 11.25 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001415/0.04355, allocations: 1.597 MB / 371.1 MB, free: 9.648 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004081/0.04763, allocations: 5.683 MB / 376.7 MB, free: 3.945 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.04764, allocations: 0 / 376.7 MB, free: 3.945 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.04764, allocations: 0 / 376.7 MB, free: 3.945 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.142e-05/0.04769, allocations: 0 / 376.7 MB, free: 3.945 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.005556/0.05325, allocations: 5.614 MB / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.05328, allocations: 8.031 kB / 382.4 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00292/0.0562, allocations: 1.3 MB / 383.7 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003031/0.05923, allocations: 2.615 MB / 386.3 MB, free: 10.3 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001198/0.05935, allocations: 275.5 kB / 386.5 MB, free: 10.03 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003784/0.05973, allocations: 380.1 kB / 386.9 MB, free: 9.656 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005742/0.06547, allocations: 5.792 MB / 392.7 MB, free: 2.996 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.349e-05/0.06555, allocations: 51.56 kB / 392.8 MB, free: 2.945 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000273/0.06583, allocations: 179.8 kB / 392.9 MB, free: 2.77 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001406/0.06723, allocations: 1.889 MB / 394.8 MB, free: 0.8789 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003974/0.07121, allocations: 2.852 MB / 397.7 MB, free: 13.98 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02487/0.09607, allocations: 36.61 MB / 434.3 MB, free: 7.98 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0036/0.09967, allocations: 1.697 MB / 436 MB, free: 6.238 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004154/0.1001, allocations: 361.4 kB / 436.3 MB, free: 5.875 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004409/0.1045, allocations: 3.799 MB / 440.1 MB, free: 2.047 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.1045, allocations: 47.22 kB / 440.2 MB, free: 1.992 MB / 410.7 MB Notification: Performance of pre-optimization done (n=127): time 3.787e-06/0.1045, allocations: 0 / 440.2 MB, free: 1.992 MB / 410.7 MB Notification: Performance of matching and sorting (n=129): time 0.00841/0.1129, allocations: 4.075 MB / 444.3 MB, free: 13.88 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.079e-05/0.113, allocations: 188.6 kB / 444.4 MB, free: 13.65 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002677/0.1157, allocations: 4.052 MB / 448.5 MB, free: 9.57 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.05e-05/0.1157, allocations: 41.7 kB / 448.5 MB, free: 9.523 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001468/0.1172, allocations: 3.673 MB / 452.2 MB, free: 5.812 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002813/0.1175, allocations: 0.5662 MB / 452.8 MB, free: 5.238 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009035/0.1184, allocations: 1.354 MB / 454.1 MB, free: 3.875 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.795e-05/0.1184, allocations: 301.1 kB / 454.4 MB, free: 3.578 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001037/0.1195, allocations: 0.7965 MB / 455.2 MB, free: 2.777 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1512/0.2707, allocations: 5.223 MB / 460.4 MB, free: 120.1 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004659/0.2753, allocations: 6.626 MB / 467.1 MB, free: 113.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.498e-05/0.2754, allocations: 44.53 kB / 467.1 MB, free: 113.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=908) (initialization): time 0.004808/0.2802, allocations: 4.762 MB / 471.9 MB, free: 112.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.433e-05/0.2803, allocations: 76.22 kB / 471.9 MB, free: 112.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.739e-05/0.2804, allocations: 161.5 kB / 472.1 MB, free: 112.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003957/0.2808, allocations: 281.2 kB / 472.4 MB, free: 112.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002187/0.2829, allocations: 1.572 MB / 474 MB, free: 112.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001084/0.284, allocations: 2.715 MB / 476.7 MB, free: 109.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002462/0.2865, allocations: 326.9 kB / 477 MB, free: 109.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002791/0.2868, allocations: 378.4 kB / 477.4 MB, free: 109.9 MB / 426.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.001173/0.2879, allocations: 0.704 MB / 478.1 MB, free: 109.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002922/0.2882, allocations: 237.6 kB / 478.3 MB, free: 109.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006936/0.2889, allocations: 0.6799 MB / 479 MB, free: 109.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.448e-05/0.2889, allocations: 15.44 kB / 479 MB, free: 109.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.289, allocations: 2.25 kB / 479 MB, free: 109.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/0.289, allocations: 6.656 kB / 479 MB, free: 109.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003808/0.2928, allocations: 3.871 MB / 482.9 MB, free: 107.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.2928, allocations: 4 kB / 482.9 MB, free: 107.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004053/0.2932, allocations: 192.6 kB / 483.1 MB, free: 107.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003923/0.2936, allocations: 309.7 kB / 483.4 MB, free: 107.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.953e-05/0.2936, allocations: 31.56 kB / 483.4 MB, free: 107.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006982/0.2943, allocations: 2.422 MB / 485.8 MB, free: 104.7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.2943, allocations: 12.19 kB / 485.8 MB, free: 104.7 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009946/0.2953, allocations: 1.588 MB / 487.4 MB, free: 103.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003238/0.2956, allocations: 381.2 kB / 487.8 MB, free: 103.1 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002422/0.2959, allocations: 27.69 kB / 487.8 MB, free: 103.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000569/0.2965, allocations: 28.89 kB / 487.8 MB, free: 103.1 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.581e-05/0.2965, allocations: 82.59 kB / 487.9 MB, free: 103.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-05/0.2966, allocations: 42.62 kB / 488 MB, free: 103 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001003/0.2976, allocations: 1.507 MB / 489.5 MB, free: 102.1 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2976, allocations: 0 / 489.5 MB, free: 102.1 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002824/0.3004, allocations: 1.116 MB / 490.6 MB, free: 101.1 MB / 426.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.0002624/0.3007, allocations: 159.4 kB / 490.7 MB, free: 100.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002443/0.3031, allocations: 2.773 MB / 493.5 MB, free: 98.71 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001357/0.3032, allocations: 108.2 kB / 493.6 MB, free: 98.59 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003418/0.3036, allocations: 0.509 MB / 494.1 MB, free: 98.11 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001649/0.3052, allocations: 0.7583 MB / 494.9 MB, free: 97.45 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006839/0.3121, allocations: 8.49 MB / 0.4916 GB, free: 89.09 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008674/0.3129, allocations: 1.432 MB / 0.493 GB, free: 87.63 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001148/0.3141, allocations: 0.5767 MB / 0.4935 GB, free: 87.06 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006683/0.3148, allocations: 0.6105 MB / 0.4941 GB, free: 86.45 MB / 426.7 MB Notification: Performance of SimCode: time 1.052e-06/0.3148, allocations: 0 / 0.4941 GB, free: 86.45 MB / 426.7 MB Notification: Performance of Templates: time 0.0421/0.3569, allocations: 30.83 MB / 0.5242 GB, free: 56.11 MB / 426.7 MB " [Timeout remaining time 660] 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: 3.918331758119166]