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.001954/0.001954, allocations: 109.2 kB / 20.43 MB, free: 1.473 MB / 14.72 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.001944/0.001944, allocations: 213.7 kB / 23.74 MB, free: 4.688 MB / 14.72 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.511/1.511, allocations: 230.6 MB / 257.5 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] 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.2336/0.2336, allocations: 44.92 MB / 358.8 MB, free: 6.309 MB / 286.1 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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002292/0.002292, allocations: 63.91 kB / 0.4936 GB, free: 10.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3671/0.3694, allocations: 65.47 MB / 0.5575 GB, free: 7.711 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.02225/0.3917, allocations: 12.73 MB / 0.5699 GB, free: 10.95 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01466/0.4063, allocations: 4.548 MB / 0.5744 GB, free: 6.387 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003093/0.4094, allocations: 99.5 kB / 0.5745 GB, free: 6.289 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01012/0.4195, allocations: 3.773 MB / 0.5782 GB, free: 2.504 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006667/0.4262, allocations: 2.245 MB / 0.5804 GB, free: 256 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002563/0.4288, allocations: 1.002 MB / 0.5813 GB, free: 15.25 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00955/0.4383, allocations: 6.043 MB / 0.5872 GB, free: 9.191 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005695/0.444, allocations: 3.513 MB / 0.5907 GB, free: 5.609 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004054/0.4481, allocations: 1.986 MB / 0.5926 GB, free: 3.617 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005444/0.4535, allocations: 2.823 MB / 0.5954 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001392/0.4549, allocations: 411.9 kB / 0.5958 GB, free: 392 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003725/0.4586, allocations: 1.482 MB / 0.5972 GB, free: 14.9 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00319/0.4618, allocations: 2.489 MB / 0.5996 GB, free: 12.4 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003769/0.4656, allocations: 2.703 MB / 0.6023 GB, free: 9.684 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01361/0.4792, allocations: 8.634 MB / 0.6107 GB, free: 1.016 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.315e-06/0.4792, allocations: 0 / 0.6107 GB, free: 1.016 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4792, allocations: 3.938 kB / 0.6107 GB, free: 1.012 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003482/0.4795, allocations: 4 kB / 0.6107 GB, free: 1.008 MB / 446.1 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.01873/0.4983, allocations: 6.076 MB / 0.6167 GB, free: 10.86 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.4983, allocations: 8.031 kB / 0.6167 GB, free: 10.86 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01217/0.5105, allocations: 2.575 MB / 0.6192 GB, free: 8.273 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01021/0.5207, allocations: 3.664 MB / 0.6228 GB, free: 4.559 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004262/0.5211, allocations: 279.5 kB / 0.623 GB, free: 4.285 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001982/0.5231, allocations: 379.7 kB / 0.6234 GB, free: 3.914 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0234/0.5465, allocations: 11.59 MB / 0.6347 GB, free: 7.469 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002226/0.5467, allocations: 63.52 kB / 0.6348 GB, free: 7.406 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001104/0.5478, allocations: 179.8 kB / 0.6349 GB, free: 7.23 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00391/0.5517, allocations: 2.147 MB / 0.637 GB, free: 5.082 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02244/0.5742, allocations: 9.605 MB / 0.6464 GB, free: 11.46 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07066/0.6448, allocations: 45.55 MB / 0.6909 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01089/0.6557, allocations: 3.347 MB / 0.6942 GB, free: 9.234 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003771/0.6595, allocations: 2.005 MB / 0.6961 GB, free: 7.223 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01479/0.6743, allocations: 6.286 MB / 0.7023 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.234e-05/0.6743, allocations: 55.44 kB / 0.7023 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=154): time 4.959e-06/0.6743, allocations: 0 / 0.7023 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of matching and sorting (n=166): time 0.05052/0.7249, allocations: 16.52 MB / 0.7184 GB, free: 280 kB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001878/0.7251, allocations: 200.9 kB / 0.7186 GB, free: 36 kB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01621/0.7413, allocations: 5.62 MB / 0.7241 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006873/0.7419, allocations: 49.69 kB / 0.7242 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.004596/0.7465, allocations: 3.83 MB / 0.7279 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001357/0.7479, allocations: 0.6941 MB / 0.7286 GB, free: 5.812 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003147/0.751, allocations: 1.436 MB / 0.73 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000176/0.7512, allocations: 301.1 kB / 0.7303 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003912/0.7551, allocations: 2.313 MB / 0.7325 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3226/1.078, allocations: 6.57 MB / 0.7389 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009887/1.088, allocations: 9.574 MB / 0.7483 GB, free: 143.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002777/1.088, allocations: 42.59 kB / 0.7483 GB, free: 143.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=902) (initialization): time 0.01799/1.106, allocations: 9.632 MB / 0.7577 GB, free: 139.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001437/1.106, allocations: 72.25 kB / 0.7578 GB, free: 139.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002622/1.106, allocations: 149.9 kB / 0.758 GB, free: 139.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002852/1.109, allocations: 1.203 MB / 0.7591 GB, free: 139.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004947/1.114, allocations: 1.576 MB / 0.7607 GB, free: 139 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008042/1.122, allocations: 8.126 MB / 0.7686 GB, free: 131.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006259/1.128, allocations: 367.2 kB / 0.769 GB, free: 131.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00121/1.13, allocations: 422.7 kB / 0.7694 GB, free: 131 MB / 0.5606 GB 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.003898/1.133, allocations: 2.463 MB / 0.7718 GB, free: 128.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009083/1.134, allocations: 483.2 kB / 0.7722 GB, free: 128.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005523/1.14, allocations: 3.413 MB / 0.7756 GB, free: 125.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.751e-05/1.14, allocations: 20 kB / 0.7756 GB, free: 125.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.224e-05/1.14, allocations: 4 kB / 0.7756 GB, free: 125.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.539e-05/1.14, allocations: 11.97 kB / 0.7756 GB, free: 125.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01379/1.154, allocations: 8.122 MB / 0.7835 GB, free: 117.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.871e-05/1.154, allocations: 15.97 kB / 0.7835 GB, free: 117.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001376/1.155, allocations: 295.8 kB / 0.7838 GB, free: 116.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002395/1.158, allocations: 0.9824 MB / 0.7848 GB, free: 115.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001386/1.158, allocations: 35.05 kB / 0.7848 GB, free: 115.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007506/1.165, allocations: 7.477 MB / 0.7921 GB, free: 108.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/1.165, allocations: 7.938 kB / 0.7921 GB, free: 108.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007581/1.173, allocations: 5.881 MB / 0.7979 GB, free: 102.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001349/1.174, allocations: 483.8 kB / 0.7983 GB, free: 101.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005483/1.175, allocations: 24 kB / 0.7984 GB, free: 101.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001467/1.176, allocations: 99.75 kB / 0.7984 GB, free: 101.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002723/1.176, allocations: 104.8 kB / 0.7985 GB, free: 101.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001201/1.177, allocations: 51.81 kB / 0.7986 GB, free: 101.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005435/1.182, allocations: 3.58 MB / 0.8021 GB, free: 98.04 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.51e-07/1.182, allocations: 4.547 kB / 0.8021 GB, free: 98.04 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00688/1.189, allocations: 1.149 MB / 0.8032 GB, free: 96.89 MB / 0.5606 GB 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.0004507/1.189, allocations: 163.7 kB / 0.8034 GB, free: 96.74 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007854/1.197, allocations: 5.364 MB / 0.8086 GB, free: 91.39 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/1.197, allocations: 0 / 0.8086 GB, free: 91.39 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001797/1.199, allocations: 1.527 MB / 0.8101 GB, free: 89.84 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003622/1.203, allocations: 0.5988 MB / 0.8107 GB, free: 89.25 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01784/1.22, allocations: 11.01 MB / 0.8214 GB, free: 78.19 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004585/1.225, allocations: 3.762 MB / 0.8251 GB, free: 74.39 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004735/1.23, allocations: 2.132 MB / 0.8272 GB, free: 72.25 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001161/1.231, allocations: 295.4 kB / 0.8275 GB, free: 71.96 MB / 0.5606 GB Notification: Performance of SimCode: time 1.403e-06/1.231, allocations: 0 / 0.8275 GB, free: 71.96 MB / 0.5606 GB Notification: Performance of Templates: time 0.08268/1.314, allocations: 46.36 MB / 0.8728 GB, free: 25.93 MB / 0.5606 GB " [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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.191672670887783]