Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001048/0.001048, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.001187/0.001187, allocations: 166.2 kB / 24.84 MB, free: 9.297 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8717/0.8717, allocations: 158.6 MB / 186.7 MB, free: 2.766 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1892/0.1892, allocations: 32.37 MB / 271.5 MB, free: 14.52 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 348.9 MB, free: 9.129 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.885e-05/3.047e-05, allocations: 4.281 kB / 348.9 MB, free: 9.125 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01253/0.01256, allocations: 15.88 MB / 364.8 MB, free: 9.18 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007788/0.02035, allocations: 3.789 MB / 368.6 MB, free: 5.375 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002404/0.02275, allocations: 115.6 kB / 368.7 MB, free: 5.262 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003684/0.02644, allocations: 2.3 MB / 371 MB, free: 2.953 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005027/0.03146, allocations: 2.683 MB / 373.7 MB, free: 264 kB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006321/0.0321, allocations: 339.3 kB / 374 MB, free: 15.93 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.007637/0.03973, allocations: 6.487 MB / 380.5 MB, free: 9.426 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00568/0.04541, allocations: 3.212 MB / 383.7 MB, free: 6.168 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007108/0.05252, allocations: 3.149 MB / 386.9 MB, free: 3.012 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004591/0.05711, allocations: 2.953 MB / 389.8 MB, free: 52 kB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001381/0.05849, allocations: 392 kB / 390.2 MB, free: 15.66 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001686/0.06018, allocations: 0.8309 MB / 391.1 MB, free: 14.84 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002635/0.06281, allocations: 2.976 MB / 394 MB, free: 11.85 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003097/0.06591, allocations: 1.693 MB / 395.7 MB, free: 10.15 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007945/0.07386, allocations: 6.678 MB / 402.4 MB, free: 3.445 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.07386, allocations: 4 kB / 402.4 MB, free: 3.441 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.205e-06/0.07387, allocations: 4 kB / 402.4 MB, free: 3.438 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0004524/0.07432, allocations: 0 / 402.4 MB, free: 3.438 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: 2817 * Number of variables: 2817 Notification: Performance of Generate backend data structure: time 0.01311/0.08743, allocations: 7.719 MB / 410.1 MB, free: 11.63 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.08748, allocations: 8.031 kB / 410.1 MB, free: 11.62 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01056/0.09804, allocations: 3.277 MB / 413.4 MB, free: 8.34 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006501/0.1045, allocations: 2.829 MB / 416.2 MB, free: 5.445 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002349/0.1048, allocations: 332.2 kB / 416.6 MB, free: 5.117 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001154/0.1059, allocations: 416 kB / 417 MB, free: 4.711 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01584/0.1218, allocations: 8.572 MB / 425.5 MB, free: 11.13 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001269/0.1219, allocations: 35.69 kB / 425.6 MB, free: 11.1 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006906/0.1226, allocations: 199.7 kB / 425.8 MB, free: 10.9 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004196/0.1268, allocations: 4.169 MB / 429.9 MB, free: 6.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01437/0.1412, allocations: 4.588 MB / 434.5 MB, free: 2.102 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2392/0.3803, allocations: 58.81 MB / 493.3 MB, free: 50.61 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008458/0.3888, allocations: 3.261 MB / 496.6 MB, free: 50.38 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001323/0.3901, allocations: 0.6495 MB / 497.2 MB, free: 50.33 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01191/0.402, allocations: 6.904 MB / 0.4923 GB, free: 48.84 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.462e-05/0.4021, allocations: 58.08 kB / 0.4924 GB, free: 48.78 MB / 378.7 MB Notification: Performance of pre-optimization done (n=321): time 9.578e-06/0.4021, allocations: 0 / 0.4924 GB, free: 48.78 MB / 378.7 MB Notification: Performance of matching and sorting (n=321): time 0.01059/0.4127, allocations: 3.967 MB / 0.4963 GB, free: 48.13 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.232e-05/0.4127, allocations: 102.7 kB / 0.4964 GB, free: 48.03 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005479/0.4182, allocations: 4.841 MB / 0.5011 GB, free: 44.39 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002571/0.4185, allocations: 61.7 kB / 0.5011 GB, free: 44.32 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002418/0.4209, allocations: 5.564 MB / 0.5066 GB, free: 39.29 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009414/0.4218, allocations: 1.314 MB / 0.5079 GB, free: 37.97 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002038/0.4239, allocations: 2.108 MB / 0.5099 GB, free: 35.85 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.172e-05/0.4239, allocations: 476.8 kB / 0.5104 GB, free: 35.38 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001261/0.4252, allocations: 0.7754 MB / 0.5111 GB, free: 34.6 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003761/0.4289, allocations: 8.891 MB / 0.5198 GB, free: 22.13 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006489/0.4354, allocations: 10.85 MB / 0.5304 GB, free: 7.805 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001866/0.4356, allocations: 52 kB / 0.5305 GB, free: 7.754 MB / 378.7 MB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.009671/0.4453, allocations: 7.173 MB / 0.5375 GB, free: 0.5859 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.857e-05/0.4454, allocations: 88 kB / 0.5376 GB, free: 0.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001613/0.4455, allocations: 188 kB / 0.5377 GB, free: 324 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001577/0.4457, allocations: 260.7 kB / 0.538 GB, free: 64 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004453/0.4501, allocations: 1.999 MB / 0.5399 GB, free: 14.06 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000261/0.4504, allocations: 374.6 kB / 0.5403 GB, free: 13.7 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006108/0.4565, allocations: 1.195 MB / 0.5415 GB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001096/0.4576, allocations: 496 kB / 0.5419 GB, free: 12.02 MB / 394.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.0034/0.461, allocations: 0.8785 MB / 0.5428 GB, free: 11.12 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000732/0.4617, allocations: 0.5126 MB / 0.5433 GB, free: 10.61 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007065/0.4624, allocations: 0.5144 MB / 0.5438 GB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.242e-05/0.4625, allocations: 55.94 kB / 0.5438 GB, free: 10.03 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.792e-05/0.4625, allocations: 0 / 0.5438 GB, free: 10.03 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.423e-05/0.4625, allocations: 11.95 kB / 0.5439 GB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01358/0.4761, allocations: 6.357 MB / 0.5501 GB, free: 3.324 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-05/0.4761, allocations: 15.98 kB / 0.5501 GB, free: 3.309 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001022/0.4772, allocations: 354.5 kB / 0.5504 GB, free: 2.965 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.316e-05/0.4772, allocations: 20 kB / 0.5504 GB, free: 2.945 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000113/0.4773, allocations: 63.97 kB / 0.5505 GB, free: 2.883 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.881e-05/0.4773, allocations: 35.86 kB / 0.5505 GB, free: 2.848 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.351e-05/0.4773, allocations: 23.88 kB / 0.5506 GB, free: 2.824 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003362/0.4807, allocations: 2.52 MB / 0.553 GB, free: 15.99 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001141/0.4818, allocations: 452.1 kB / 0.5534 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004109/0.4823, allocations: 67.91 kB / 0.5535 GB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007339/0.483, allocations: 44 kB / 0.5536 GB, free: 15.44 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002177/0.4832, allocations: 180.7 kB / 0.5537 GB, free: 15.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001352/0.4833, allocations: 91.95 kB / 0.5538 GB, free: 15.17 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002268/0.4856, allocations: 1.824 MB / 0.5556 GB, free: 13.35 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.4856, allocations: 0 / 0.5556 GB, free: 13.35 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.007676/0.4933, allocations: 2.075 MB / 0.5576 GB, free: 11.28 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.0006477/0.4939, allocations: 190.7 kB / 0.5578 GB, free: 11.08 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007222/0.5012, allocations: 3.947 MB / 0.5617 GB, free: 7.16 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.249e-05/0.5012, allocations: 448 / 0.5617 GB, free: 7.16 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001312/0.5025, allocations: 0.8103 MB / 0.5624 GB, free: 6.344 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002358/0.5048, allocations: 447 kB / 0.5629 GB, free: 5.91 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02117/0.526, allocations: 13.02 MB / 0.5756 GB, free: 8.523 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003835/0.5298, allocations: 2.164 MB / 0.5777 GB, free: 6.328 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002793/0.5326, allocations: 0.7691 MB / 0.5784 GB, free: 5.555 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00108/0.5337, allocations: 0.744 MB / 0.5792 GB, free: 4.812 MB / 426.7 MB Notification: Performance of SimCode: time 4.288e-06/0.5337, allocations: 0 / 0.5792 GB, free: 4.812 MB / 426.7 MB Notification: Performance of Templates: time 0.06613/0.5998, allocations: 33.67 MB / 0.6121 GB, free: 3.262 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.904027299024165]