Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.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.001091/0.001091, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.005901/0.005901, allocations: 163 kB / 24.7 MB, free: 8.91 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.8873/0.8873, allocations: 177.1 MB / 205 MB, free: 5.734 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.2417/0.2417, allocations: 32.79 MB / 294.2 MB, free: 1.215 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.FrameTorques,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.FrameTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,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.FrameTorques") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 440.8 MB, free: 3.742 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.304e-05/2.466e-05, allocations: 3.688 kB / 440.9 MB, free: 3.738 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.1729/0.173, allocations: 11.1 MB / 452 MB, free: 40.67 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004629/0.1776, allocations: 4.305 MB / 456.3 MB, free: 37.97 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006389/0.1782, allocations: 99.34 kB / 456.4 MB, free: 37.94 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002606/0.1808, allocations: 3.8 MB / 460.2 MB, free: 36.33 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002148/0.183, allocations: 2.321 MB / 462.5 MB, free: 35.23 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001018/0.184, allocations: 1.098 MB / 463.6 MB, free: 34.75 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003348/0.1873, allocations: 6.801 MB / 470.4 MB, free: 32.19 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002092/0.1894, allocations: 4.015 MB / 474.4 MB, free: 30.44 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00172/0.1912, allocations: 2.991 MB / 477.4 MB, free: 29.14 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001711/0.1929, allocations: 2.885 MB / 480.3 MB, free: 28.36 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003262/0.1932, allocations: 421.9 kB / 480.7 MB, free: 28.36 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001387/0.1946, allocations: 1.389 MB / 482.1 MB, free: 28.12 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001548/0.1961, allocations: 2.611 MB / 484.7 MB, free: 27.02 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001267/0.1974, allocations: 1.59 MB / 486.3 MB, free: 26.23 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007501/0.2049, allocations: 8.76 MB / 495 MB, free: 23.21 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.2049, allocations: 0 / 495 MB, free: 23.21 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.2049, allocations: 1.375 kB / 495 MB, free: 23.21 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001363/0.205, allocations: 0 / 495 MB, free: 23.21 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.007896/0.2129, allocations: 6.148 MB / 0.4894 GB, free: 19.1 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.213, allocations: 13.47 kB / 0.4894 GB, free: 19.1 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005688/0.2187, allocations: 2.664 MB / 0.492 GB, free: 17.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00413/0.2228, allocations: 3.658 MB / 0.4956 GB, free: 15.57 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001311/0.2229, allocations: 281.6 kB / 0.4959 GB, free: 15.43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000433/0.2234, allocations: 382.7 kB / 0.4963 GB, free: 15.3 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008988/0.2323, allocations: 11.68 MB / 0.5077 GB, free: 4.551 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.073e-05/0.2324, allocations: 51.58 kB / 0.5077 GB, free: 4.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003021/0.2327, allocations: 183.8 kB / 0.5079 GB, free: 4.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001549/0.2343, allocations: 2.147 MB / 0.51 GB, free: 2.164 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01001/0.2443, allocations: 9.609 MB / 0.5194 GB, free: 8.547 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03488/0.2792, allocations: 43.25 MB / 0.5616 GB, free: 12.07 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005724/0.2849, allocations: 3.502 MB / 0.565 GB, free: 8.535 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001897/0.2868, allocations: 1.987 MB / 0.567 GB, free: 6.535 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005538/0.2923, allocations: 5.322 MB / 0.5722 GB, free: 1.176 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.17e-05/0.2924, allocations: 55.98 kB / 0.5722 GB, free: 1.113 MB / 474.7 MB Notification: Performance of pre-optimization done (n=150): time 3.336e-06/0.2924, allocations: 0 / 0.5722 GB, free: 1.113 MB / 474.7 MB Notification: Performance of matching and sorting (n=162): time 0.02662/0.319, allocations: 18.1 MB / 0.5899 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.183e-05/0.3191, allocations: 218.3 kB / 0.5901 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005077/0.3241, allocations: 4.99 MB / 0.595 GB, free: 9.637 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000117/0.3243, allocations: 49.7 kB / 0.595 GB, free: 9.582 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001622/0.3259, allocations: 3.852 MB / 0.5988 GB, free: 5.695 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000509/0.3264, allocations: 0.6708 MB / 0.5994 GB, free: 5.02 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001259/0.3276, allocations: 1.397 MB / 0.6008 GB, free: 3.613 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.88e-05/0.3277, allocations: 309.1 kB / 0.6011 GB, free: 3.309 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002372/0.3301, allocations: 2.285 MB / 0.6033 GB, free: 1.02 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00406/0.3341, allocations: 6.609 MB / 0.6098 GB, free: 8.277 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007287/0.3414, allocations: 9.504 MB / 0.6191 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.452e-05/0.3415, allocations: 44 kB / 0.6191 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of matching and sorting (n=898) (initialization): time 0.01263/0.3541, allocations: 9.517 MB / 0.6284 GB, free: 3.09 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.662e-05/0.3542, allocations: 72 kB / 0.6285 GB, free: 3.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001572/0.3544, allocations: 148 kB / 0.6286 GB, free: 2.875 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002138/0.3565, allocations: 1.234 MB / 0.6298 GB, free: 1.637 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003345/0.3599, allocations: 1.575 MB / 0.6313 GB, free: 60 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1919/0.5517, allocations: 8.172 MB / 0.6393 GB, free: 145.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004256/0.556, allocations: 425.5 kB / 0.6397 GB, free: 145 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001172/0.5571, allocations: 425.3 kB / 0.6401 GB, free: 145 MB / 0.5261 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 (frameTorque2.arrow.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque1.arrow.twoHeadedArrow,frameTorque1.arrow.headAtOrigin,Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 (836): * Single equations (assignments): 829 * 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,14,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004161/0.5613, allocations: 2.465 MB / 0.6425 GB, free: 144.1 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009851/0.5623, allocations: 399.2 kB / 0.6429 GB, free: 144.1 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00384/0.5661, allocations: 3.309 MB / 0.6462 GB, free: 143 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.703e-05/0.5662, allocations: 22.75 kB / 0.6462 GB, free: 143 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/0.5662, allocations: 3.219 kB / 0.6462 GB, free: 143 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/0.5662, allocations: 9.703 kB / 0.6462 GB, free: 143 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01013/0.5763, allocations: 7.173 MB / 0.6532 GB, free: 140.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-05/0.5763, allocations: 3.062 kB / 0.6532 GB, free: 140.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006806/0.577, allocations: 257.2 kB / 0.6534 GB, free: 140.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001489/0.5785, allocations: 1 MB / 0.6544 GB, free: 140.3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001097/0.5786, allocations: 34.75 kB / 0.6544 GB, free: 140.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00492/0.5835, allocations: 7.544 MB / 0.6618 GB, free: 135.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.5835, allocations: 6.094 kB / 0.6618 GB, free: 135.9 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006131/0.5897, allocations: 5.776 MB / 0.6675 GB, free: 133.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001533/0.5912, allocations: 410.2 kB / 0.6679 GB, free: 133.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004776/0.5917, allocations: 33.77 kB / 0.6679 GB, free: 133.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001023/0.5927, allocations: 153 kB / 0.668 GB, free: 133.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002091/0.5929, allocations: 103 kB / 0.6681 GB, free: 133.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.669e-05/0.593, allocations: 54.14 kB / 0.6682 GB, free: 133.7 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005111/0.5981, allocations: 2.945 MB / 0.6711 GB, free: 132.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.5981, allocations: 7.219 kB / 0.6711 GB, free: 132.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00668/0.6048, allocations: 1.275 MB / 0.6723 GB, free: 132.6 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (120): * Single equations (assignments): 115 * 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,11,100.0%), (1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007637/0.6055, allocations: 172.1 kB / 0.6725 GB, free: 132.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007741/0.6133, allocations: 5.334 MB / 0.6777 GB, free: 130.6 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/0.6133, allocations: 1.562 kB / 0.6777 GB, free: 130.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001822/0.6151, allocations: 1.532 MB / 0.6792 GB, free: 129.9 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003203/0.6183, allocations: 0.5081 MB / 0.6797 GB, free: 129.7 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01703/0.6353, allocations: 11.29 MB / 0.6907 GB, free: 124.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003919/0.6393, allocations: 3.238 MB / 0.6939 GB, free: 123.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001193/0.6405, allocations: 307.8 kB / 0.6942 GB, free: 123.8 MB / 0.5261 GB Notification: Performance of SimCode: time 1.713e-06/0.6405, allocations: 7.938 kB / 0.6942 GB, free: 123.8 MB / 0.5261 GB Notification: Performance of Templates: time 0.09139/0.7318, allocations: 111.7 MB / 0.8033 GB, free: 15.27 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.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: 9.54914310388267]