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.001284/0.001284, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.001446/0.001446, allocations: 207.5 kB / 24.53 MB, free: 4.07 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.416/1.416, allocations: 230.5 MB / 258.2 MB, free: 8.043 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.2154/0.2154, allocations: 46.93 MB / 361.6 MB, free: 4.184 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.002253/0.002253, allocations: 71.88 kB / 0.497 GB, free: 7.773 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2771/0.2794, allocations: 66.09 MB / 0.5615 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01851/0.2979, allocations: 17 MB / 0.5781 GB, free: 3.223 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008363/0.3063, allocations: 3.98 MB / 0.582 GB, free: 15.23 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002161/0.3084, allocations: 119.6 kB / 0.5821 GB, free: 15.11 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004865/0.3133, allocations: 2.23 MB / 0.5843 GB, free: 12.88 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006228/0.3195, allocations: 2.607 MB / 0.5868 GB, free: 10.26 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008871/0.3204, allocations: 299.5 kB / 0.5871 GB, free: 9.965 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008964/0.3294, allocations: 6.553 MB / 0.5935 GB, free: 3.402 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004297/0.3337, allocations: 3.078 MB / 0.5965 GB, free: 276 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003486/0.3371, allocations: 2.156 MB / 0.5986 GB, free: 14.11 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004367/0.3415, allocations: 3.099 MB / 0.6017 GB, free: 11 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001137/0.3426, allocations: 396 kB / 0.602 GB, free: 10.61 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001981/0.3446, allocations: 0.8349 MB / 0.6028 GB, free: 9.773 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003037/0.3477, allocations: 2.819 MB / 0.6056 GB, free: 6.945 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00486/0.3525, allocations: 3.306 MB / 0.6088 GB, free: 3.617 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01269/0.3652, allocations: 10.64 MB / 0.6192 GB, free: 8.922 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.3652, allocations: 4 kB / 0.6192 GB, free: 8.918 MB / 462.1 MB Notification: Performance of FrontEnd: time 4.539e-06/0.3652, allocations: 3.984 kB / 0.6192 GB, free: 8.914 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002697/0.3655, allocations: 3.938 kB / 0.6192 GB, free: 8.91 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.01308/0.3786, allocations: 7.101 MB / 0.6262 GB, free: 1.734 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.3786, allocations: 8.031 kB / 0.6262 GB, free: 1.727 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001862/0.3788, allocations: 164.4 kB / 0.6263 GB, free: 1.562 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002354/0.3812, allocations: 1.268 MB / 0.6276 GB, free: 292 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01991/0.4011, allocations: 5.902 MB / 0.6333 GB, free: 10.37 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007384/0.4085, allocations: 3.242 MB / 0.6365 GB, free: 7.07 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003026/0.4088, allocations: 323.9 kB / 0.6368 GB, free: 6.75 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001597/0.4104, allocations: 419.7 kB / 0.6372 GB, free: 6.34 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0311/0.4414, allocations: 18.88 MB / 0.6556 GB, free: 2.707 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001058/0.4416, allocations: 35.62 kB / 0.6557 GB, free: 2.672 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007959/0.4424, allocations: 207.7 kB / 0.6559 GB, free: 2.469 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007733/0.4501, allocations: 4.746 MB / 0.6605 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03307/0.4831, allocations: 17.53 MB / 0.6776 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.323/0.8062, allocations: 61.05 MB / 0.7373 GB, free: 134.9 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01312/0.8193, allocations: 6.349 MB / 0.7435 GB, free: 134.7 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002995/0.8223, allocations: 2.39 MB / 0.7458 GB, free: 134.7 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01764/0.8399, allocations: 9.901 MB / 0.7555 GB, free: 132.1 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.724e-05/0.84, allocations: 61.41 kB / 0.7555 GB, free: 132 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=321): time 6.382e-06/0.84, allocations: 0 / 0.7555 GB, free: 132 MB / 0.5606 GB Notification: Performance of matching and sorting (n=321): time 0.01555/0.8555, allocations: 7.539 MB / 0.7629 GB, free: 130.1 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/0.8556, allocations: 102.7 kB / 0.763 GB, free: 130.1 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007511/0.8631, allocations: 5.688 MB / 0.7685 GB, free: 128.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000403/0.8635, allocations: 60.12 kB / 0.7686 GB, free: 128.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002587/0.8661, allocations: 5.295 MB / 0.7738 GB, free: 124.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001228/0.8673, allocations: 1.25 MB / 0.775 GB, free: 123.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002521/0.8698, allocations: 1.92 MB / 0.7769 GB, free: 121.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.069e-05/0.8699, allocations: 301.1 kB / 0.7771 GB, free: 121.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003851/0.8737, allocations: 3.21 MB / 0.7803 GB, free: 117.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005611/0.8793, allocations: 8.649 MB / 0.7887 GB, free: 106.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009565/0.8889, allocations: 12.9 MB / 0.8013 GB, free: 91.23 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001271/0.889, allocations: 59.94 kB / 0.8014 GB, free: 91.17 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.01638/0.9054, allocations: 11.68 MB / 0.8128 GB, free: 79.48 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.744e-05/0.9055, allocations: 84 kB / 0.8129 GB, free: 79.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001634/0.9056, allocations: 195.8 kB / 0.8131 GB, free: 79.21 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001693/0.9058, allocations: 252 kB / 0.8133 GB, free: 78.97 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005883/0.9117, allocations: 2.074 MB / 0.8153 GB, free: 76.89 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002135/0.9119, allocations: 370.6 kB / 0.8157 GB, free: 76.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006068/0.918, allocations: 1.365 MB / 0.817 GB, free: 75.15 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001207/0.9192, allocations: 0.5541 MB / 0.8175 GB, free: 74.6 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.005566/0.9248, allocations: 3.706 MB / 0.8212 GB, free: 70.89 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008496/0.9256, allocations: 0.5004 MB / 0.8217 GB, free: 70.38 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001464/0.9271, allocations: 0.641 MB / 0.8223 GB, free: 69.73 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.883e-05/0.9272, allocations: 59.98 kB / 0.8223 GB, free: 69.68 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.454e-05/0.9272, allocations: 0 / 0.8223 GB, free: 69.68 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.99e-05/0.9272, allocations: 11.95 kB / 0.8224 GB, free: 69.66 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01894/0.9461, allocations: 12.62 MB / 0.8347 GB, free: 56.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.646e-05/0.9462, allocations: 12 kB / 0.8347 GB, free: 56.82 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001661/0.9478, allocations: 420.2 kB / 0.8351 GB, free: 56.41 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.223e-05/0.9478, allocations: 24 kB / 0.8351 GB, free: 56.39 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001971/0.948, allocations: 59.98 kB / 0.8352 GB, free: 56.33 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.229e-05/0.9481, allocations: 39.86 kB / 0.8352 GB, free: 56.29 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.546e-06/0.9481, allocations: 19.94 kB / 0.8352 GB, free: 56.27 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004536/0.9526, allocations: 4.659 MB / 0.8398 GB, free: 51.38 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001084/0.9537, allocations: 0.5114 MB / 0.8403 GB, free: 50.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008492/0.9545, allocations: 59.81 kB / 0.8403 GB, free: 50.81 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001731/0.9563, allocations: 127.8 kB / 0.8404 GB, free: 50.69 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003401/0.9566, allocations: 184.1 kB / 0.8406 GB, free: 50.51 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001827/0.9568, allocations: 95.94 kB / 0.8407 GB, free: 50.42 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004571/0.9614, allocations: 3.497 MB / 0.8441 GB, free: 46.94 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.91e-07/0.9614, allocations: 0 / 0.8441 GB, free: 46.94 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006646/0.968, allocations: 1.973 MB / 0.8461 GB, free: 44.97 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.005266/0.9733, allocations: 5.335 MB / 0.8513 GB, free: 39.39 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00852/0.9818, allocations: 7.009 MB / 0.8581 GB, free: 32.42 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.241e-05/0.9818, allocations: 8.25 kB / 0.8581 GB, free: 32.41 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002119/0.9839, allocations: 1.865 MB / 0.8599 GB, free: 30.55 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002949/0.9869, allocations: 0.6234 MB / 0.8605 GB, free: 29.95 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09683/1.084, allocations: 68.35 MB / 0.9273 GB, free: 0.8945 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01009/1.094, allocations: 5.415 MB / 0.9326 GB, free: 11.44 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.00896/1.103, allocations: 3.547 MB / 0.936 GB, free: 7.887 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00659/1.109, allocations: 3.319 MB / 0.9393 GB, free: 4.566 MB / 0.6231 GB Notification: Performance of SimCode: time 1.283e-06/1.109, allocations: 0 / 0.9393 GB, free: 4.566 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3783/1.488, allocations: 95.43 MB / 1.032 GB, free: 217.7 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.96/27.45, allocations: 4.062 kB / 1.032 GB, free: 217.7 MB / 0.67 GB " [Timeout remaining time 632] (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: 31.625244572001975]