Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.002457/0.002457, allocations: 87.67 kB / 20.21 MB, free: 4.207 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.002731/0.002731, allocations: 169.6 kB / 23.53 MB, free: 0.8945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.399/1.399, allocations: 158.6 MB / 185.3 MB, free: 2.922 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2184/0.2184, allocations: 32.37 MB / 270 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 347 MB, free: 9.762 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.865e-05/3.074e-05, allocations: 6.312 kB / 347 MB, free: 9.754 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01331/0.01334, allocations: 13.67 MB / 360.6 MB, free: 12.03 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01161/0.02495, allocations: 4.587 MB / 365.2 MB, free: 7.426 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003006/0.02796, allocations: 111.5 kB / 365.3 MB, free: 7.316 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009137/0.03709, allocations: 4.038 MB / 369.4 MB, free: 3.266 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00992/0.04701, allocations: 2.578 MB / 372 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00358/0.05059, allocations: 1.123 MB / 373.1 MB, free: 15.55 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01212/0.06271, allocations: 6.715 MB / 379.8 MB, free: 8.82 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008528/0.07124, allocations: 4.373 MB / 384.2 MB, free: 4.379 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008724/0.07996, allocations: 3.278 MB / 387.4 MB, free: 1.094 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006991/0.08695, allocations: 3.23 MB / 390.7 MB, free: 13.86 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001701/0.08865, allocations: 468 kB / 391.1 MB, free: 13.4 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00389/0.09254, allocations: 1.455 MB / 392.6 MB, free: 11.94 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00428/0.09682, allocations: 2.91 MB / 395.5 MB, free: 9.023 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00429/0.1011, allocations: 1.78 MB / 397.3 MB, free: 7.238 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01747/0.1186, allocations: 9.812 MB / 407.1 MB, free: 13.39 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.1186, allocations: 0 / 407.1 MB, free: 13.39 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1186, allocations: 4 kB / 407.1 MB, free: 13.39 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003923/0.119, allocations: 0 / 407.1 MB, free: 13.39 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: 1959 * Number of variables: 1959 Notification: Performance of Generate backend data structure: time 0.02179/0.1408, allocations: 7.745 MB / 414.8 MB, free: 5.566 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.994e-05/0.1408, allocations: 16.02 kB / 414.9 MB, free: 5.551 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01495/0.1558, allocations: 3.289 MB / 418.1 MB, free: 2.254 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01151/0.1673, allocations: 3.561 MB / 421.7 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003522/0.1676, allocations: 312.2 kB / 422 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001623/0.1693, allocations: 412.1 kB / 422.4 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02398/0.1932, allocations: 8.523 MB / 430.9 MB, free: 4.18 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001997/0.1934, allocations: 55.52 kB / 431 MB, free: 4.125 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007123/0.1942, allocations: 203.8 kB / 431.2 MB, free: 3.926 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005254/0.1994, allocations: 2.495 MB / 433.7 MB, free: 1.43 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01726/0.2167, allocations: 4.679 MB / 438.4 MB, free: 12.74 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2756/0.4923, allocations: 60.87 MB / 499.2 MB, free: 50.63 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009254/0.5015, allocations: 2.397 MB / 0.4899 GB, free: 50.17 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001994/0.5035, allocations: 0.8401 MB / 0.4907 GB, free: 49.97 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01137/0.5149, allocations: 4.952 MB / 0.4955 GB, free: 46.93 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.114e-05/0.5149, allocations: 52.11 kB / 0.4956 GB, free: 46.88 MB / 378.7 MB Notification: Performance of pre-optimization done (n=183): time 5.871e-06/0.5149, allocations: 0 / 0.4956 GB, free: 46.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=195): time 0.04301/0.5579, allocations: 15.05 MB / 0.5103 GB, free: 32.32 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.539e-05/0.558, allocations: 231.1 kB / 0.5105 GB, free: 32.05 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007296/0.5653, allocations: 5.818 MB / 0.5162 GB, free: 26.41 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005928/0.5659, allocations: 53.02 kB / 0.5162 GB, free: 26.35 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002687/0.5686, allocations: 4.691 MB / 0.5208 GB, free: 21.83 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001212/0.5698, allocations: 0.8835 MB / 0.5217 GB, free: 20.96 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002462/0.5723, allocations: 1.967 MB / 0.5236 GB, free: 18.98 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.718e-05/0.5724, allocations: 476.8 kB / 0.524 GB, free: 18.51 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002054/0.5744, allocations: 0.9632 MB / 0.525 GB, free: 17.55 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004642/0.5791, allocations: 7.955 MB / 0.5328 GB, free: 6.512 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01156/0.5906, allocations: 9.778 MB / 0.5423 GB, free: 9.672 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002975/0.5909, allocations: 48 kB / 0.5424 GB, free: 9.625 MB / 394.7 MB Notification: Performance of matching and sorting (n=980) (initialization): time 0.02087/0.6118, allocations: 7.291 MB / 0.5495 GB, free: 2.324 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001495/0.6119, allocations: 75.98 kB / 0.5495 GB, free: 2.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002612/0.6122, allocations: 160 kB / 0.5497 GB, free: 2.094 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003631/0.6158, allocations: 0.8336 MB / 0.5505 GB, free: 1.254 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006496/0.6223, allocations: 1.723 MB / 0.5522 GB, free: 15.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01008/0.6324, allocations: 6.203 MB / 0.5583 GB, free: 9.105 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006698/0.6391, allocations: 475.5 kB / 0.5587 GB, free: 8.641 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00147/0.6406, allocations: 458 kB / 0.5591 GB, free: 8.195 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 726 * Number of states: 0 () * Number of discrete variables: 45 (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 (918): * Single equations (assignments): 911 * 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%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003297/0.6439, allocations: 0.8768 MB / 0.56 GB, free: 7.309 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001383/0.6452, allocations: 493 kB / 0.5605 GB, free: 6.824 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006522/0.6518, allocations: 2.144 MB / 0.5626 GB, free: 4.66 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.728e-05/0.6518, allocations: 24 kB / 0.5626 GB, free: 4.637 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-05/0.6518, allocations: 4 kB / 0.5626 GB, free: 4.633 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.617e-05/0.6519, allocations: 11.97 kB / 0.5626 GB, free: 4.621 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02267/0.6745, allocations: 7.995 MB / 0.5704 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.266e-05/0.6746, allocations: 8 kB / 0.5704 GB, free: 12.56 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001924/0.6765, allocations: 319.5 kB / 0.5707 GB, free: 12.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00323/0.6797, allocations: 0.6079 MB / 0.5713 GB, free: 11.63 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003347/0.6801, allocations: 39.94 kB / 0.5714 GB, free: 11.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00926/0.6893, allocations: 5.611 MB / 0.5768 GB, free: 5.746 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.346e-06/0.6893, allocations: 4 kB / 0.5768 GB, free: 5.742 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009789/0.6991, allocations: 3.558 MB / 0.5803 GB, free: 2.113 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00328/0.7024, allocations: 0.6956 MB / 0.581 GB, free: 1.418 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001179/0.7036, allocations: 36 kB / 0.581 GB, free: 1.383 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002879/0.7065, allocations: 179.7 kB / 0.5812 GB, free: 1.207 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004146/0.7069, allocations: 124.8 kB / 0.5813 GB, free: 1.082 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001812/0.707, allocations: 52 kB / 0.5814 GB, free: 1.031 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005594/0.7126, allocations: 2.418 MB / 0.5837 GB, free: 14.62 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.7126, allocations: 0 / 0.5837 GB, free: 14.62 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00752/0.7202, allocations: 1.445 MB / 0.5851 GB, free: 13.17 MB / 442.7 MB 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 (154): * Single equations (assignments): 149 * 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.0006652/0.7208, allocations: 198.7 kB / 0.5853 GB, free: 12.97 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.009849/0.7307, allocations: 4.361 MB / 0.5896 GB, free: 8.617 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.642e-06/0.7307, allocations: 0 / 0.5896 GB, free: 8.617 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002589/0.7333, allocations: 1.185 MB / 0.5907 GB, free: 7.391 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004985/0.7383, allocations: 0.5323 MB / 0.5913 GB, free: 6.863 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02458/0.7628, allocations: 10.01 MB / 0.601 GB, free: 12.72 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005118/0.768, allocations: 3.309 MB / 0.6043 GB, free: 9.379 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.00574/0.7737, allocations: 1.897 MB / 0.6061 GB, free: 7.477 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009652/0.7747, allocations: 288.4 kB / 0.6064 GB, free: 7.195 MB / 458.7 MB Notification: Performance of SimCode: time 1.633e-06/0.7747, allocations: 0 / 0.6064 GB, free: 7.195 MB / 458.7 MB Notification: Performance of Templates: time 0.2301/1.005, allocations: 40.43 MB / 0.6459 GB, free: 135.4 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 7.463025806006044]