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.001321/0.001321, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001964/0.003285, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001278/0.001278, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00189/0.003168, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9639/0.9639, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1411/1.105, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] 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.3163/0.3163, allocations: 34.25 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04138/0.3577, allocations: 13.11 MB / 291.5 MB, free: 7.332 MB / 282.7 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.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 2.705e-06/2.705e-06, allocations: 0 / 292.8 MB, free: 6.211 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.055e-05/4.325e-05, allocations: 6.906 kB / 292.8 MB, free: 6.203 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01409/0.01414, allocations: 12.12 MB / 305 MB, free: 10.04 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01249/0.02663, allocations: 4.611 MB / 309.6 MB, free: 5.41 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002308/0.02894, allocations: 107.5 kB / 309.7 MB, free: 5.305 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004753/0.03369, allocations: 3.769 MB / 313.4 MB, free: 1.523 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00566/0.03935, allocations: 2.305 MB / 315.8 MB, free: 15.2 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002218/0.04157, allocations: 1.021 MB / 316.8 MB, free: 14.18 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.007892/0.04946, allocations: 6.25 MB / 323 MB, free: 7.918 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005902/0.05536, allocations: 3.773 MB / 326.8 MB, free: 4.051 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008224/0.06359, allocations: 3.798 MB / 330.6 MB, free: 232 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004438/0.06802, allocations: 2.771 MB / 333.4 MB, free: 13.45 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001568/0.06959, allocations: 420 kB / 333.8 MB, free: 13.04 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003168/0.07276, allocations: 1.42 MB / 335.2 MB, free: 11.62 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003259/0.07602, allocations: 2.354 MB / 337.6 MB, free: 9.258 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004802/0.08082, allocations: 1.305 MB / 338.9 MB, free: 7.949 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008633/0.08945, allocations: 5.278 MB / 344.1 MB, free: 2.652 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.639e-05/0.08947, allocations: 0 / 344.1 MB, free: 2.652 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.08947, allocations: 0 / 344.1 MB, free: 2.652 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.000363/0.08984, allocations: 0 / 344.1 MB, free: 2.652 MB / 330.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.01191/0.1017, allocations: 6.744 MB / 350.9 MB, free: 11.83 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.1018, allocations: 16.02 kB / 350.9 MB, free: 11.82 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004464/0.1063, allocations: 1.292 MB / 352.2 MB, free: 10.52 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005314/0.1116, allocations: 2.607 MB / 354.8 MB, free: 7.863 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002287/0.1118, allocations: 279.5 kB / 355.1 MB, free: 7.59 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001195/0.113, allocations: 384.1 kB / 355.4 MB, free: 7.215 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01273/0.1257, allocations: 5.797 MB / 361.2 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001672/0.1259, allocations: 59.5 kB / 361.3 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005782/0.1265, allocations: 179.8 kB / 361.5 MB, free: 328 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00167/0.1281, allocations: 1.788 MB / 363.3 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006965/0.1351, allocations: 2.871 MB / 366.1 MB, free: 11.62 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03606/0.1712, allocations: 36.7 MB / 402.8 MB, free: 5.527 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004002/0.1752, allocations: 1.75 MB / 404.6 MB, free: 3.723 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005853/0.1758, allocations: 324.4 kB / 404.9 MB, free: 3.395 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006112/0.1819, allocations: 3.839 MB / 408.7 MB, free: 15.53 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.623e-05/0.1819, allocations: 42.56 kB / 408.8 MB, free: 15.48 MB / 410.7 MB Notification: Performance of pre-optimization done (n=118): time 6.783e-06/0.1819, allocations: 4 kB / 408.8 MB, free: 15.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=120): time 0.01052/0.1924, allocations: 4.079 MB / 412.9 MB, free: 11.32 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.867e-05/0.1925, allocations: 177.8 kB / 413 MB, free: 11.11 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00425/0.1968, allocations: 4.041 MB / 417.1 MB, free: 7.043 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002222/0.197, allocations: 45.7 kB / 417.1 MB, free: 6.992 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002226/0.1992, allocations: 3.681 MB / 420.8 MB, free: 3.273 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008047/0.2, allocations: 0.547 MB / 421.3 MB, free: 2.723 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001382/0.2014, allocations: 1.326 MB / 422.7 MB, free: 1.387 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.935e-05/0.2015, allocations: 305.1 kB / 423 MB, free: 1.086 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001214/0.2027, allocations: 0.7767 MB / 423.7 MB, free: 312 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004892/0.2076, allocations: 5.262 MB / 429 MB, free: 8.727 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2575/0.4651, allocations: 7.205 MB / 436.2 MB, free: 114.6 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002025/0.4653, allocations: 47.31 kB / 436.3 MB, free: 114.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=896) (initialization): time 0.008324/0.4736, allocations: 4.73 MB / 441 MB, free: 113.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.232e-05/0.4737, allocations: 73.97 kB / 441.1 MB, free: 113.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002956/0.474, allocations: 168.9 kB / 441.2 MB, free: 113.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007019/0.4747, allocations: 291.3 kB / 441.5 MB, free: 113.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003248/0.478, allocations: 1.732 MB / 443.2 MB, free: 113.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001385/0.4793, allocations: 2.707 MB / 446 MB, free: 111.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003968/0.4833, allocations: 315.8 kB / 446.3 MB, free: 111.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008188/0.4841, allocations: 386.1 kB / 446.6 MB, free: 111.2 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 746 * 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 (870): * Single equations (assignments): 865 * 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,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001794/0.4859, allocations: 0.7015 MB / 447.3 MB, free: 111 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007996/0.4867, allocations: 232.2 kB / 447.6 MB, free: 111 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008264/0.4876, allocations: 0.6441 MB / 448.2 MB, free: 110.9 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.455e-05/0.4876, allocations: 11.84 kB / 448.2 MB, free: 110.9 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.4876, allocations: 4.562 kB / 448.2 MB, free: 110.9 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.308e-06/0.4876, allocations: 5.625 kB / 448.2 MB, free: 110.9 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005958/0.4935, allocations: 3.93 MB / 452.2 MB, free: 110 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-05/0.4936, allocations: 13.03 kB / 452.2 MB, free: 110 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004967/0.4941, allocations: 190.6 kB / 452.4 MB, free: 110 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009668/0.495, allocations: 377.4 kB / 452.7 MB, free: 110 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005657/0.4956, allocations: 308.1 kB / 453 MB, free: 110 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-05/0.4957, allocations: 28.09 kB / 453.1 MB, free: 110 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009668/0.4966, allocations: 2.407 MB / 455.5 MB, free: 107.6 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/0.4966, allocations: 17.19 kB / 455.5 MB, free: 107.6 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001498/0.4981, allocations: 1.629 MB / 457.1 MB, free: 106.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005211/0.4987, allocations: 33.03 kB / 457.1 MB, free: 106.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000695/0.4994, allocations: 25.81 kB / 457.2 MB, free: 106.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.4995, allocations: 86.45 kB / 457.3 MB, free: 106.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.402e-05/0.4995, allocations: 32.03 kB / 457.3 MB, free: 106.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00158/0.5011, allocations: 1.508 MB / 458.8 MB, free: 106.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.5011, allocations: 0 / 458.8 MB, free: 106.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004453/0.5055, allocations: 1.099 MB / 459.9 MB, free: 106.2 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (97): * Single equations (assignments): 92 * 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,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005072/0.506, allocations: 163 kB / 460 MB, free: 106 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004285/0.5103, allocations: 2.865 MB / 462.9 MB, free: 103.9 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.000433/0.5108, allocations: 126 kB / 463 MB, free: 103.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001991/0.5127, allocations: 1.097 MB / 464.1 MB, free: 102.9 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004069/0.5168, allocations: 3.545 MB / 467.7 MB, free: 99.34 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01941/0.5362, allocations: 8.722 MB / 476.4 MB, free: 91.28 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002157/0.5384, allocations: 1.444 MB / 477.8 MB, free: 89.91 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001924/0.5403, allocations: 0.5662 MB / 478.4 MB, free: 89.35 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009706/0.5413, allocations: 0.6065 MB / 479 MB, free: 88.75 MB / 426.7 MB Notification: Performance of SimCode: time 2.845e-06/0.5413, allocations: 0 / 479 MB, free: 88.75 MB / 426.7 MB Notification: Performance of Templates: time 0.0508/0.5921, allocations: 29.57 MB / 0.4967 GB, free: 59.44 MB / 426.7 MB " [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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.093838667497039]