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.001311/0.001311, allocations: 85.33 kB / 20.68 MB, free: 1.023 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.001409/0.001409, allocations: 168 kB / 23.96 MB, free: 4.148 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.393/1.393, allocations: 177.1 MB / 204.3 MB, free: 9.188 MB / 190.1 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.1917/0.1917, allocations: 32.82 MB / 293.5 MB, free: 44 kB / 270.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.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.723e-06/1.723e-06, allocations: 0 / 440.1 MB, free: 8.152 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.249e-05/2.422e-05, allocations: 2.281 kB / 440.1 MB, free: 8.148 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.1909/0.191, allocations: 11.09 MB / 451.2 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007776/0.1987, allocations: 4.297 MB / 455.5 MB, free: 13.7 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001622/0.2004, allocations: 100.7 kB / 455.6 MB, free: 13.67 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006561/0.2069, allocations: 3.802 MB / 459.4 MB, free: 12.05 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006082/0.213, allocations: 2.322 MB / 461.7 MB, free: 10.95 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002752/0.2158, allocations: 1.096 MB / 462.8 MB, free: 10.48 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009105/0.2249, allocations: 6.794 MB / 469.6 MB, free: 7.684 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005068/0.2299, allocations: 4.026 MB / 473.6 MB, free: 4.973 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005048/0.235, allocations: 2.994 MB / 476.6 MB, free: 3.105 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004237/0.2392, allocations: 2.885 MB / 479.5 MB, free: 1.488 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009599/0.2402, allocations: 419.4 kB / 479.9 MB, free: 1.488 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002455/0.2426, allocations: 1.402 MB / 481.3 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002321/0.2449, allocations: 2.602 MB / 483.9 MB, free: 14.19 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002429/0.2474, allocations: 1.589 MB / 485.5 MB, free: 12.6 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01073/0.2581, allocations: 8.746 MB / 494.3 MB, free: 3.824 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.306e-06/0.2581, allocations: 7.922 kB / 494.3 MB, free: 3.816 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2581, allocations: 0 / 494.3 MB, free: 3.816 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001713/0.2583, allocations: 0 / 494.3 MB, free: 3.816 MB / 382.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.01356/0.2718, allocations: 6.15 MB / 0.4887 GB, free: 13.6 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.2719, allocations: 8.031 kB / 0.4887 GB, free: 13.59 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01209/0.284, allocations: 2.661 MB / 0.4913 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008539/0.2925, allocations: 3.667 MB / 0.4949 GB, free: 7.211 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003084/0.2928, allocations: 279.5 kB / 0.4951 GB, free: 6.938 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001505/0.2943, allocations: 380.1 kB / 0.4955 GB, free: 6.566 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02289/0.3172, allocations: 11.67 MB / 0.5069 GB, free: 10.03 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002235/0.3174, allocations: 59.56 kB / 0.507 GB, free: 9.973 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001084/0.3185, allocations: 175.8 kB / 0.5071 GB, free: 9.801 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004055/0.3226, allocations: 2.154 MB / 0.5092 GB, free: 7.637 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02126/0.3438, allocations: 9.606 MB / 0.5186 GB, free: 14.02 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06022/0.404, allocations: 43.25 MB / 0.5609 GB, free: 1.523 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01092/0.415, allocations: 3.504 MB / 0.5643 GB, free: 13.98 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003055/0.418, allocations: 1.984 MB / 0.5662 GB, free: 11.98 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01063/0.4287, allocations: 5.322 MB / 0.5714 GB, free: 6.621 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.903e-05/0.4287, allocations: 55.98 kB / 0.5715 GB, free: 6.559 MB / 478.1 MB Notification: Performance of pre-optimization done (n=150): time 4.789e-06/0.4287, allocations: 0 / 0.5715 GB, free: 6.559 MB / 478.1 MB Notification: Performance of matching and sorting (n=162): time 0.05129/0.48, allocations: 18.09 MB / 0.5891 GB, free: 4.348 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001547/0.4802, allocations: 234.3 kB / 0.5894 GB, free: 4.07 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00694/0.4871, allocations: 4.986 MB / 0.5942 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002495/0.4873, allocations: 53.61 kB / 0.5943 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003062/0.4904, allocations: 3.844 MB / 0.598 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009055/0.4913, allocations: 0.6786 MB / 0.5987 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001915/0.4932, allocations: 1.397 MB / 0.6001 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.4934, allocations: 301.1 kB / 0.6003 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00351/0.4969, allocations: 2.293 MB / 0.6026 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008125/0.505, allocations: 6.605 MB / 0.609 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01307/0.5181, allocations: 9.51 MB / 0.6183 GB, free: 2.094 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001317/0.5182, allocations: 43.94 kB / 0.6184 GB, free: 2.051 MB / 0.5137 GB Notification: Performance of matching and sorting (n=898) (initialization): time 0.01813/0.5363, allocations: 9.515 MB / 0.6277 GB, free: 8.516 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.365e-05/0.5364, allocations: 68 kB / 0.6277 GB, free: 8.449 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001686/0.5366, allocations: 152 kB / 0.6279 GB, free: 8.301 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00324/0.5398, allocations: 1.23 MB / 0.6291 GB, free: 7.066 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005054/0.5449, allocations: 1.563 MB / 0.6306 GB, free: 5.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2026/0.7475, allocations: 8.177 MB / 0.6386 GB, free: 162.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005289/0.7528, allocations: 427.5 kB / 0.639 GB, free: 162.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008059/0.7536, allocations: 423.1 kB / 0.6394 GB, free: 162.4 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 (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.003667/0.7573, allocations: 2.471 MB / 0.6418 GB, free: 161.8 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007379/0.758, allocations: 399.3 kB / 0.6422 GB, free: 161.8 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005931/0.7639, allocations: 3.314 MB / 0.6454 GB, free: 160.7 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.75e-05/0.764, allocations: 17.91 kB / 0.6454 GB, free: 160.7 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.175e-05/0.764, allocations: 5.406 kB / 0.6454 GB, free: 160.7 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.009e-05/0.764, allocations: 8.906 kB / 0.6455 GB, free: 160.7 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01372/0.7777, allocations: 7.173 MB / 0.6525 GB, free: 158.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.625e-05/0.7777, allocations: 3.25 kB / 0.6525 GB, free: 158.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001298/0.779, allocations: 249.6 kB / 0.6527 GB, free: 158.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00278/0.7818, allocations: 1.005 MB / 0.6537 GB, free: 158.1 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001845/0.782, allocations: 31.47 kB / 0.6537 GB, free: 158 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008645/0.7906, allocations: 7.55 MB / 0.6611 GB, free: 153.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.7906, allocations: 3.969 kB / 0.6611 GB, free: 153.6 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007955/0.7986, allocations: 5.772 MB / 0.6667 GB, free: 151.5 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001241/0.7998, allocations: 418.3 kB / 0.6671 GB, free: 151.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005305/0.8004, allocations: 31.5 kB / 0.6672 GB, free: 151.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001712/0.8021, allocations: 156.5 kB / 0.6673 GB, free: 151.4 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002837/0.8024, allocations: 100.9 kB / 0.6674 GB, free: 151.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001085/0.8025, allocations: 46.02 kB / 0.6674 GB, free: 151.4 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003555/0.806, allocations: 2.946 MB / 0.6703 GB, free: 150.4 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.806, allocations: 0 / 0.6703 GB, free: 150.4 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005182/0.8112, allocations: 1.28 MB / 0.6716 GB, free: 150.3 MB / 0.5294 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.0004416/0.8116, allocations: 175 kB / 0.6717 GB, free: 150.2 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006363/0.818, allocations: 5.343 MB / 0.677 GB, free: 148.3 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.832e-06/0.818, allocations: 1.531 kB / 0.677 GB, free: 148.3 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001673/0.8197, allocations: 1.523 MB / 0.6784 GB, free: 147.7 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00292/0.8226, allocations: 0.503 MB / 0.6789 GB, free: 147.5 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01364/0.8362, allocations: 10.84 MB / 0.6895 GB, free: 137.4 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002869/0.8391, allocations: 3.255 MB / 0.6927 GB, free: 134.2 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003604/0.8427, allocations: 2.018 MB / 0.6947 GB, free: 132.1 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007077/0.8434, allocations: 276.4 kB / 0.6949 GB, free: 131.9 MB / 0.5294 GB Notification: Performance of SimCode: time 9.92e-07/0.8434, allocations: 0 / 0.6949 GB, free: 131.9 MB / 0.5294 GB Notification: Performance of Templates: time 0.06065/0.9041, allocations: 36.78 MB / 0.7309 GB, free: 95.65 MB / 0.5294 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: 6.672135908156633]