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.0014/0.0014, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001135/0.001135, allocations: 163.8 kB / 24.99 MB, free: 8.805 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 1.013/1.013, allocations: 177.1 MB / 205.3 MB, free: 5.629 MB / 186.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.2524/0.2524, allocations: 34.25 MB / 296 MB, free: 0.7734 MB / 266.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 1.853e-06/1.853e-06, allocations: 0 / 378 MB, free: 2.969 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.676e-05/2.861e-05, allocations: 2.312 kB / 378 MB, free: 2.965 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01088/0.01091, allocations: 12.24 MB / 390.3 MB, free: 6.672 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008045/0.01896, allocations: 4.411 MB / 394.7 MB, free: 2.246 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002113/0.02107, allocations: 103.4 kB / 394.8 MB, free: 2.145 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005451/0.02652, allocations: 3.98 MB / 398.8 MB, free: 14.15 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00477/0.03129, allocations: 2.321 MB / 401.1 MB, free: 11.82 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001817/0.03311, allocations: 1.123 MB / 402.2 MB, free: 10.69 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.006981/0.04009, allocations: 6.802 MB / 409 MB, free: 3.875 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005021/0.04511, allocations: 4.15 MB / 413.1 MB, free: 15.65 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005158/0.05027, allocations: 3.009 MB / 416.2 MB, free: 12.64 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004289/0.05456, allocations: 2.962 MB / 419.1 MB, free: 9.668 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009794/0.05554, allocations: 416 kB / 419.5 MB, free: 9.262 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002114/0.05765, allocations: 1.393 MB / 420.9 MB, free: 7.867 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002031/0.05968, allocations: 2.63 MB / 423.5 MB, free: 5.23 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002036/0.06172, allocations: 1.601 MB / 425.1 MB, free: 3.625 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006847/0.06857, allocations: 5.687 MB / 430.8 MB, free: 13.92 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.06857, allocations: 4 kB / 430.8 MB, free: 13.91 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.06857, allocations: 0 / 430.8 MB, free: 13.91 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001976/0.06877, allocations: 0 / 430.8 MB, free: 13.91 MB / 410.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.009834/0.0786, allocations: 6.569 MB / 437.4 MB, free: 7.273 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.07865, allocations: 16.03 kB / 437.4 MB, free: 7.258 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007588/0.08624, allocations: 3.102 MB / 440.5 MB, free: 4.148 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005988/0.09222, allocations: 3.299 MB / 443.8 MB, free: 0.8008 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001974/0.09242, allocations: 275.5 kB / 444.1 MB, free: 0.5312 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001011/0.09343, allocations: 384.1 kB / 444.5 MB, free: 160 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.159/0.2524, allocations: 7.269 MB / 451.7 MB, free: 95.46 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001113/0.2525, allocations: 51.53 kB / 451.8 MB, free: 95.44 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003078/0.2529, allocations: 179.3 kB / 452 MB, free: 95.36 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001808/0.2547, allocations: 2.148 MB / 454.1 MB, free: 94.98 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007731/0.2624, allocations: 3.878 MB / 458 MB, free: 94.32 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03408/0.2965, allocations: 51.31 MB / 0.4974 GB, free: 52.12 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005739/0.3022, allocations: 2.13 MB / 0.4994 GB, free: 51.75 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001396/0.3036, allocations: 0.669 MB / 0.5001 GB, free: 51.6 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006419/0.31, allocations: 4.28 MB / 0.5043 GB, free: 49.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.893e-05/0.3101, allocations: 59.03 kB / 0.5043 GB, free: 49.14 MB / 410.7 MB Notification: Performance of pre-optimization done (n=150): time 5.29e-06/0.3101, allocations: 0 / 0.5043 GB, free: 49.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=162): time 0.02694/0.337, allocations: 13.52 MB / 0.5175 GB, free: 42.32 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.018e-05/0.3371, allocations: 234 kB / 0.5178 GB, free: 42.05 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003875/0.341, allocations: 4.377 MB / 0.522 GB, free: 38.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001689/0.3411, allocations: 50.78 kB / 0.5221 GB, free: 38.36 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001424/0.3425, allocations: 4.064 MB / 0.5261 GB, free: 34.33 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005166/0.3431, allocations: 0.7016 MB / 0.5267 GB, free: 33.64 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001064/0.3441, allocations: 1.521 MB / 0.5282 GB, free: 32.11 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.006e-05/0.3442, allocations: 484.7 kB / 0.5287 GB, free: 31.63 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001143/0.3453, allocations: 0.7356 MB / 0.5294 GB, free: 30.89 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002569/0.3479, allocations: 7.1 MB / 0.5363 GB, free: 20.88 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005064/0.353, allocations: 8.572 MB / 0.5447 GB, free: 9.406 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001037/0.3531, allocations: 44 kB / 0.5448 GB, free: 9.363 MB / 410.7 MB Notification: Performance of matching and sorting (n=898) (initialization): time 0.01017/0.3632, allocations: 6.497 MB / 0.5511 GB, free: 2.855 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.123e-05/0.3633, allocations: 71.94 kB / 0.5512 GB, free: 2.785 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000159/0.3635, allocations: 152 kB / 0.5513 GB, free: 2.637 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00196/0.3654, allocations: 0.8095 MB / 0.5521 GB, free: 1.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002884/0.3683, allocations: 1.556 MB / 0.5536 GB, free: 268 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005652/0.374, allocations: 5.924 MB / 0.5594 GB, free: 10.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004006/0.378, allocations: 419.6 kB / 0.5598 GB, free: 9.703 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008127/0.3788, allocations: 429.9 kB / 0.5602 GB, free: 9.285 MB / 426.7 MB 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.001796/0.3806, allocations: 0.7207 MB / 0.5609 GB, free: 8.547 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008343/0.3814, allocations: 451.3 kB / 0.5614 GB, free: 8.105 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002891/0.3843, allocations: 1.75 MB / 0.5631 GB, free: 6.324 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-05/0.3843, allocations: 16 kB / 0.5631 GB, free: 6.309 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.365e-05/0.3844, allocations: 8 kB / 0.5631 GB, free: 6.301 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/0.3844, allocations: 11.91 kB / 0.5631 GB, free: 6.289 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009759/0.3941, allocations: 5.837 MB / 0.5688 GB, free: 388 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-05/0.3941, allocations: 4.281 kB / 0.5688 GB, free: 384 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007283/0.3949, allocations: 259.6 kB / 0.569 GB, free: 124 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001535/0.3964, allocations: 0.5843 MB / 0.5696 GB, free: 15.53 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001139/0.3965, allocations: 24 kB / 0.5696 GB, free: 15.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004616/0.4011, allocations: 5.443 MB / 0.575 GB, free: 9.832 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.4011, allocations: 7.938 kB / 0.575 GB, free: 9.824 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004233/0.4054, allocations: 2.933 MB / 0.5778 GB, free: 6.816 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000924/0.4063, allocations: 405.1 kB / 0.5782 GB, free: 6.418 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003245/0.4066, allocations: 32 kB / 0.5782 GB, free: 6.387 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009551/0.4076, allocations: 143.8 kB / 0.5784 GB, free: 6.246 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002145/0.4078, allocations: 108.7 kB / 0.5785 GB, free: 6.137 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.545e-05/0.4079, allocations: 40 kB / 0.5785 GB, free: 6.098 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002743/0.4106, allocations: 1.913 MB / 0.5804 GB, free: 4.184 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4106, allocations: 0 / 0.5804 GB, free: 4.184 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004723/0.4153, allocations: 1.283 MB / 0.5816 GB, free: 2.902 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 (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.0004718/0.4158, allocations: 174.5 kB / 0.5818 GB, free: 2.723 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005808/0.4216, allocations: 3.543 MB / 0.5853 GB, free: 15.18 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/0.4216, allocations: 7.938 kB / 0.5853 GB, free: 15.17 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001215/0.4228, allocations: 0.9605 MB / 0.5862 GB, free: 14.17 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002432/0.4253, allocations: 0.5275 MB / 0.5867 GB, free: 13.66 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01333/0.4386, allocations: 8.866 MB / 0.5954 GB, free: 4.66 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001367/0.44, allocations: 1.485 MB / 0.5968 GB, free: 3.145 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002877/0.4429, allocations: 1.744 MB / 0.5985 GB, free: 1.395 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006416/0.4435, allocations: 264.4 kB / 0.5988 GB, free: 1.137 MB / 458.7 MB Notification: Performance of SimCode: time 2.485e-06/0.4435, allocations: 4 kB / 0.5988 GB, free: 1.133 MB / 458.7 MB Notification: Performance of Templates: time 0.1963/0.6398, allocations: 36.93 MB / 0.6349 GB, free: 119.9 MB / 458.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.660793127026409]