Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.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.0009489/0.0009489, 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.001026/0.001026, allocations: 172.7 kB / 24.91 MB, free: 8.762 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.958/0.958, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.2449/0.2449, allocations: 32.8 MB / 294.6 MB, free: 1.234 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.Parts.FixedRotation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|fixedRotation.frame_b.r_0.[0-9,]+.|fixedRotation.frame_b.f.[0-9,]+.|fixedRotation.frame_b.t.[0-9,]+.|fixedRotation1.frame_b.r_0.[0-9,]+.|fixedRotation1.frame_b.f.[0-9,]+.|fixedRotation1.frame_b.t.[0-9,]+.|fixedRotation2.frame_b.r_0.[0-9,]+.|fixedRotation2.frame_b.f.[0-9,]+.|fixedRotation2.frame_b.t.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation") translateModel(ModelicaTest.MultiBody.Parts.FixedRotation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|fixedRotation.frame_b.r_0.[0-9,]+.|fixedRotation.frame_b.f.[0-9,]+.|fixedRotation.frame_b.t.[0-9,]+.|fixedRotation1.frame_b.r_0.[0-9,]+.|fixedRotation1.frame_b.f.[0-9,]+.|fixedRotation1.frame_b.t.[0-9,]+.|fixedRotation2.frame_b.r_0.[0-9,]+.|fixedRotation2.frame_b.f.[0-9,]+.|fixedRotation2.frame_b.t.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 323.2 MB, free: 9.727 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.651e-05/1.773e-05, allocations: 7.297 kB / 323.2 MB, free: 9.719 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01101/0.01103, allocations: 15.76 MB / 339 MB, free: 9.883 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006896/0.01792, allocations: 4.048 MB / 343 MB, free: 5.82 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001458/0.01938, allocations: 115.6 kB / 343.1 MB, free: 5.707 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002419/0.0218, allocations: 2.323 MB / 345.5 MB, free: 3.375 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003692/0.02549, allocations: 2.683 MB / 348.1 MB, free: 0.6797 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005052/0.026, allocations: 343.3 kB / 348.5 MB, free: 352 kB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005426/0.03143, allocations: 6.486 MB / 355 MB, free: 9.848 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002574/0.034, allocations: 3.313 MB / 358.3 MB, free: 6.465 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002983/0.03698, allocations: 3.125 MB / 361.4 MB, free: 3.332 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002309/0.03929, allocations: 2.778 MB / 364.2 MB, free: 0.5469 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004701/0.03976, allocations: 392 kB / 364.6 MB, free: 168 kB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001036/0.0408, allocations: 0.831 MB / 365.4 MB, free: 15.33 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001757/0.04255, allocations: 2.917 MB / 368.3 MB, free: 12.41 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001231/0.04379, allocations: 1.65 MB / 370 MB, free: 10.75 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004927/0.04871, allocations: 6.577 MB / 376.5 MB, free: 4.145 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.04872, allocations: 0 / 376.5 MB, free: 4.145 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.04872, allocations: 0 / 376.5 MB, free: 4.145 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001232/0.04884, allocations: 0 / 376.5 MB, free: 4.145 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: 2817 * Number of variables: 2817 Notification: Performance of Generate backend data structure: time 0.005626/0.05447, allocations: 6.587 MB / 383.1 MB, free: 13.49 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.0545, allocations: 8.031 kB / 383.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005845/0.06035, allocations: 2.517 MB / 385.6 MB, free: 10.96 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002871/0.06322, allocations: 2.522 MB / 388.2 MB, free: 8.375 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001421/0.06336, allocations: 324.3 kB / 388.5 MB, free: 8.055 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004973/0.06386, allocations: 416 kB / 388.9 MB, free: 7.648 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009117/0.07298, allocations: 8.015 MB / 396.9 MB, free: 14.89 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.541e-05/0.07304, allocations: 35.69 kB / 396.9 MB, free: 14.86 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003854/0.07343, allocations: 207.7 kB / 397.1 MB, free: 14.65 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003427/0.07685, allocations: 4.169 MB / 401.3 MB, free: 10.48 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007568/0.08442, allocations: 4.707 MB / 406 MB, free: 5.727 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2097/0.2941, allocations: 44.56 MB / 450.6 MB, free: 82.59 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005407/0.2995, allocations: 3.276 MB / 453.8 MB, free: 82.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006898/0.3002, allocations: 0.5592 MB / 454.4 MB, free: 82.29 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007821/0.308, allocations: 6.442 MB / 460.8 MB, free: 81.59 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.308, allocations: 56.59 kB / 460.9 MB, free: 81.55 MB / 410.7 MB Notification: Performance of pre-optimization done (n=321): time 4.368e-06/0.308, allocations: 0 / 460.9 MB, free: 81.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=321): time 0.006402/0.3144, allocations: 3.45 MB / 464.4 MB, free: 81.4 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/0.3145, allocations: 103.6 kB / 464.5 MB, free: 81.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002336/0.3168, allocations: 3.815 MB / 468.3 MB, free: 80.52 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001061/0.3169, allocations: 64.31 kB / 468.3 MB, free: 80.49 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001447/0.3184, allocations: 5.103 MB / 473.4 MB, free: 76.78 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004475/0.3188, allocations: 1.23 MB / 474.7 MB, free: 75.68 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001154/0.32, allocations: 1.75 MB / 476.4 MB, free: 74.45 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.014e-05/0.32, allocations: 304.4 kB / 476.7 MB, free: 74.15 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001012/0.321, allocations: 1.027 MB / 477.7 MB, free: 73.26 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002083/0.3231, allocations: 6.195 MB / 483.9 MB, free: 64.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004985/0.3281, allocations: 8.284 MB / 492.2 MB, free: 54.42 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.067e-05/0.3282, allocations: 56 kB / 492.3 MB, free: 54.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.005734/0.3339, allocations: 6.011 MB / 498.3 MB, free: 48.63 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.183e-05/0.3339, allocations: 95.97 kB / 498.4 MB, free: 48.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000102/0.3341, allocations: 188 kB / 498.6 MB, free: 48.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000112/0.3342, allocations: 259.9 kB / 498.8 MB, free: 48.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002895/0.3371, allocations: 1.996 MB / 0.4891 GB, free: 46.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001506/0.3372, allocations: 379.1 kB / 0.4894 GB, free: 45.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002822/0.34, allocations: 1.201 MB / 0.4906 GB, free: 44.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000355/0.3404, allocations: 492 kB / 0.4911 GB, free: 44.05 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 868 * Number of states: 0 () * Number of discrete variables: 33 (frameT4.color_x[3],frameT4.color_x[2],frameT4.color_x[1],fixedRotation2.color[3],fixedRotation2.color[2],fixedRotation2.color[1],frameT3.color_x[3],frameT3.color_x[2],frameT3.color_x[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],frameT2.color_x[3],frameT2.color_x[2],frameT2.color_x[1],frameT1.color_x[3],frameT1.color_x[2],frameT1.color_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1140): * Single equations (assignments): 1122 * Array equations: 18 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001729/0.3421, allocations: 0.824 MB / 0.4919 GB, free: 43.21 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003021/0.3424, allocations: 291.7 kB / 0.4922 GB, free: 42.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003568/0.3428, allocations: 0.5133 MB / 0.4927 GB, free: 42.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.611e-05/0.3428, allocations: 59.86 kB / 0.4927 GB, free: 42.35 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.631e-05/0.3428, allocations: 0 / 0.4927 GB, free: 42.35 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/0.3428, allocations: 15.95 kB / 0.4927 GB, free: 42.34 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005764/0.3486, allocations: 5.534 MB / 0.4981 GB, free: 36.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.798e-06/0.3486, allocations: 12 kB / 0.4981 GB, free: 36.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007212/0.3493, allocations: 343.5 kB / 0.4985 GB, free: 36.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.19e-05/0.3494, allocations: 24 kB / 0.4985 GB, free: 36.18 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.749e-05/0.3494, allocations: 59.97 kB / 0.4986 GB, free: 36.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.099e-05/0.3495, allocations: 31.88 kB / 0.4986 GB, free: 36.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.955e-06/0.3495, allocations: 23.88 kB / 0.4986 GB, free: 36.06 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001244/0.3507, allocations: 1.843 MB / 0.5004 GB, free: 33.99 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003208/0.351, allocations: 464.1 kB / 0.5009 GB, free: 33.54 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002489/0.3513, allocations: 51.98 kB / 0.5009 GB, free: 33.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005661/0.3518, allocations: 52 kB / 0.501 GB, free: 33.43 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001543/0.352, allocations: 184.7 kB / 0.5011 GB, free: 33.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.749e-05/0.3521, allocations: 79.98 kB / 0.5012 GB, free: 33.17 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009005/0.353, allocations: 1.488 MB / 0.5027 GB, free: 31.68 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.353, allocations: 0 / 0.5027 GB, free: 31.68 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003879/0.3569, allocations: 2.042 MB / 0.5047 GB, free: 29.64 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 61 * Number of states: 0 () * 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 (225): * Single equations (assignments): 213 * Array equations: 12 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003026/0.3572, allocations: 181 kB / 0.5048 GB, free: 29.46 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002955/0.3601, allocations: 3.556 MB / 0.5083 GB, free: 25.93 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001553/0.3603, allocations: 116.2 kB / 0.5084 GB, free: 25.81 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000611/0.3609, allocations: 0.6853 MB / 0.5091 GB, free: 25.12 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001171/0.3621, allocations: 432 kB / 0.5095 GB, free: 24.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01215/0.3742, allocations: 13.31 MB / 0.5225 GB, free: 11.09 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001404/0.3756, allocations: 2.14 MB / 0.5246 GB, free: 8.922 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001771/0.3774, allocations: 0.7721 MB / 0.5253 GB, free: 8.148 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008556/0.3782, allocations: 0.6985 MB / 0.526 GB, free: 7.449 MB / 410.7 MB Notification: Performance of SimCode: time 2.114e-06/0.3782, allocations: 0 / 0.526 GB, free: 7.449 MB / 410.7 MB Notification: Performance of Templates: time 0.05559/0.4338, allocations: 32.86 MB / 0.5581 GB, free: 7.023 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/FixedRotation/FixedRotation.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.259995494969189]