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.001723/0.001723, allocations: 84.69 kB / 20.68 MB, free: 1.035 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.002151/0.002151, allocations: 164.9 kB / 23.95 MB, free: 4.168 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.528/1.528, allocations: 177.1 MB / 204.3 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] 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.2162/0.2162, allocations: 34.29 MB / 295 MB, free: 14.57 MB / 286.1 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.302e-06/1.302e-06, allocations: 0 / 442.7 MB, free: 5.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.795e-05/2.926e-05, allocations: 6.219 kB / 442.7 MB, free: 5.402 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.2075/0.2075, allocations: 11.08 MB / 453.8 MB, free: 13.43 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009677/0.2172, allocations: 4.299 MB / 458.1 MB, free: 10.91 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002211/0.2194, allocations: 100.1 kB / 458.2 MB, free: 10.88 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00732/0.2267, allocations: 3.798 MB / 462 MB, free: 9.266 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006813/0.2335, allocations: 2.318 MB / 464.3 MB, free: 8.164 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002734/0.2363, allocations: 1.103 MB / 465.4 MB, free: 7.684 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009123/0.2454, allocations: 6.786 MB / 472.2 MB, free: 4.617 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004929/0.2503, allocations: 4.011 MB / 476.2 MB, free: 1.922 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004474/0.2548, allocations: 2.979 MB / 479.2 MB, free: 68 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004498/0.2593, allocations: 2.883 MB / 482 MB, free: 14.45 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008288/0.2601, allocations: 425.5 kB / 482.5 MB, free: 14.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002927/0.263, allocations: 1.392 MB / 483.9 MB, free: 12.88 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002613/0.2657, allocations: 2.606 MB / 486.5 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002424/0.2681, allocations: 1.581 MB / 488 MB, free: 8.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01112/0.2792, allocations: 8.735 MB / 496.8 MB, free: 15.92 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.2792, allocations: 4 kB / 496.8 MB, free: 15.91 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2792, allocations: 4 kB / 496.8 MB, free: 15.91 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000232/0.2794, allocations: 0 / 496.8 MB, free: 15.91 MB / 398.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.01439/0.2938, allocations: 6.127 MB / 0.4911 GB, free: 9.719 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.219e-05/0.2939, allocations: 12.03 kB / 0.4911 GB, free: 9.707 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01301/0.3069, allocations: 2.657 MB / 0.4937 GB, free: 7.043 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01008/0.317, allocations: 3.663 MB / 0.4973 GB, free: 3.332 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000298/0.3173, allocations: 275.5 kB / 0.4976 GB, free: 3.062 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001258/0.3185, allocations: 380.1 kB / 0.4979 GB, free: 2.691 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02294/0.3415, allocations: 11.66 MB / 0.5093 GB, free: 6.168 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001861/0.3417, allocations: 63.5 kB / 0.5094 GB, free: 6.105 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005952/0.3423, allocations: 179.8 kB / 0.5095 GB, free: 5.93 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004082/0.3463, allocations: 2.147 MB / 0.5116 GB, free: 3.77 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02124/0.3676, allocations: 9.602 MB / 0.521 GB, free: 10.16 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0691/0.4367, allocations: 43.14 MB / 0.5631 GB, free: 13.78 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01145/0.4481, allocations: 3.502 MB / 0.5666 GB, free: 10.23 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003188/0.4513, allocations: 2.005 MB / 0.5685 GB, free: 8.215 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01185/0.4632, allocations: 5.948 MB / 0.5743 GB, free: 2.23 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.909e-05/0.4632, allocations: 55.55 kB / 0.5744 GB, free: 2.168 MB / 478.1 MB Notification: Performance of pre-optimization done (n=154): time 4.488e-06/0.4632, allocations: 7.875 kB / 0.5744 GB, free: 2.16 MB / 478.1 MB Notification: Performance of matching and sorting (n=166): time 0.04934/0.5126, allocations: 17.21 MB / 0.5912 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001271/0.5127, allocations: 196.9 kB / 0.5914 GB, free: 0.668 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007049/0.5197, allocations: 4.974 MB / 0.5963 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002984/0.52, allocations: 49.7 kB / 0.5963 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003009/0.523, allocations: 3.836 MB / 0.6 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009188/0.524, allocations: 0.6863 MB / 0.6007 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001943/0.5259, allocations: 1.405 MB / 0.6021 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.5261, allocations: 309.1 kB / 0.6024 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00361/0.5297, allocations: 2.313 MB / 0.6046 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007532/0.5372, allocations: 6.629 MB / 0.6111 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01293/0.5501, allocations: 9.558 MB / 0.6204 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001465/0.5503, allocations: 44 kB / 0.6205 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of matching and sorting (n=902) (initialization): time 0.0204/0.5707, allocations: 9.566 MB / 0.6298 GB, free: 4.973 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001175/0.5708, allocations: 73.81 kB / 0.6299 GB, free: 4.902 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002112/0.571, allocations: 152 kB / 0.63 GB, free: 4.754 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003448/0.5744, allocations: 1.208 MB / 0.6312 GB, free: 3.539 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005357/0.5798, allocations: 1.575 MB / 0.6328 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2322/0.812, allocations: 8.064 MB / 0.6406 GB, free: 158.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005726/0.8177, allocations: 428.7 kB / 0.6411 GB, free: 158.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001079/0.8188, allocations: 424.1 kB / 0.6415 GB, free: 158.5 MB / 0.5294 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.00622/0.825, allocations: 2.462 MB / 0.6439 GB, free: 157.6 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001885/0.8269, allocations: 404.2 kB / 0.6442 GB, free: 157.6 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007521/0.8344, allocations: 3.346 MB / 0.6475 GB, free: 156.5 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.174e-05/0.8344, allocations: 22.77 kB / 0.6475 GB, free: 156.5 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.835e-05/0.8345, allocations: 6.469 kB / 0.6475 GB, free: 156.5 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.559e-05/0.8345, allocations: 6.844 kB / 0.6475 GB, free: 156.5 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01515/0.8496, allocations: 7.136 MB / 0.6545 GB, free: 154.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.594e-05/0.8496, allocations: 3 kB / 0.6545 GB, free: 154.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001523/0.8512, allocations: 298.8 kB / 0.6548 GB, free: 154.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002761/0.8539, allocations: 0.984 MB / 0.6558 GB, free: 153.9 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001449/0.8541, allocations: 35.98 kB / 0.6558 GB, free: 153.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007989/0.8621, allocations: 7.437 MB / 0.6631 GB, free: 149.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.8621, allocations: 3.844 kB / 0.6631 GB, free: 149.5 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007735/0.8698, allocations: 5.796 MB / 0.6687 GB, free: 147.4 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001231/0.871, allocations: 412.4 kB / 0.6691 GB, free: 147.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004553/0.8715, allocations: 31.66 kB / 0.6691 GB, free: 147.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001741/0.8732, allocations: 146.3 kB / 0.6693 GB, free: 147.4 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002923/0.8735, allocations: 104.2 kB / 0.6694 GB, free: 147.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001157/0.8736, allocations: 50.75 kB / 0.6694 GB, free: 147.3 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003734/0.8774, allocations: 2.94 MB / 0.6723 GB, free: 146.4 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.8774, allocations: 2.688 kB / 0.6723 GB, free: 146.4 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005957/0.8833, allocations: 1.29 MB / 0.6736 GB, free: 146.2 MB / 0.5294 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.000466/0.8838, allocations: 180.3 kB / 0.6737 GB, free: 146.1 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006825/0.8906, allocations: 5.366 MB / 0.679 GB, free: 144.2 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-05/0.8906, allocations: 0 / 0.679 GB, free: 144.2 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001693/0.8923, allocations: 1.52 MB / 0.6805 GB, free: 143.1 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003069/0.8954, allocations: 0.5239 MB / 0.681 GB, free: 142.7 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01487/0.9103, allocations: 10.8 MB / 0.6915 GB, free: 132.1 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003089/0.9134, allocations: 3.256 MB / 0.6947 GB, free: 128.8 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003936/0.9173, allocations: 2.033 MB / 0.6967 GB, free: 126.7 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007663/0.9181, allocations: 272.4 kB / 0.697 GB, free: 126.5 MB / 0.5294 GB Notification: Performance of SimCode: time 1.203e-06/0.9181, allocations: 0 / 0.697 GB, free: 126.5 MB / 0.5294 GB Notification: Performance of Templates: time 0.06644/0.9845, allocations: 37.61 MB / 0.7337 GB, free: 89.43 MB / 0.5294 GB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 7.122776322066784]