Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001809/0.001809, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002246/0.002246, allocations: 211.1 kB / 23.73 MB, free: 4.387 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.562/1.562, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.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.2406/0.2406, allocations: 46.97 MB / 360.9 MB, free: 4.055 MB / 286.1 MB " [Timeout remaining time 179] 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.FrameTorques,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.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.1.0_ModelicaTest.MultiBody.Forces.FrameTorques") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002297/0.002297, allocations: 67.89 kB / 0.4966 GB, free: 7.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3496/0.3519, allocations: 66.03 MB / 0.5611 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01505/0.367, allocations: 11.09 MB / 0.5719 GB, free: 9.055 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01109/0.3781, allocations: 4.299 MB / 0.5761 GB, free: 4.742 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003294/0.3814, allocations: 99.5 kB / 0.5762 GB, free: 4.645 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008923/0.3903, allocations: 3.61 MB / 0.5797 GB, free: 1.023 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008233/0.3985, allocations: 2.258 MB / 0.5819 GB, free: 14.76 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003567/0.4021, allocations: 1.006 MB / 0.5829 GB, free: 13.75 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01081/0.4129, allocations: 6.047 MB / 0.5888 GB, free: 7.691 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006595/0.4195, allocations: 3.504 MB / 0.5923 GB, free: 4.117 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004129/0.4236, allocations: 1.986 MB / 0.5942 GB, free: 2.125 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004872/0.4285, allocations: 2.663 MB / 0.5968 GB, free: 15.45 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001474/0.43, allocations: 408 kB / 0.5972 GB, free: 15.05 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003533/0.4335, allocations: 1.338 MB / 0.5985 GB, free: 13.71 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003871/0.4374, allocations: 2.493 MB / 0.6009 GB, free: 11.21 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005547/0.4429, allocations: 2.008 MB / 0.6029 GB, free: 9.195 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01542/0.4583, allocations: 8.7 MB / 0.6114 GB, free: 472 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.409e-05/0.4584, allocations: 11.94 kB / 0.6114 GB, free: 460 kB / 446.1 MB Notification: Performance of FrontEnd: time 3.015e-06/0.4584, allocations: 0 / 0.6114 GB, free: 460 kB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004217/0.4588, allocations: 0 / 0.6114 GB, free: 460 kB / 446.1 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.02193/0.4807, allocations: 6.088 MB / 0.6173 GB, free: 10.29 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.4808, allocations: 8.031 kB / 0.6173 GB, free: 10.28 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01306/0.4938, allocations: 2.575 MB / 0.6199 GB, free: 7.699 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01235/0.5062, allocations: 3.684 MB / 0.6235 GB, free: 3.965 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004418/0.5066, allocations: 279.5 kB / 0.6237 GB, free: 3.691 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001896/0.5085, allocations: 379.7 kB / 0.6241 GB, free: 3.32 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0275/0.536, allocations: 11.66 MB / 0.6355 GB, free: 6.801 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003386/0.5363, allocations: 63.52 kB / 0.6355 GB, free: 6.738 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001632/0.538, allocations: 179.8 kB / 0.6357 GB, free: 6.562 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004501/0.5425, allocations: 2.146 MB / 0.6378 GB, free: 4.418 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02319/0.5657, allocations: 9.601 MB / 0.6472 GB, free: 10.8 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07096/0.6366, allocations: 42.91 MB / 0.6891 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01101/0.6476, allocations: 3.329 MB / 0.6923 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003374/0.651, allocations: 1.99 MB / 0.6943 GB, free: 9.254 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01241/0.6634, allocations: 4.998 MB / 0.6992 GB, free: 4.223 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.057e-05/0.6635, allocations: 51.98 kB / 0.6992 GB, free: 4.164 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=150): time 4.419e-06/0.6635, allocations: 0 / 0.6992 GB, free: 4.164 MB / 0.5294 GB Notification: Performance of matching and sorting (n=162): time 0.05366/0.7171, allocations: 17.41 MB / 0.7162 GB, free: 2.648 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001591/0.7173, allocations: 222.3 kB / 0.7164 GB, free: 2.383 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009713/0.727, allocations: 4.811 MB / 0.7211 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004752/0.7275, allocations: 49.7 kB / 0.7212 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.004744/0.7322, allocations: 3.891 MB / 0.725 GB, free: 9.57 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001485/0.7337, allocations: 0.6864 MB / 0.7256 GB, free: 8.875 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004499/0.7382, allocations: 1.417 MB / 0.727 GB, free: 7.449 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.7384, allocations: 301.1 kB / 0.7273 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004583/0.743, allocations: 2.297 MB / 0.7295 GB, free: 4.852 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2873/1.03, allocations: 6.593 MB / 0.736 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01065/1.041, allocations: 9.524 MB / 0.7453 GB, free: 140.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002428/1.041, allocations: 50.03 kB / 0.7453 GB, free: 140.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=898) (initialization): time 0.0143/1.055, allocations: 9.521 MB / 0.7546 GB, free: 137.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.061e-05/1.056, allocations: 72.09 kB / 0.7547 GB, free: 137.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001623/1.056, allocations: 147.3 kB / 0.7548 GB, free: 137.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002695/1.058, allocations: 1.223 MB / 0.756 GB, free: 137.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004022/1.062, allocations: 1.56 MB / 0.7576 GB, free: 136.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007743/1.07, allocations: 8.118 MB / 0.7655 GB, free: 128.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004711/1.075, allocations: 365.9 kB / 0.7658 GB, free: 128.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000602/1.076, allocations: 431.1 kB / 0.7662 GB, free: 128.1 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 (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.003108/1.079, allocations: 2.464 MB / 0.7686 GB, free: 126 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006444/1.079, allocations: 403.3 kB / 0.769 GB, free: 125.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005052/1.084, allocations: 3.307 MB / 0.7723 GB, free: 122.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.322e-05/1.084, allocations: 27.88 kB / 0.7723 GB, free: 122.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/1.084, allocations: 6.812 kB / 0.7723 GB, free: 122.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.348e-05/1.084, allocations: 7.969 kB / 0.7723 GB, free: 122.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01125/1.096, allocations: 7.014 MB / 0.7791 GB, free: 115.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.219e-05/1.096, allocations: 4 kB / 0.7792 GB, free: 115.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001137/1.097, allocations: 252.8 kB / 0.7794 GB, free: 115.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0024/1.099, allocations: 1.007 MB / 0.7804 GB, free: 114.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001511/1.099, allocations: 31.91 kB / 0.7804 GB, free: 114.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007017/1.106, allocations: 7.481 MB / 0.7877 GB, free: 106.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/1.106, allocations: 7.984 kB / 0.7877 GB, free: 106.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007334/1.114, allocations: 5.783 MB / 0.7934 GB, free: 101.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001028/1.115, allocations: 378.5 kB / 0.7937 GB, free: 100.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004524/1.115, allocations: 28 kB / 0.7938 GB, free: 100.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001428/1.117, allocations: 87.88 kB / 0.7938 GB, free: 100.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002385/1.117, allocations: 98.78 kB / 0.7939 GB, free: 100.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001021/1.117, allocations: 47.98 kB / 0.794 GB, free: 100.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003271/1.12, allocations: 2.822 MB / 0.7967 GB, free: 97.77 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/1.12, allocations: 3.938 kB / 0.7967 GB, free: 97.77 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005178/1.125, allocations: 1.13 MB / 0.7978 GB, free: 96.65 MB / 0.5606 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.0003514/1.126, allocations: 158.1 kB / 0.798 GB, free: 96.49 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006816/1.133, allocations: 5.336 MB / 0.8032 GB, free: 91.18 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.613e-06/1.133, allocations: 4 kB / 0.8032 GB, free: 91.17 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001727/1.134, allocations: 1.53 MB / 0.8047 GB, free: 89.62 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002773/1.137, allocations: 0.5047 MB / 0.8052 GB, free: 89.12 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01515/1.152, allocations: 10.89 MB / 0.8158 GB, free: 78.16 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004185/1.156, allocations: 3.248 MB / 0.819 GB, free: 74.88 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003958/1.16, allocations: 2.018 MB / 0.821 GB, free: 72.85 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007148/1.161, allocations: 255.4 kB / 0.8212 GB, free: 72.61 MB / 0.5606 GB Notification: Performance of SimCode: time 9.01e-07/1.161, allocations: 4 kB / 0.8212 GB, free: 72.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.06531/1.226, allocations: 40.1 MB / 0.8604 GB, free: 33.09 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 7.514085596427321]