Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_4_0_0_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.001375/0.001376, allocations: 94.92 kB / 16.98 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001787/0.001787, allocations: 183 kB / 17.87 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 223.2 MB / 241.8 MB, free: 14.66 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2006/0.2006, allocations: 44.23 MB / 337.1 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003071/0.0003072, allocations: 12 kB / 409.6 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1196, allocations: 61.92 MB / 471.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.03341/0.1531, allocations: 35.32 MB / 0.495 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01987/0.173, allocations: 7.872 MB / 0.5027 GB, free: 2.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008328/0.1814, allocations: 179.6 kB / 0.5028 GB, free: 2.164 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00597/0.1874, allocations: 1.878 MB / 0.5047 GB, free: 284 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2353/0.4227, allocations: 5.303 MB / 0.5099 GB, free: 11.45 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001522/0.4243, allocations: 241.2 kB / 0.5101 GB, free: 11.45 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.03667/0.4609, allocations: 26.17 MB / 0.5356 GB, free: 7.906 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005819/0.4668, allocations: 3.865 MB / 0.5394 GB, free: 5.125 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002738/0.4696, allocations: 1.562 MB / 0.5409 GB, free: 4.062 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002613/0.4722, allocations: 1.935 MB / 0.5428 GB, free: 2.758 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009205/0.4732, allocations: 232 kB / 0.543 GB, free: 2.531 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00159/0.4748, allocations: 0.571 MB / 0.5436 GB, free: 2.066 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002003/0.4768, allocations: 2.377 MB / 0.5459 GB, free: 484 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001406/0.4782, allocations: 1.333 MB / 0.5472 GB, free: 92 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008634/0.4869, allocations: 8.127 MB / 0.5552 GB, free: 9.023 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.4869, allocations: 0 / 0.5552 GB, free: 9.023 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.258e-06/0.4869, allocations: 7.984 kB / 0.5552 GB, free: 9.016 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003151/0.4872, allocations: 0 / 0.5552 GB, free: 9.016 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.01145/0.4987, allocations: 5.952 MB / 0.561 GB, free: 3.551 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.4988, allocations: 8.031 kB / 0.561 GB, free: 3.543 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003311/0.5021, allocations: 1.274 MB / 0.5622 GB, free: 2.75 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02339/0.5255, allocations: 7.134 MB / 0.5692 GB, free: 11.98 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009182/0.5347, allocations: 3.206 MB / 0.5723 GB, free: 9.387 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002788/0.535, allocations: 332.4 kB / 0.5727 GB, free: 9.207 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002081/0.5371, allocations: 414.1 kB / 0.573 GB, free: 8.945 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0312/0.5683, allocations: 18.98 MB / 0.5916 GB, free: 8.242 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000115/0.5685, allocations: 35.69 kB / 0.5916 GB, free: 8.207 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009133/0.5694, allocations: 197.7 kB / 0.5918 GB, free: 8.098 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007771/0.5772, allocations: 4.755 MB / 0.5964 GB, free: 3.371 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03687/0.6141, allocations: 17.59 MB / 0.6136 GB, free: 1.75 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1019/0.716, allocations: 61.37 MB / 0.6736 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01586/0.7319, allocations: 8.428 MB / 0.6818 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02328/0.7553, allocations: 11.94 MB / 0.6934 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.432e-05/0.7554, allocations: 56.56 kB / 0.6935 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=321): time 7.344e-06/0.7554, allocations: 4 kB / 0.6935 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of matching and sorting (n=321): time 0.01921/0.7746, allocations: 8.543 MB / 0.7018 GB, free: 5.133 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.851e-05/0.7747, allocations: 104.9 kB / 0.7019 GB, free: 5.016 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.24/1.015, allocations: 5.637 MB / 0.7074 GB, free: 180 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005852/1.015, allocations: 61.61 kB / 0.7075 GB, free: 180 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003892/1.019, allocations: 5.072 MB / 0.7125 GB, free: 177.3 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001564/1.021, allocations: 1.202 MB / 0.7136 GB, free: 176.6 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005998/1.021, allocations: 180.2 kB / 0.7138 GB, free: 176.6 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0005894/1.022, allocations: 0.727 MB / 0.7145 GB, free: 176.3 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005082/1.027, allocations: 3.174 MB / 0.7176 GB, free: 175.8 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009163/1.036, allocations: 8.587 MB / 0.726 GB, free: 167.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008556/1.045, allocations: 5.278 MB / 0.7312 GB, free: 165.5 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002621/1.045, allocations: 54.44 kB / 0.7312 GB, free: 165.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.02041/1.066, allocations: 11.57 MB / 0.7425 GB, free: 161.2 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001775/1.066, allocations: 90 kB / 0.7426 GB, free: 161.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003006/1.066, allocations: 188.8 kB / 0.7428 GB, free: 161.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002605/1.066, allocations: 281.8 kB / 0.743 GB, free: 161.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006935/1.073, allocations: 2.074 MB / 0.7451 GB, free: 161 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000269/1.074, allocations: 376.4 kB / 0.7454 GB, free: 160.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008072/1.082, allocations: 1.328 MB / 0.7467 GB, free: 160.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001819/1.084, allocations: 0.5507 MB / 0.7473 GB, free: 160 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007479/1.091, allocations: 3.706 MB / 0.7509 GB, free: 158.4 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001036/1.092, allocations: 488.7 kB / 0.7513 GB, free: 158.2 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001437/1.094, allocations: 0.6483 MB / 0.752 GB, free: 157.8 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.068e-05/1.094, allocations: 52.5 kB / 0.752 GB, free: 157.8 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.963e-05/1.094, allocations: 3.844 kB / 0.752 GB, free: 157.8 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.581e-05/1.094, allocations: 10.88 kB / 0.752 GB, free: 157.8 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0199/1.114, allocations: 12.61 MB / 0.7644 GB, free: 148.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-05/1.114, allocations: 12.19 kB / 0.7644 GB, free: 148.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001589/1.115, allocations: 426.6 kB / 0.7648 GB, free: 148.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-05/1.115, allocations: 24 kB / 0.7648 GB, free: 148.2 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001402/1.115, allocations: 66.08 kB / 0.7649 GB, free: 148.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.869e-05/1.115, allocations: 27.83 kB / 0.7649 GB, free: 148.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.078e-05/1.115, allocations: 27.83 kB / 0.7649 GB, free: 148.1 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004802/1.12, allocations: 6.575 MB / 0.7713 GB, free: 141.4 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001171/1.121, allocations: 0.591 MB / 0.7719 GB, free: 140.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005445/1.122, allocations: 61.73 kB / 0.772 GB, free: 140.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001529/1.124, allocations: 124.1 kB / 0.7721 GB, free: 140.7 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002462/1.124, allocations: 178.3 kB / 0.7723 GB, free: 140.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001634/1.124, allocations: 94.42 kB / 0.7723 GB, free: 140.5 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004588/1.129, allocations: 3.467 MB / 0.7757 GB, free: 137.3 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.443e-06/1.129, allocations: 0 / 0.7757 GB, free: 137.3 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008023/1.137, allocations: 1.99 MB / 0.7777 GB, free: 135.3 MB / 0.5294 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 (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.006483/1.143, allocations: 10.12 MB / 0.7876 GB, free: 124.8 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009895/1.153, allocations: 7.229 MB / 0.7946 GB, free: 117.6 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.34e-05/1.153, allocations: 5.812 kB / 0.7946 GB, free: 117.6 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002213/1.155, allocations: 2 MB / 0.7966 GB, free: 115.6 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002763/1.158, allocations: 0.5618 MB / 0.7971 GB, free: 115 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2933/1.451, allocations: 163.3 MB / 0.9566 GB, free: 117.7 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008704/1.46, allocations: 5.579 MB / 0.962 GB, free: 116.8 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.009077/1.469, allocations: 3.552 MB / 0.9655 GB, free: 116.7 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005268/1.475, allocations: 3.325 MB / 0.9687 GB, free: 115.8 MB / 0.5294 GB Notification: Performance of SimCode: time 8.92e-07/1.475, allocations: 0.9688 kB / 0.9687 GB, free: 115.8 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.14/1.615, allocations: 110.1 MB / 1.076 GB, free: 19.22 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001278/1.615, allocations: 177.4 kB / 1.076 GB, free: 18.98 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.437/7.052, allocations: 4 kB / 1.076 GB, free: 18.97 MB / 0.5294 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_FixedRotation_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_FixedRotation.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat does not exist to compare? outputFormat=mat