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.00132/0.00132, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.00166/0.00166, allocations: 211 kB / 23.73 MB, free: 4.387 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 / 257.5 MB, free: 7.789 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.2254/0.2254, allocations: 46.97 MB / 360.9 MB, free: 4.055 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002094/0.002094, allocations: 71.89 kB / 0.4961 GB, free: 7.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3299/0.332, allocations: 66.03 MB / 0.5606 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01785/0.3499, allocations: 14.63 MB / 0.5749 GB, free: 5.566 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008761/0.3586, allocations: 3.801 MB / 0.5786 GB, free: 1.754 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002408/0.361, allocations: 115.6 kB / 0.5787 GB, free: 1.641 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004783/0.3658, allocations: 2.164 MB / 0.5808 GB, free: 15.47 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006933/0.3727, allocations: 2.615 MB / 0.5834 GB, free: 12.84 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001456/0.3742, allocations: 303.5 kB / 0.5836 GB, free: 12.55 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01024/0.3844, allocations: 6.541 MB / 0.59 GB, free: 6 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004771/0.3892, allocations: 3.082 MB / 0.593 GB, free: 2.863 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003927/0.3931, allocations: 2.16 MB / 0.5952 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004815/0.3979, allocations: 3.102 MB / 0.5982 GB, free: 13.58 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001111/0.3991, allocations: 392 kB / 0.5986 GB, free: 13.2 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001788/0.4008, allocations: 0.7179 MB / 0.5993 GB, free: 12.48 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003077/0.4039, allocations: 2.819 MB / 0.602 GB, free: 9.652 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003083/0.407, allocations: 2.303 MB / 0.6043 GB, free: 7.332 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01191/0.4189, allocations: 10.72 MB / 0.6147 GB, free: 12.56 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.4189, allocations: 3.938 kB / 0.6147 GB, free: 12.56 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4189, allocations: 0 / 0.6147 GB, free: 12.56 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002792/0.4192, allocations: 4 kB / 0.6147 GB, free: 12.55 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.01302/0.4322, allocations: 7.093 MB / 0.6217 GB, free: 5.387 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.4323, allocations: 16.03 kB / 0.6217 GB, free: 5.371 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002231/0.4345, allocations: 1.272 MB / 0.6229 GB, free: 4.09 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02022/0.4547, allocations: 5.903 MB / 0.6287 GB, free: 14.17 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009341/0.4641, allocations: 3.268 MB / 0.6319 GB, free: 10.85 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003321/0.4644, allocations: 324 kB / 0.6322 GB, free: 10.53 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001791/0.4662, allocations: 423.7 kB / 0.6326 GB, free: 10.11 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03353/0.4997, allocations: 18.88 MB / 0.651 GB, free: 6.48 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001099/0.4998, allocations: 31.69 kB / 0.6511 GB, free: 6.449 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008692/0.5007, allocations: 211.6 kB / 0.6513 GB, free: 6.242 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007831/0.5085, allocations: 4.738 MB / 0.6559 GB, free: 1.5 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03571/0.5442, allocations: 17.5 MB / 0.673 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09521/0.6394, allocations: 58.28 MB / 0.7299 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2582/0.8976, allocations: 6.339 MB / 0.7361 GB, free: 149.3 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003071/0.9007, allocations: 2.386 MB / 0.7384 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0181/0.9188, allocations: 9.423 MB / 0.7476 GB, free: 146.1 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.678e-05/0.9188, allocations: 59.69 kB / 0.7477 GB, free: 146 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=321): time 7.604e-06/0.9188, allocations: 0 / 0.7477 GB, free: 146 MB / 0.5606 GB Notification: Performance of matching and sorting (n=321): time 0.01483/0.9337, allocations: 7.549 MB / 0.755 GB, free: 143.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/0.9337, allocations: 99.11 kB / 0.7551 GB, free: 143.8 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006094/0.9398, allocations: 6.019 MB / 0.761 GB, free: 139 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002762/0.9401, allocations: 64.14 kB / 0.7611 GB, free: 138.9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002278/0.9424, allocations: 5.278 MB / 0.7662 GB, free: 134.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001059/0.9434, allocations: 1.26 MB / 0.7675 GB, free: 133.6 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001819/0.9452, allocations: 1.915 MB / 0.7693 GB, free: 131.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.192e-05/0.9453, allocations: 309 kB / 0.7696 GB, free: 131.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003411/0.9487, allocations: 3.203 MB / 0.7728 GB, free: 128.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005022/0.9537, allocations: 8.653 MB / 0.7812 GB, free: 117.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01028/0.964, allocations: 12.92 MB / 0.7938 GB, free: 102 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001995/0.9642, allocations: 56 kB / 0.7939 GB, free: 101.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.01572/0.9799, allocations: 11.67 MB / 0.8053 GB, free: 90.29 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001005/0.98, allocations: 88.62 kB / 0.8053 GB, free: 90.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001905/0.9802, allocations: 188 kB / 0.8055 GB, free: 90.02 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001701/0.9804, allocations: 263.4 kB / 0.8058 GB, free: 89.76 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006445/0.9868, allocations: 2.075 MB / 0.8078 GB, free: 87.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002302/0.9871, allocations: 378.6 kB / 0.8082 GB, free: 87.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006403/0.9935, allocations: 1.36 MB / 0.8095 GB, free: 85.95 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001258/0.9947, allocations: 0.5469 MB / 0.81 GB, free: 85.4 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.00547/1, allocations: 3.709 MB / 0.8137 GB, free: 81.68 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007587/1.001, allocations: 0.4966 MB / 0.8141 GB, free: 81.18 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001055/1.002, allocations: 0.6488 MB / 0.8148 GB, free: 80.52 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.956e-05/1.002, allocations: 55.98 kB / 0.8148 GB, free: 80.47 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.764e-05/1.002, allocations: 0 / 0.8148 GB, free: 80.47 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.604e-05/1.002, allocations: 11.95 kB / 0.8148 GB, free: 80.46 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01756/1.02, allocations: 12.25 MB / 0.8268 GB, free: 68 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.584e-05/1.02, allocations: 12 kB / 0.8268 GB, free: 67.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001732/1.021, allocations: 419.4 kB / 0.8272 GB, free: 67.57 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-05/1.021, allocations: 31.94 kB / 0.8272 GB, free: 67.54 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001511/1.022, allocations: 63.03 kB / 0.8273 GB, free: 67.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-05/1.022, allocations: 35.86 kB / 0.8273 GB, free: 67.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.518e-06/1.022, allocations: 19.94 kB / 0.8274 GB, free: 67.43 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004572/1.026, allocations: 4.659 MB / 0.8319 GB, free: 62.54 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001426/1.028, allocations: 0.5076 MB / 0.8324 GB, free: 62.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007002/1.028, allocations: 63.2 kB / 0.8325 GB, free: 61.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001559/1.03, allocations: 131.8 kB / 0.8326 GB, free: 61.84 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002759/1.03, allocations: 180.7 kB / 0.8328 GB, free: 61.66 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001589/1.03, allocations: 103.8 kB / 0.8329 GB, free: 61.57 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004664/1.035, allocations: 3.486 MB / 0.8363 GB, free: 58.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 5.21e-07/1.035, allocations: 4 kB / 0.8363 GB, free: 58.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007953/1.043, allocations: 1.966 MB / 0.8382 GB, free: 56.13 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.005198/1.048, allocations: 5.343 MB / 0.8434 GB, free: 50.55 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008184/1.056, allocations: 7.008 MB / 0.8502 GB, free: 43.58 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.388e-05/1.056, allocations: 4 kB / 0.8502 GB, free: 43.57 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002072/1.058, allocations: 1.869 MB / 0.8521 GB, free: 41.71 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002983/1.061, allocations: 0.6316 MB / 0.8527 GB, free: 41.09 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0896/1.151, allocations: 68.33 MB / 0.9194 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007807/1.159, allocations: 4.933 MB / 0.9242 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.008117/1.167, allocations: 3.543 MB / 0.9277 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005743/1.173, allocations: 3.323 MB / 0.9309 GB, free: 212 kB / 0.6075 GB Notification: Performance of SimCode: time 1.583e-06/1.173, allocations: 0 / 0.9309 GB, free: 212 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3955/1.568, allocations: 89.99 MB / 1.019 GB, free: 202.9 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.92/21.49, allocations: 10.44 kB / 1.019 GB, free: 202.9 MB / 0.6544 GB " [Timeout remaining time 638] (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 660] Reference file matches [Calling sys.exit(0), Time elapsed: 25.043045827012975]