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.001036/0.001036, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001037/0.001037, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.9427/0.9427, allocations: 177.1 MB / 205 MB, free: 5.578 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.255/0.255, allocations: 32.81 MB / 294.3 MB, free: 1.27 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.212e-06/1.212e-06, allocations: 0 / 376 MB, free: 4.684 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.89e-05/2.011e-05, allocations: 2.312 kB / 376 MB, free: 4.68 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01128/0.0113, allocations: 16.23 MB / 392.2 MB, free: 4.379 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006298/0.0176, allocations: 3.886 MB / 396.1 MB, free: 492 kB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001179/0.01878, allocations: 107.6 kB / 396.2 MB, free: 384 kB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002631/0.02141, allocations: 2.331 MB / 398.6 MB, free: 14.04 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003379/0.02479, allocations: 2.668 MB / 401.2 MB, free: 11.36 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004867/0.02527, allocations: 347.1 kB / 401.6 MB, free: 11.02 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005275/0.03055, allocations: 6.651 MB / 408.2 MB, free: 4.352 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002616/0.03316, allocations: 3.196 MB / 411.4 MB, free: 1.105 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002318/0.03548, allocations: 3.11 MB / 414.5 MB, free: 13.99 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002162/0.03764, allocations: 2.93 MB / 417.4 MB, free: 11.05 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004027/0.03805, allocations: 392 kB / 417.8 MB, free: 10.67 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001281/0.03933, allocations: 0.8427 MB / 418.7 MB, free: 9.824 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001481/0.04081, allocations: 2.909 MB / 421.6 MB, free: 6.906 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001155/0.04196, allocations: 1.654 MB / 423.2 MB, free: 5.246 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0049/0.04686, allocations: 6.566 MB / 429.8 MB, free: 14.65 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.04687, allocations: 4 kB / 429.8 MB, free: 14.65 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.04687, allocations: 0 / 429.8 MB, free: 14.65 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.747e-05/0.04695, allocations: 0 / 429.8 MB, free: 14.65 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: 2817 * Number of variables: 2817 Notification: Performance of Generate backend data structure: time 0.00656/0.05351, allocations: 7.76 MB / 437.6 MB, free: 6.805 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.05354, allocations: 8.031 kB / 437.6 MB, free: 6.797 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1851/0.2386, allocations: 6.834 MB / 444.4 MB, free: 74.93 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005394/0.244, allocations: 3.061 MB / 447.5 MB, free: 74.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001894/0.2442, allocations: 324.5 kB / 447.8 MB, free: 74.68 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001277/0.2455, allocations: 419 kB / 448.2 MB, free: 74.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01858/0.264, allocations: 9.387 MB / 457.6 MB, free: 71.71 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001596/0.2642, allocations: 39.53 kB / 457.6 MB, free: 71.71 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008288/0.265, allocations: 204.1 kB / 457.8 MB, free: 71.71 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00552/0.2705, allocations: 4.747 MB / 462.6 MB, free: 71.69 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01816/0.2887, allocations: 5.673 MB / 468.2 MB, free: 71.41 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05918/0.3479, allocations: 60.18 MB / 0.516 GB, free: 27.98 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006269/0.3542, allocations: 3.49 MB / 0.5194 GB, free: 26.18 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001116/0.3553, allocations: 0.7603 MB / 0.5202 GB, free: 25.51 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0089/0.3642, allocations: 7.313 MB / 0.5273 GB, free: 19.32 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.505e-05/0.3642, allocations: 59.39 kB / 0.5274 GB, free: 19.25 MB / 410.7 MB Notification: Performance of pre-optimization done (n=321): time 1.299e-05/0.3642, allocations: 0 / 0.5274 GB, free: 19.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=321): time 0.00753/0.3718, allocations: 4.206 MB / 0.5315 GB, free: 15.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.149e-05/0.3718, allocations: 104.4 kB / 0.5316 GB, free: 15.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003717/0.3755, allocations: 4.928 MB / 0.5364 GB, free: 11.42 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001006/0.3756, allocations: 64.75 kB / 0.5365 GB, free: 11.36 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001732/0.3773, allocations: 5.551 MB / 0.5419 GB, free: 6.285 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005696/0.3779, allocations: 1.302 MB / 0.5432 GB, free: 5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001421/0.3793, allocations: 2.101 MB / 0.5452 GB, free: 2.891 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.653e-05/0.3794, allocations: 480.7 kB / 0.5457 GB, free: 2.418 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001369/0.3807, allocations: 0.9981 MB / 0.5466 GB, free: 1.414 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004948/0.3857, allocations: 9.066 MB / 0.5555 GB, free: 4.773 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00983/0.3955, allocations: 11.12 MB / 0.5664 GB, free: 6.051 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001136/0.3956, allocations: 56 kB / 0.5664 GB, free: 5.996 MB / 442.7 MB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.009708/0.4053, allocations: 7.748 MB / 0.574 GB, free: 14.27 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.726e-05/0.4054, allocations: 90.5 kB / 0.5741 GB, free: 14.18 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001448/0.4055, allocations: 188 kB / 0.5742 GB, free: 14 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001661/0.4057, allocations: 256.8 kB / 0.5745 GB, free: 13.75 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003386/0.4091, allocations: 2.074 MB / 0.5765 GB, free: 11.67 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001903/0.4093, allocations: 380.5 kB / 0.5769 GB, free: 11.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003444/0.4127, allocations: 1.286 MB / 0.5781 GB, free: 10.01 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005099/0.4132, allocations: 0.554 MB / 0.5787 GB, free: 9.461 MB / 458.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.001936/0.4152, allocations: 0.8693 MB / 0.5795 GB, free: 8.578 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004816/0.4157, allocations: 0.5179 MB / 0.58 GB, free: 8.059 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004646/0.4161, allocations: 0.5105 MB / 0.5805 GB, free: 7.543 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.151e-05/0.4162, allocations: 58.64 kB / 0.5806 GB, free: 7.488 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.856e-05/0.4162, allocations: 1.5 kB / 0.5806 GB, free: 7.488 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.243e-05/0.4162, allocations: 15.95 kB / 0.5806 GB, free: 7.473 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01076/0.427, allocations: 8.631 MB / 0.589 GB, free: 14.55 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.146e-05/0.427, allocations: 16 kB / 0.589 GB, free: 14.54 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009206/0.4279, allocations: 427.5 kB / 0.5894 GB, free: 14.12 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.701e-05/0.4279, allocations: 20 kB / 0.5895 GB, free: 14.1 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001001/0.428, allocations: 59.98 kB / 0.5895 GB, free: 14.04 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.604e-05/0.428, allocations: 29.08 kB / 0.5896 GB, free: 14.02 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.018e-05/0.428, allocations: 19.94 kB / 0.5896 GB, free: 14 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002501/0.4305, allocations: 2.666 MB / 0.5922 GB, free: 11.03 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004018/0.4309, allocations: 460.2 kB / 0.5926 GB, free: 10.58 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000253/0.4312, allocations: 60.55 kB / 0.5927 GB, free: 10.52 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006948/0.4319, allocations: 127 kB / 0.5928 GB, free: 10.4 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002398/0.4321, allocations: 188.7 kB / 0.593 GB, free: 10.21 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001262/0.4323, allocations: 99.89 kB / 0.5931 GB, free: 10.12 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002047/0.4343, allocations: 1.977 MB / 0.595 GB, free: 8.148 MB / 474.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4343, allocations: 0 / 0.595 GB, free: 8.148 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00455/0.4389, allocations: 2.028 MB / 0.597 GB, free: 6.125 MB / 474.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.0003707/0.4392, allocations: 204.3 kB / 0.5972 GB, free: 5.918 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005482/0.4447, allocations: 4.232 MB / 0.6013 GB, free: 1.727 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/0.4447, allocations: 4.5 kB / 0.6013 GB, free: 1.723 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001031/0.4457, allocations: 0.8783 MB / 0.6022 GB, free: 0.8477 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001358/0.4471, allocations: 443.6 kB / 0.6026 GB, free: 436 kB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1579/0.605, allocations: 13.04 MB / 0.6153 GB, free: 118.5 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001605/0.6066, allocations: 2.166 MB / 0.6174 GB, free: 118.3 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.00406/0.6106, allocations: 2.907 MB / 0.6203 GB, free: 118.1 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006152/0.6112, allocations: 348.6 kB / 0.6206 GB, free: 118.1 MB / 474.7 MB Notification: Performance of SimCode: time 2.024e-06/0.6112, allocations: 0 / 0.6206 GB, free: 118.1 MB / 474.7 MB Notification: Performance of Templates: time 0.05161/0.6629, allocations: 29.06 MB / 0.649 GB, free: 113 MB / 474.7 MB " [Timeout remaining time 659] 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.74309730483219]