Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001002/0.001002, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.001204/0.001204, allocations: 167.6 kB / 25.61 MB, free: 8.902 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.9878/0.9878, allocations: 177.1 MB / 206 MB, free: 4.5 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.1384/0.1384, allocations: 34.26 MB / 296.9 MB, free: 13.94 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.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.1.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.1.0_ModelicaTest.MultiBody.Parts.FixedRotation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 379.3 MB, free: 23.45 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.853e-05/3.033e-05, allocations: 6.25 kB / 379.3 MB, free: 23.44 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01919/0.01922, allocations: 15.74 MB / 395 MB, free: 7.617 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005983/0.02521, allocations: 3.864 MB / 398.9 MB, free: 3.742 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001988/0.02719, allocations: 119.6 kB / 399 MB, free: 3.625 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002302/0.0295, allocations: 2.296 MB / 401.3 MB, free: 1.32 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004203/0.0337, allocations: 2.676 MB / 404 MB, free: 14.63 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007822/0.03448, allocations: 343.3 kB / 404.3 MB, free: 14.3 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.007594/0.04207, allocations: 6.662 MB / 411 MB, free: 7.617 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005475/0.04755, allocations: 3.204 MB / 414.2 MB, free: 4.359 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005904/0.05345, allocations: 3.125 MB / 417.3 MB, free: 1.227 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004275/0.05773, allocations: 2.953 MB / 420.3 MB, free: 14.26 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001221/0.05895, allocations: 392 kB / 420.6 MB, free: 13.88 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001777/0.06073, allocations: 0.8272 MB / 421.5 MB, free: 13.05 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002423/0.06315, allocations: 2.913 MB / 424.4 MB, free: 10.13 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002734/0.06588, allocations: 1.65 MB / 426 MB, free: 8.473 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00803/0.07391, allocations: 6.581 MB / 432.6 MB, free: 1.863 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.07392, allocations: 0 / 432.6 MB, free: 1.863 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.07392, allocations: 0 / 432.6 MB, free: 1.863 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003771/0.0743, allocations: 0 / 432.6 MB, free: 1.863 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.01058/0.08488, allocations: 7.649 MB / 440.3 MB, free: 10.14 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.08492, allocations: 12.03 kB / 440.3 MB, free: 10.12 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008403/0.09332, allocations: 3.273 MB / 443.5 MB, free: 6.844 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004321/0.09764, allocations: 2.828 MB / 446.4 MB, free: 3.953 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001778/0.09782, allocations: 328.2 kB / 446.7 MB, free: 3.629 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006892/0.09851, allocations: 416 kB / 447.1 MB, free: 3.223 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0122/0.1107, allocations: 8.564 MB / 455.7 MB, free: 9.66 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.548e-05/0.1108, allocations: 39.62 kB / 455.7 MB, free: 9.621 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004875/0.1113, allocations: 203.7 kB / 455.9 MB, free: 9.422 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00411/0.1154, allocations: 4.165 MB / 460.1 MB, free: 5.254 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0117/0.1271, allocations: 4.596 MB / 464.7 MB, free: 0.6094 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2296/0.3566, allocations: 58.78 MB / 0.5112 GB, free: 66.39 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01004/0.3667, allocations: 3.262 MB / 0.5144 GB, free: 66.17 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001674/0.3683, allocations: 0.6471 MB / 0.515 GB, free: 66.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0152/0.3835, allocations: 6.899 MB / 0.5217 GB, free: 64.99 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.158e-05/0.3836, allocations: 62.55 kB / 0.5218 GB, free: 64.95 MB / 410.7 MB Notification: Performance of pre-optimization done (n=321): time 9.238e-06/0.3836, allocations: 0 / 0.5218 GB, free: 64.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=321): time 0.01297/0.3966, allocations: 3.957 MB / 0.5257 GB, free: 64.56 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.566e-05/0.3967, allocations: 101.1 kB / 0.5258 GB, free: 64.46 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008321/0.405, allocations: 4.853 MB / 0.5305 GB, free: 61.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006118/0.4056, allocations: 66.25 kB / 0.5306 GB, free: 61.64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003495/0.4091, allocations: 5.554 MB / 0.536 GB, free: 56.84 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001235/0.4103, allocations: 1.307 MB / 0.5373 GB, free: 55.52 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001569/0.4119, allocations: 2.104 MB / 0.5393 GB, free: 53.4 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.212e-05/0.4119, allocations: 489.4 kB / 0.5398 GB, free: 52.92 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007927/0.4127, allocations: 0.7715 MB / 0.5405 GB, free: 52.14 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002561/0.4153, allocations: 8.903 MB / 0.5492 GB, free: 39.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004928/0.4202, allocations: 10.85 MB / 0.5598 GB, free: 25.56 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.217e-05/0.4203, allocations: 52 kB / 0.5599 GB, free: 25.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.006331/0.4266, allocations: 7.172 MB / 0.5669 GB, free: 18.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.429e-05/0.4267, allocations: 92 kB / 0.567 GB, free: 18.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.64e-05/0.4267, allocations: 188 kB / 0.5671 GB, free: 18.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001118/0.4269, allocations: 252 kB / 0.5674 GB, free: 17.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002994/0.4298, allocations: 2 MB / 0.5693 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001402/0.43, allocations: 374.6 kB / 0.5697 GB, free: 15.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002991/0.433, allocations: 1.201 MB / 0.5709 GB, free: 14.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00035/0.4333, allocations: 496 kB / 0.5713 GB, free: 13.76 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.00177/0.4351, allocations: 0.8785 MB / 0.5722 GB, free: 12.87 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003293/0.4354, allocations: 0.5087 MB / 0.5727 GB, free: 12.36 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004025/0.4358, allocations: 0.5144 MB / 0.5732 GB, free: 11.84 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.831e-05/0.4359, allocations: 59.98 kB / 0.5732 GB, free: 11.78 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.101e-05/0.4359, allocations: 0 / 0.5732 GB, free: 11.78 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.215e-05/0.4359, allocations: 19.25 kB / 0.5733 GB, free: 11.76 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006389/0.4423, allocations: 6.364 MB / 0.5795 GB, free: 5.062 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.676e-06/0.4423, allocations: 12 kB / 0.5795 GB, free: 5.051 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007715/0.4431, allocations: 347.5 kB / 0.5798 GB, free: 4.711 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.239e-05/0.4431, allocations: 24 kB / 0.5798 GB, free: 4.688 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.954e-05/0.4432, allocations: 59.98 kB / 0.5799 GB, free: 4.629 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.214e-05/0.4432, allocations: 35.86 kB / 0.5799 GB, free: 4.594 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.064e-06/0.4432, allocations: 22.2 kB / 0.58 GB, free: 4.574 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001587/0.4448, allocations: 2.524 MB / 0.5824 GB, free: 1.746 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002682/0.445, allocations: 460.1 kB / 0.5829 GB, free: 1.293 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00025/0.4453, allocations: 59.98 kB / 0.5829 GB, free: 1.234 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006064/0.4459, allocations: 51.98 kB / 0.583 GB, free: 1.184 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003392/0.4462, allocations: 176.7 kB / 0.5831 GB, free: 1.012 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000183/0.4464, allocations: 91.92 kB / 0.5832 GB, free: 0.9219 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001501/0.4479, allocations: 1.804 MB / 0.585 GB, free: 15.12 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4479, allocations: 0 / 0.585 GB, free: 15.12 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004054/0.452, allocations: 2.036 MB / 0.587 GB, free: 13.09 MB / 426.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.0003278/0.4523, allocations: 202.6 kB / 0.5872 GB, free: 12.88 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004017/0.4563, allocations: 3.943 MB / 0.591 GB, free: 8.969 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.4563, allocations: 4 kB / 0.591 GB, free: 8.965 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008512/0.4572, allocations: 0.8097 MB / 0.5918 GB, free: 8.152 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001261/0.4584, allocations: 450.6 kB / 0.5922 GB, free: 7.719 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01413/0.4726, allocations: 13.01 MB / 0.605 GB, free: 10.34 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001742/0.4743, allocations: 2.168 MB / 0.6071 GB, free: 8.141 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001765/0.4761, allocations: 0.7711 MB / 0.6078 GB, free: 7.367 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009695/0.477, allocations: 0.7364 MB / 0.6085 GB, free: 6.629 MB / 442.7 MB Notification: Performance of SimCode: time 9.02e-07/0.477, allocations: 0 / 0.6085 GB, free: 6.629 MB / 442.7 MB Notification: Performance of Templates: time 0.05926/0.5363, allocations: 33.7 MB / 0.6414 GB, free: 5.488 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedRotation.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedRotation.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedRotation -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.8013589177280664]