Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001515/0.001515, allocations: 173.4 kB / 16.58 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.53/1.53, allocations: 205.4 MB / 222.8 MB, free: 5.875 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3682/0.3682, allocations: 43.55 MB / 314.6 MB, free: 8.613 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005586/0.0005588, allocations: 16 kB / 384 MB, free: 7.953 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1215, allocations: 58.85 MB / 442.9 MB, free: 12.99 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.2371/0.3587, allocations: 37.38 MB / 480.3 MB, free: 28.55 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0159/0.3746, allocations: 7.465 MB / 487.7 MB, free: 23.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006615/0.3813, allocations: 178.8 kB / 487.9 MB, free: 23.49 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005545/0.3869, allocations: 1.939 MB / 489.8 MB, free: 22.83 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01451/0.4014, allocations: 5.669 MB / 495.5 MB, free: 20.51 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002202/0.4036, allocations: 274.9 kB / 495.8 MB, free: 20.4 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02944/0.4331, allocations: 20.98 MB / 0.5046 GB, free: 14.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006946/0.4401, allocations: 3.897 MB / 0.5084 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004607/0.4447, allocations: 1.872 MB / 0.5103 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004659/0.4494, allocations: 2.753 MB / 0.513 GB, free: 8.391 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001468/0.4509, allocations: 236 kB / 0.5132 GB, free: 8.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002486/0.4534, allocations: 0.5695 MB / 0.5137 GB, free: 7.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003243/0.4567, allocations: 2.559 MB / 0.5162 GB, free: 5.023 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002611/0.4593, allocations: 1.329 MB / 0.5175 GB, free: 3.684 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008604/0.4679, allocations: 8.131 MB / 0.5255 GB, free: 11.53 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.468, allocations: 0 / 0.5255 GB, free: 11.53 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.468, allocations: 0 / 0.5255 GB, free: 11.53 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003931/0.4684, allocations: 0 / 0.5255 GB, free: 11.53 MB / 398.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.01097/0.4794, allocations: 5.82 MB / 0.5312 GB, free: 5.637 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.4794, allocations: 8.031 kB / 0.5312 GB, free: 5.629 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002835/0.4822, allocations: 1.268 MB / 0.5324 GB, free: 4.352 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01748/0.4997, allocations: 6.033 MB / 0.5383 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006666/0.5064, allocations: 3.21 MB / 0.5414 GB, free: 11.02 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004588/0.5069, allocations: 319.9 kB / 0.5417 GB, free: 10.71 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00184/0.5088, allocations: 423.6 kB / 0.5421 GB, free: 10.29 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03242/0.5412, allocations: 18.86 MB / 0.5606 GB, free: 6.688 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001427/0.5414, allocations: 35.69 kB / 0.5606 GB, free: 6.652 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001618/0.543, allocations: 199.7 kB / 0.5608 GB, free: 6.457 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007361/0.5504, allocations: 4.75 MB / 0.5654 GB, free: 1.699 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03475/0.5852, allocations: 17.45 MB / 0.5825 GB, free: 224 kB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3501/0.9354, allocations: 61.25 MB / 0.6423 GB, free: 98.74 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01315/0.9485, allocations: 8.407 MB / 0.6505 GB, free: 96.33 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003321/0.9519, allocations: 2.569 MB / 0.653 GB, free: 96.29 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01944/0.9714, allocations: 11.88 MB / 0.6646 GB, free: 92.38 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.909e-05/0.9715, allocations: 60.31 kB / 0.6647 GB, free: 92.32 MB / 494.1 MB Notification: Performance of pre-optimization done (n=321): time 6.392e-06/0.9715, allocations: 0 / 0.6647 GB, free: 92.32 MB / 494.1 MB Notification: Performance of matching and sorting (n=321): time 0.01732/0.9888, allocations: 7.485 MB / 0.672 GB, free: 90.39 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.839e-05/0.9889, allocations: 100.9 kB / 0.6721 GB, free: 90.29 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01057/0.9995, allocations: 5.651 MB / 0.6776 GB, free: 88.29 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005507/1, allocations: 66.16 kB / 0.6776 GB, free: 88.23 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003659/1.004, allocations: 5.064 MB / 0.6826 GB, free: 84.38 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002328/1.006, allocations: 1.199 MB / 0.6838 GB, free: 83.52 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001001/1.007, allocations: 180.5 kB / 0.6839 GB, free: 83.38 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.00126/1.008, allocations: 0.7256 MB / 0.6846 GB, free: 82.9 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005848/1.014, allocations: 3.18 MB / 0.6877 GB, free: 81.96 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006167/1.02, allocations: 8.617 MB / 0.6962 GB, free: 73.8 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006137/1.027, allocations: 5.289 MB / 0.7013 GB, free: 71.91 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.445e-05/1.027, allocations: 54.94 kB / 0.7014 GB, free: 71.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.01697/1.044, allocations: 11.56 MB / 0.7127 GB, free: 67.63 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001985/1.044, allocations: 88.72 kB / 0.7128 GB, free: 67.63 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003179/1.044, allocations: 190.6 kB / 0.7129 GB, free: 67.63 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000329/1.045, allocations: 282 kB / 0.7132 GB, free: 67.63 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005806/1.05, allocations: 2.074 MB / 0.7152 GB, free: 67.38 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002981/1.051, allocations: 373.5 kB / 0.7156 GB, free: 67.29 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006163/1.057, allocations: 1.324 MB / 0.7169 GB, free: 66.45 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001141/1.058, allocations: 0.5572 MB / 0.7174 GB, free: 66.13 MB / 494.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00603/1.064, allocations: 3.707 MB / 0.721 GB, free: 62.95 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009351/1.065, allocations: 481.5 kB / 0.7215 GB, free: 62.47 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001748/1.067, allocations: 0.6487 MB / 0.7221 GB, free: 61.88 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.028e-05/1.067, allocations: 52 kB / 0.7222 GB, free: 61.83 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.839e-05/1.067, allocations: 7.938 kB / 0.7222 GB, free: 61.82 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.369e-05/1.067, allocations: 13.69 kB / 0.7222 GB, free: 61.82 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02257/1.09, allocations: 12.61 MB / 0.7345 GB, free: 50.78 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.711e-05/1.09, allocations: 16 kB / 0.7345 GB, free: 50.76 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001747/1.091, allocations: 423.3 kB / 0.7349 GB, free: 50.35 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-05/1.091, allocations: 24 kB / 0.735 GB, free: 50.32 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002915/1.092, allocations: 63.34 kB / 0.735 GB, free: 50.27 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.574e-05/1.092, allocations: 27.94 kB / 0.735 GB, free: 50.24 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.034e-05/1.092, allocations: 23.88 kB / 0.7351 GB, free: 50.21 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005103/1.097, allocations: 4.618 MB / 0.7396 GB, free: 45.37 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001223/1.098, allocations: 0.5838 MB / 0.7401 GB, free: 44.76 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001039/1.099, allocations: 62.98 kB / 0.7402 GB, free: 44.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001941/1.101, allocations: 126.5 kB / 0.7403 GB, free: 44.58 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002742/1.101, allocations: 180.8 kB / 0.7405 GB, free: 44.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001946/1.102, allocations: 98.56 kB / 0.7406 GB, free: 44.3 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005252/1.107, allocations: 3.459 MB / 0.744 GB, free: 40.87 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.51e-07/1.107, allocations: 0 / 0.744 GB, free: 40.87 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007638/1.115, allocations: 1.985 MB / 0.7459 GB, free: 38.88 MB / 494.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006307/1.121, allocations: 5.294 MB / 0.7511 GB, free: 33.36 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01088/1.132, allocations: 7.238 MB / 0.7581 GB, free: 26.16 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.788e-05/1.132, allocations: 0 / 0.7581 GB, free: 26.16 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002717/1.135, allocations: 2.001 MB / 0.7601 GB, free: 24.16 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004597/1.139, allocations: 0.5983 MB / 0.7607 GB, free: 23.58 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09186/1.231, allocations: 52.31 MB / 0.8118 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00916/1.24, allocations: 5.416 MB / 0.8171 GB, free: 8.59 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.008944/1.249, allocations: 3.544 MB / 0.8205 GB, free: 5.039 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005157/1.254, allocations: 3.331 MB / 0.8238 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of SimCode: time 1.002e-06/1.254, allocations: 0 / 0.8238 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4087/1.663, allocations: 111.3 MB / 0.9324 GB, free: 98.8 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001424/1.663, allocations: 179 kB / 0.9326 GB, free: 98.56 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.328/5.992, allocations: 0 / 0.9326 GB, free: 98.56 MB / 0.5294 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FixedRotation_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FixedRotation.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat does not exist to compare? outputFormat=mat