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.001623/0.001623, allocations: 105.1 kB / 21.21 MB, free: 0.6523 MB / 14.72 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.002006/0.002006, allocations: 211.9 kB / 24.51 MB, free: 3.941 MB / 14.72 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.475/1.475, allocations: 230.6 MB / 258.3 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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.2847/0.2847, allocations: 46.97 MB / 361.7 MB, free: 4.027 MB / 286.1 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: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 67.89 kB / 0.4969 GB, free: 7.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2778/0.2798, allocations: 66.03 MB / 0.5613 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01798/0.2978, allocations: 14.52 MB / 0.5755 GB, free: 5.637 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008558/0.3064, allocations: 3.789 MB / 0.5792 GB, free: 1.836 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002184/0.3085, allocations: 111.6 kB / 0.5793 GB, free: 1.727 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00469/0.3132, allocations: 2.164 MB / 0.5814 GB, free: 15.55 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006544/0.3198, allocations: 2.607 MB / 0.584 GB, free: 12.94 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001124/0.3209, allocations: 307.5 kB / 0.5843 GB, free: 12.64 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009501/0.3304, allocations: 6.546 MB / 0.5907 GB, free: 6.082 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005251/0.3357, allocations: 3.078 MB / 0.5937 GB, free: 2.949 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003996/0.3397, allocations: 2.149 MB / 0.5958 GB, free: 0.793 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004788/0.3444, allocations: 3.106 MB / 0.5988 GB, free: 13.68 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001326/0.3458, allocations: 392 kB / 0.5992 GB, free: 13.29 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002133/0.3479, allocations: 0.7256 MB / 0.5999 GB, free: 12.57 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003324/0.3512, allocations: 2.819 MB / 0.6027 GB, free: 9.738 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004296/0.3555, allocations: 2.3 MB / 0.6049 GB, free: 7.422 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01329/0.3688, allocations: 10.72 MB / 0.6154 GB, free: 12.65 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.3688, allocations: 0 / 0.6154 GB, free: 12.65 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3688, allocations: 4 kB / 0.6154 GB, free: 12.64 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003088/0.3691, allocations: 0 / 0.6154 GB, free: 12.64 MB / 462.1 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.01372/0.3828, allocations: 7.101 MB / 0.6223 GB, free: 5.469 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/0.3829, allocations: 8.031 kB / 0.6223 GB, free: 5.461 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002658/0.3832, allocations: 164.4 kB / 0.6225 GB, free: 5.297 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002792/0.386, allocations: 1.28 MB / 0.6237 GB, free: 4.008 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02028/0.4062, allocations: 5.899 MB / 0.6295 GB, free: 14.09 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00741/0.4136, allocations: 3.26 MB / 0.6327 GB, free: 10.78 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003028/0.4139, allocations: 327.8 kB / 0.633 GB, free: 10.45 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001451/0.4154, allocations: 419.7 kB / 0.6334 GB, free: 10.04 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03273/0.4481, allocations: 18.89 MB / 0.6518 GB, free: 6.406 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001067/0.4482, allocations: 35.69 kB / 0.6519 GB, free: 6.371 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001123/0.4493, allocations: 203.7 kB / 0.6521 GB, free: 6.172 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008046/0.4574, allocations: 4.749 MB / 0.6567 GB, free: 1.418 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03463/0.492, allocations: 17.53 MB / 0.6738 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09043/0.5825, allocations: 58.28 MB / 0.7307 GB, free: 4 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2381/0.8205, allocations: 6.332 MB / 0.7369 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003429/0.824, allocations: 2.393 MB / 0.7392 GB, free: 151.7 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01784/0.8418, allocations: 9.421 MB / 0.7484 GB, free: 149 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.765e-05/0.8418, allocations: 63.56 kB / 0.7485 GB, free: 148.9 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=321): time 9.879e-06/0.8419, allocations: 1.219 kB / 0.7485 GB, free: 148.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=321): time 0.01729/0.8591, allocations: 7.543 MB / 0.7559 GB, free: 145.2 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.209e-05/0.8592, allocations: 103.1 kB / 0.756 GB, free: 145.1 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008252/0.8675, allocations: 5.675 MB / 0.7615 GB, free: 140.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005514/0.868, allocations: 61.7 kB / 0.7616 GB, free: 140.4 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002905/0.8709, allocations: 5.293 MB / 0.7667 GB, free: 136.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.00134/0.8723, allocations: 1.251 MB / 0.768 GB, free: 134.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003205/0.8755, allocations: 1.916 MB / 0.7698 GB, free: 132.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.285e-05/0.8755, allocations: 301.1 kB / 0.7701 GB, free: 132.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004164/0.8797, allocations: 3.217 MB / 0.7733 GB, free: 129.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006934/0.8866, allocations: 8.643 MB / 0.7817 GB, free: 118.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01109/0.8977, allocations: 12.91 MB / 0.7943 GB, free: 102.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002496/0.8979, allocations: 56 kB / 0.7944 GB, free: 102.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.01845/0.9164, allocations: 11.68 MB / 0.8058 GB, free: 90.84 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001399/0.9165, allocations: 88 kB / 0.8058 GB, free: 90.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002835/0.9168, allocations: 188 kB / 0.806 GB, free: 90.57 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001986/0.917, allocations: 259.9 kB / 0.8063 GB, free: 90.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006142/0.9231, allocations: 2.074 MB / 0.8083 GB, free: 88.24 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002111/0.9234, allocations: 374.6 kB / 0.8087 GB, free: 87.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006243/0.9296, allocations: 1.357 MB / 0.81 GB, free: 86.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001154/0.9308, allocations: 0.558 MB / 0.8105 GB, free: 85.95 MB / 0.5606 GB 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.00554/0.9363, allocations: 3.701 MB / 0.8141 GB, free: 82.24 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008346/0.9371, allocations: 0.5004 MB / 0.8146 GB, free: 81.73 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001379/0.9385, allocations: 0.6526 MB / 0.8153 GB, free: 81.07 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.679e-05/0.9386, allocations: 52 kB / 0.8153 GB, free: 81.02 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.209e-05/0.9386, allocations: 4.125 kB / 0.8153 GB, free: 81.02 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.684e-05/0.9386, allocations: 15.95 kB / 0.8153 GB, free: 81 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01854/0.9572, allocations: 12.24 MB / 0.8273 GB, free: 68.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-05/0.9572, allocations: 16 kB / 0.8273 GB, free: 68.54 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001619/0.9588, allocations: 419.3 kB / 0.8277 GB, free: 68.12 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.97e-05/0.9588, allocations: 27.94 kB / 0.8277 GB, free: 68.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001846/0.959, allocations: 60.72 kB / 0.8278 GB, free: 68.04 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.895e-05/0.959, allocations: 35.86 kB / 0.8278 GB, free: 68 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.887e-06/0.959, allocations: 19.94 kB / 0.8278 GB, free: 67.98 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004708/0.9637, allocations: 4.659 MB / 0.8324 GB, free: 63.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008809/0.9646, allocations: 0.5153 MB / 0.8329 GB, free: 62.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008211/0.9654, allocations: 59.92 kB / 0.833 GB, free: 62.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001875/0.9673, allocations: 122.9 kB / 0.8331 GB, free: 62.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003823/0.9677, allocations: 184.7 kB / 0.8332 GB, free: 62.22 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001829/0.9679, allocations: 107.2 kB / 0.8334 GB, free: 62.12 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004613/0.9725, allocations: 3.486 MB / 0.8368 GB, free: 58.66 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.9725, allocations: 0 / 0.8368 GB, free: 58.66 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006997/0.9795, allocations: 1.97 MB / 0.8387 GB, free: 56.68 MB / 0.5606 GB 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.005279/0.9848, allocations: 5.339 MB / 0.8439 GB, free: 51.11 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009162/0.9939, allocations: 7.006 MB / 0.8507 GB, free: 44.13 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-05/0.994, allocations: 9.938 kB / 0.8507 GB, free: 44.12 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002279/0.9962, allocations: 1.868 MB / 0.8526 GB, free: 42.26 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003572/0.9998, allocations: 0.621 MB / 0.8532 GB, free: 41.65 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09359/1.093, allocations: 68.34 MB / 0.9199 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009468/1.103, allocations: 4.94 MB / 0.9247 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.008682/1.112, allocations: 3.543 MB / 0.9282 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00603/1.118, allocations: 3.323 MB / 0.9314 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of SimCode: time 8.92e-07/1.118, allocations: 0 / 0.9314 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3955/1.513, allocations: 90.1 MB / 1.019 GB, free: 203 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.84/27.36, allocations: 8 kB / 1.019 GB, free: 203 MB / 0.6544 GB " [Timeout remaining time 632] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Parts_FixedRotation_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Parts_FixedRotation.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/FixedRotation/FixedRotation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedRotation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 31.69618328299839]