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.001021/0.001021, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.001047/0.001047, allocations: 175.7 kB / 24.92 MB, free: 8.777 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.9423/0.9423, allocations: 177.1 MB / 205.3 MB, free: 5.109 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.2628/0.2628, allocations: 32.81 MB / 294.6 MB, free: 1.223 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.152e-06/1.152e-06, allocations: 0 / 323.2 MB, free: 9.758 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.397e-05/1.512e-05, allocations: 4.844 kB / 323.2 MB, free: 9.754 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01197/0.01198, allocations: 11.99 MB / 335.2 MB, free: 13.7 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01158/0.02356, allocations: 4.554 MB / 339.8 MB, free: 9.133 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002854/0.02642, allocations: 103.5 kB / 339.9 MB, free: 9.031 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008222/0.03464, allocations: 3.991 MB / 343.9 MB, free: 5.027 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00709/0.04173, allocations: 2.345 MB / 346.2 MB, free: 2.672 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002065/0.04379, allocations: 1.123 MB / 347.3 MB, free: 1.547 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.006404/0.0502, allocations: 6.772 MB / 354.1 MB, free: 10.77 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004044/0.05424, allocations: 4.249 MB / 358.4 MB, free: 6.426 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004481/0.05872, allocations: 3.957 MB / 362.3 MB, free: 2.461 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002462/0.06118, allocations: 2.798 MB / 365.1 MB, free: 15.66 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004074/0.06159, allocations: 420 kB / 365.5 MB, free: 15.25 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00142/0.06301, allocations: 1.389 MB / 366.9 MB, free: 13.86 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001378/0.06439, allocations: 2.622 MB / 369.5 MB, free: 11.23 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001138/0.06553, allocations: 1.597 MB / 371.1 MB, free: 9.625 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00387/0.0694, allocations: 5.695 MB / 376.8 MB, free: 3.91 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.0694, allocations: 4 kB / 376.8 MB, free: 3.906 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.153e-06/0.0694, allocations: 0 / 376.8 MB, free: 3.906 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.91e-05/0.06944, allocations: 0 / 376.8 MB, free: 3.906 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: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.005308/0.07475, allocations: 5.626 MB / 382.4 MB, free: 14.22 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.07478, allocations: 16.03 kB / 382.5 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003053/0.07784, allocations: 1.304 MB / 383.8 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002901/0.08074, allocations: 2.603 MB / 386.4 MB, free: 10.25 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000132/0.08087, allocations: 287.5 kB / 386.7 MB, free: 9.965 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004165/0.08129, allocations: 376.1 kB / 387 MB, free: 9.598 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00579/0.08708, allocations: 5.801 MB / 392.8 MB, free: 2.934 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001113/0.08719, allocations: 55.52 kB / 392.9 MB, free: 2.879 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003076/0.0875, allocations: 179.8 kB / 393.1 MB, free: 2.703 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001559/0.08905, allocations: 1.893 MB / 394.9 MB, free: 0.8086 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004722/0.09378, allocations: 2.859 MB / 397.8 MB, free: 13.9 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02524/0.119, allocations: 36.71 MB / 434.5 MB, free: 7.801 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003715/0.1227, allocations: 1.803 MB / 436.3 MB, free: 5.949 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004004/0.1231, allocations: 329.3 kB / 436.6 MB, free: 5.617 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005011/0.1281, allocations: 3.882 MB / 440.5 MB, free: 1.703 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.245e-05/0.1282, allocations: 46.5 kB / 440.6 MB, free: 1.648 MB / 410.7 MB Notification: Performance of pre-optimization done (n=118): time 2.965e-06/0.1282, allocations: 4 kB / 440.6 MB, free: 1.645 MB / 410.7 MB Notification: Performance of matching and sorting (n=120): time 0.1539/0.282, allocations: 4.113 MB / 444.7 MB, free: 99.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.2821, allocations: 229.7 kB / 444.9 MB, free: 99.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002743/0.2848, allocations: 4.036 MB / 448.9 MB, free: 98.65 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.034e-05/0.2849, allocations: 44 kB / 449 MB, free: 98.62 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001014/0.2859, allocations: 3.684 MB / 452.7 MB, free: 96.55 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002472/0.2861, allocations: 0.5459 MB / 453.2 MB, free: 96.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008324/0.287, allocations: 1.328 MB / 454.5 MB, free: 96.11 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.686e-05/0.287, allocations: 303.5 kB / 454.8 MB, free: 95.81 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001027/0.288, allocations: 0.7773 MB / 455.6 MB, free: 95.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001958/0.29, allocations: 5.206 MB / 460.8 MB, free: 89.86 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003342/0.2933, allocations: 6.594 MB / 467.4 MB, free: 83.87 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-05/0.2934, allocations: 48 kB / 467.5 MB, free: 83.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=896) (initialization): time 0.004489/0.2979, allocations: 4.714 MB / 472.2 MB, free: 83.15 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.17e-05/0.2979, allocations: 75.16 kB / 472.2 MB, free: 83.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001245/0.2981, allocations: 160.8 kB / 472.4 MB, free: 83.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004429/0.2985, allocations: 273.8 kB / 472.7 MB, free: 83.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002267/0.3008, allocations: 1.555 MB / 474.2 MB, free: 81.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001133/0.3019, allocations: 2.693 MB / 476.9 MB, free: 79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002525/0.3044, allocations: 316.3 kB / 477.2 MB, free: 78.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002754/0.3047, allocations: 381.2 kB / 477.6 MB, free: 78.49 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 736 * 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 (860): * Single equations (assignments): 853 * 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,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001261/0.306, allocations: 0.6967 MB / 478.3 MB, free: 77.95 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003275/0.3063, allocations: 227.1 kB / 478.5 MB, free: 77.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006796/0.307, allocations: 0.6428 MB / 479.2 MB, free: 77.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.339e-05/0.307, allocations: 16 kB / 479.2 MB, free: 77.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.307, allocations: 0 / 479.2 MB, free: 77.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.388e-06/0.307, allocations: 14.61 kB / 479.2 MB, free: 77.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004129/0.3111, allocations: 3.929 MB / 483.1 MB, free: 75.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.259e-05/0.3111, allocations: 4 kB / 483.1 MB, free: 75.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003649/0.3115, allocations: 169.1 kB / 483.3 MB, free: 74.97 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003861/0.3119, allocations: 307.7 kB / 483.6 MB, free: 74.78 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.04e-05/0.3119, allocations: 27.38 kB / 483.6 MB, free: 74.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006834/0.3126, allocations: 2.4 MB / 486 MB, free: 72.29 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.309e-06/0.3126, allocations: 15.88 kB / 486 MB, free: 72.27 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009435/0.3136, allocations: 1.625 MB / 487.7 MB, free: 70.77 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00032/0.3139, allocations: 385.5 kB / 488 MB, free: 70.43 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002578/0.3141, allocations: 33.27 kB / 488.1 MB, free: 70.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005927/0.3147, allocations: 25.52 kB / 488.1 MB, free: 70.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.899e-05/0.3148, allocations: 83.98 kB / 488.2 MB, free: 70.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-05/0.3149, allocations: 29.91 kB / 488.2 MB, free: 70.34 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009993/0.3159, allocations: 1.508 MB / 489.7 MB, free: 69.15 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3159, allocations: 0 / 489.7 MB, free: 69.15 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002879/0.3187, allocations: 1.097 MB / 490.8 MB, free: 68.18 MB / 410.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.0002537/0.319, allocations: 153.1 kB / 491 MB, free: 68.02 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002017/0.321, allocations: 2.727 MB / 493.7 MB, free: 65.37 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001395/0.3212, allocations: 108.2 kB / 493.8 MB, free: 65.26 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003061/0.3215, allocations: 0.4986 MB / 494.3 MB, free: 64.75 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001539/0.323, allocations: 0.7503 MB / 495 MB, free: 64.02 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00737/0.3304, allocations: 8.505 MB / 0.4917 GB, free: 55.38 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008375/0.3312, allocations: 1.44 MB / 0.4931 GB, free: 53.91 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009732/0.3322, allocations: 0.562 MB / 0.4937 GB, free: 53.36 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006278/0.3328, allocations: 0.6117 MB / 0.4943 GB, free: 52.75 MB / 410.7 MB Notification: Performance of SimCode: time 1.262e-06/0.3328, allocations: 0 / 0.4943 GB, free: 52.75 MB / 410.7 MB Notification: Performance of Templates: time 0.03849/0.3713, allocations: 30.48 MB / 0.5241 GB, free: 22.78 MB / 410.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.131084793712944]