Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001372/0.001372, allocations: 105.1 kB / 21.22 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001447/0.001447, allocations: 212.7 kB / 24.52 MB, free: 3.91 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.414/1.414, allocations: 230.5 MB / 258.2 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2237/0.2237, allocations: 46.94 MB / 361.6 MB, free: 3.922 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002398/0.002398, allocations: 75.88 kB / 0.4969 GB, free: 7.543 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2806/0.283, allocations: 66.08 MB / 0.5614 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01691/0.3, allocations: 14.51 MB / 0.5756 GB, free: 5.434 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008171/0.3081, allocations: 3.793 MB / 0.5793 GB, free: 1.629 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002256/0.3104, allocations: 115.6 kB / 0.5794 GB, free: 1.516 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004877/0.3153, allocations: 2.16 MB / 0.5815 GB, free: 15.35 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006724/0.322, allocations: 2.615 MB / 0.5841 GB, free: 12.73 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001148/0.3231, allocations: 299.5 kB / 0.5844 GB, free: 12.43 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009528/0.3327, allocations: 6.545 MB / 0.5907 GB, free: 5.879 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005073/0.3377, allocations: 3.082 MB / 0.5938 GB, free: 2.742 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00404/0.3418, allocations: 2.156 MB / 0.5959 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005448/0.3472, allocations: 3.106 MB / 0.5989 GB, free: 13.46 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001468/0.3487, allocations: 388 kB / 0.5993 GB, free: 13.08 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002779/0.3515, allocations: 0.7218 MB / 0.6 GB, free: 12.36 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00389/0.3554, allocations: 2.811 MB / 0.6027 GB, free: 9.539 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005364/0.3607, allocations: 2.307 MB / 0.605 GB, free: 7.215 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01377/0.3745, allocations: 10.72 MB / 0.6154 GB, free: 12.45 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3745, allocations: 0 / 0.6154 GB, free: 12.45 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3745, allocations: 4 kB / 0.6154 GB, free: 12.44 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003184/0.3748, allocations: 0 / 0.6154 GB, free: 12.44 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.01464/0.3895, allocations: 7.097 MB / 0.6224 GB, free: 5.27 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.3895, allocations: 16.03 kB / 0.6224 GB, free: 5.254 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002317/0.3897, allocations: 164.4 kB / 0.6225 GB, free: 5.09 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002974/0.3927, allocations: 1.28 MB / 0.6238 GB, free: 3.801 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01984/0.4126, allocations: 5.9 MB / 0.6296 GB, free: 13.89 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007646/0.4202, allocations: 3.264 MB / 0.6327 GB, free: 10.57 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003739/0.4206, allocations: 331.8 kB / 0.6331 GB, free: 10.24 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001797/0.4224, allocations: 411.7 kB / 0.6335 GB, free: 9.836 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03392/0.4563, allocations: 18.89 MB / 0.6519 GB, free: 6.199 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001336/0.4564, allocations: 35.62 kB / 0.6519 GB, free: 6.164 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001444/0.4579, allocations: 207.7 kB / 0.6521 GB, free: 5.961 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00794/0.4658, allocations: 4.746 MB / 0.6568 GB, free: 1.211 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03447/0.5003, allocations: 17.53 MB / 0.6739 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09462/0.5949, allocations: 58.27 MB / 0.7308 GB, free: 3.793 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2447/0.8396, allocations: 6.331 MB / 0.737 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004001/0.8436, allocations: 2.389 MB / 0.7393 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01891/0.8625, allocations: 9.426 MB / 0.7485 GB, free: 148.9 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.537e-05/0.8626, allocations: 60.17 kB / 0.7486 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=321): time 7.924e-06/0.8626, allocations: 0 / 0.7486 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=321): time 0.01633/0.8789, allocations: 7.55 MB / 0.7559 GB, free: 144.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.052e-05/0.8789, allocations: 99.11 kB / 0.756 GB, free: 144.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007935/0.8869, allocations: 5.684 MB / 0.7616 GB, free: 140.1 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000309/0.8872, allocations: 61.14 kB / 0.7616 GB, free: 140.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002446/0.8896, allocations: 5.291 MB / 0.7668 GB, free: 135.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001045/0.8907, allocations: 1.249 MB / 0.768 GB, free: 134.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003027/0.8937, allocations: 1.919 MB / 0.7699 GB, free: 132.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.802e-05/0.8937, allocations: 312.9 kB / 0.7702 GB, free: 132.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003891/0.8976, allocations: 3.204 MB / 0.7733 GB, free: 129 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005695/0.9033, allocations: 8.65 MB / 0.7818 GB, free: 117.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009655/0.913, allocations: 12.9 MB / 0.7944 GB, free: 102.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001892/0.9132, allocations: 56.88 kB / 0.7944 GB, free: 102.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.01724/0.9304, allocations: 11.68 MB / 0.8058 GB, free: 90.46 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.000297/0.9307, allocations: 85 kB / 0.8059 GB, free: 90.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003699/0.9311, allocations: 192 kB / 0.8061 GB, free: 90.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002892/0.9314, allocations: 259.9 kB / 0.8064 GB, free: 89.94 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006167/0.9375, allocations: 2.078 MB / 0.8084 GB, free: 87.86 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003282/0.9379, allocations: 370.6 kB / 0.8087 GB, free: 87.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00631/0.9442, allocations: 1.36 MB / 0.8101 GB, free: 86.13 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001321/0.9455, allocations: 0.5501 MB / 0.8106 GB, free: 85.58 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.005323/0.9508, allocations: 3.71 MB / 0.8142 GB, free: 81.86 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008128/0.9516, allocations: 0.5004 MB / 0.8147 GB, free: 81.36 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001526/0.9532, allocations: 0.6449 MB / 0.8153 GB, free: 80.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.611e-05/0.9533, allocations: 59.42 kB / 0.8154 GB, free: 80.65 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.739e-05/0.9533, allocations: 0 / 0.8154 GB, free: 80.65 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.687e-05/0.9533, allocations: 15.95 kB / 0.8154 GB, free: 80.63 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02025/0.9736, allocations: 12.24 MB / 0.8274 GB, free: 68.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-05/0.9736, allocations: 16 kB / 0.8274 GB, free: 68.16 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00169/0.9753, allocations: 419.3 kB / 0.8278 GB, free: 67.75 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.406e-05/0.9753, allocations: 23.94 kB / 0.8278 GB, free: 67.73 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002564/0.9756, allocations: 63.98 kB / 0.8279 GB, free: 67.67 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.936e-05/0.9756, allocations: 27.88 kB / 0.8279 GB, free: 67.64 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.578e-06/0.9756, allocations: 23.92 kB / 0.8279 GB, free: 67.62 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004693/0.9803, allocations: 4.659 MB / 0.8325 GB, free: 62.73 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008796/0.9812, allocations: 0.5075 MB / 0.833 GB, free: 62.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008433/0.982, allocations: 71.06 kB / 0.833 GB, free: 62.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001759/0.9838, allocations: 127.3 kB / 0.8332 GB, free: 62.03 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003941/0.9842, allocations: 180.7 kB / 0.8333 GB, free: 61.85 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002294/0.9844, allocations: 103.7 kB / 0.8334 GB, free: 61.75 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004692/0.9891, allocations: 3.493 MB / 0.8368 GB, free: 58.28 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.11e-07/0.9891, allocations: 0 / 0.8368 GB, free: 58.28 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006445/0.9955, allocations: 1.97 MB / 0.8388 GB, free: 56.31 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.005572/1.001, allocations: 5.331 MB / 0.844 GB, free: 50.74 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008668/1.01, allocations: 7.013 MB / 0.8508 GB, free: 43.76 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.399e-05/1.01, allocations: 8.062 kB / 0.8508 GB, free: 43.75 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002157/1.012, allocations: 1.868 MB / 0.8526 GB, free: 41.89 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003893/1.016, allocations: 0.6297 MB / 0.8533 GB, free: 41.27 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09883/1.115, allocations: 68.34 MB / 0.92 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009447/1.124, allocations: 4.936 MB / 0.9248 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.008892/1.133, allocations: 3.543 MB / 0.9283 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006004/1.139, allocations: 3.327 MB / 0.9315 GB, free: 384 kB / 0.6075 GB Notification: Performance of SimCode: time 1.202e-06/1.139, allocations: 0 / 0.9315 GB, free: 384 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3683/1.507, allocations: 90.07 MB / 1.019 GB, free: 202.2 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.27/26.78, allocations: 12.83 kB / 1.02 GB, free: 202.2 MB / 0.6544 GB " [Timeout remaining time 633] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_FixedRotation_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_FixedRotation.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 30.97005188302137]