Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001/0.001, allocations: 181.8 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.484/1.484, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008033/0.0008032, allocations: 86.86 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2011/0.2011, allocations: 43.56 MB / 362 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003704/0.0003705, allocations: 11.98 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1145, allocations: 58.85 MB / 490.4 MB, free: 8.574 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4067/0.5213, allocations: 109.3 MB / 0.5856 GB, free: 6.738 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002734/0.5216, allocations: 86.95 kB / 0.5857 GB, free: 6.691 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.254/0.7756, allocations: 98.33 MB / 0.6817 GB, free: 12.07 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.7756, allocations: 0 / 0.6817 GB, free: 12.07 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003928/0.776, allocations: 103.9 kB / 0.6818 GB, free: 11.97 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1851 * Number of variables: 1851 Notification: Performance of Generate backend data structure: time 0.02561/0.8017, allocations: 5.789 MB / 0.6874 GB, free: 6.109 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.905e-05/0.8018, allocations: 12.03 kB / 0.6875 GB, free: 6.098 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006541/0.8083, allocations: 0.9272 MB / 0.6884 GB, free: 5.156 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01225/0.8206, allocations: 2.321 MB / 0.6906 GB, free: 2.824 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01589/0.8365, allocations: 5.011 MB / 0.6955 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005566/0.8371, allocations: 394.3 kB / 0.6959 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004522/0.8417, allocations: 0.5115 MB / 0.6964 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.344/1.186, allocations: 12.99 MB / 0.7091 GB, free: 105.3 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003726/1.186, allocations: 69.89 kB / 0.7092 GB, free: 105.3 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001654/1.188, allocations: 248.2 kB / 0.7094 GB, free: 105.3 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002426/1.19, allocations: 1.21 MB / 0.7106 GB, free: 105.3 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03092/1.221, allocations: 11.28 MB / 0.7216 GB, free: 105.3 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07103/1.292, allocations: 55.87 MB / 0.7761 GB, free: 73.47 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01509/1.307, allocations: 5.34 MB / 0.7814 GB, free: 71.61 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001538/1.309, allocations: 1.013 MB / 0.7824 GB, free: 70.73 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.002e-05/1.309, allocations: 57.75 kB / 0.7824 GB, free: 70.68 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=224): time 6.993e-06/1.309, allocations: 0 / 0.7824 GB, free: 70.68 MB / 0.4948 GB Notification: Performance of matching and sorting (n=255): time 0.0671/1.376, allocations: 26.18 MB / 0.808 GB, free: 61.41 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.015e-05/1.376, allocations: 164.8 kB / 0.8081 GB, free: 61.25 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006788/1.383, allocations: 4.025 MB / 0.8121 GB, free: 59.87 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008017/1.384, allocations: 67.77 kB / 0.8121 GB, free: 59.8 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002171/1.386, allocations: 3.545 MB / 0.8156 GB, free: 57.2 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001439/1.388, allocations: 0.9556 MB / 0.8165 GB, free: 56.5 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004093/1.388, allocations: 135.7 kB / 0.8167 GB, free: 56.4 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003472/1.388, allocations: 0.5981 MB / 0.8172 GB, free: 55.97 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00473/1.393, allocations: 3.053 MB / 0.8202 GB, free: 54.95 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005604/1.399, allocations: 6.975 MB / 0.827 GB, free: 48.63 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005911/1.405, allocations: 4.516 MB / 0.8314 GB, free: 45.56 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.086e-05/1.405, allocations: 40 kB / 0.8315 GB, free: 45.52 MB / 0.4948 GB Notification: Performance of matching and sorting (n=894) (initialization): time 0.01967/1.425, allocations: 10.91 MB / 0.8421 GB, free: 36.16 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001154/1.425, allocations: 64 kB / 0.8422 GB, free: 36.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001618/1.425, allocations: 136 kB / 0.8423 GB, free: 35.96 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002537/1.427, allocations: 1.132 MB / 0.8434 GB, free: 35.13 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006371/1.434, allocations: 1.709 MB / 0.8451 GB, free: 33.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006641/1.44, allocations: 6.029 MB / 0.851 GB, free: 28.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007736/1.448, allocations: 427.2 kB / 0.8514 GB, free: 28.04 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00192/1.45, allocations: 428.2 kB / 0.8518 GB, free: 27.65 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 632 * Number of states: 0 () * Number of discrete variables: 42 (fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (855): * Single equations (assignments): 851 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006396/1.457, allocations: 2.425 MB / 0.8542 GB, free: 25.51 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001539/1.458, allocations: 418.4 kB / 0.8546 GB, free: 25.1 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01096/1.469, allocations: 5.679 MB / 0.8601 GB, free: 20.54 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.321e-05/1.469, allocations: 32 kB / 0.8601 GB, free: 20.5 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/1.469, allocations: 4 kB / 0.8601 GB, free: 20.5 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.41e-05/1.469, allocations: 11.58 kB / 0.8602 GB, free: 20.5 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02941/1.499, allocations: 12.38 MB / 0.8722 GB, free: 9.246 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-05/1.499, allocations: 0 / 0.8722 GB, free: 9.246 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003076/1.502, allocations: 0.5109 MB / 0.8727 GB, free: 8.734 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002609/1.505, allocations: 0.9406 MB / 0.8737 GB, free: 7.797 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000623/1.505, allocations: 53.23 kB / 0.8737 GB, free: 7.746 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006524/1.512, allocations: 5.759 MB / 0.8793 GB, free: 1.852 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/1.512, allocations: 4 kB / 0.8793 GB, free: 1.848 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01877/1.531, allocations: 9.977 MB / 0.8891 GB, free: 7.656 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004291/1.535, allocations: 0.925 MB / 0.89 GB, free: 6.707 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002011/1.537, allocations: 50.06 kB / 0.89 GB, free: 6.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00395/1.541, allocations: 191.6 kB / 0.8902 GB, free: 6.477 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001068/1.542, allocations: 153.8 kB / 0.8904 GB, free: 6.324 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008073/1.543, allocations: 72.67 kB / 0.8904 GB, free: 6.258 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.008104/1.551, allocations: 2.831 MB / 0.8932 GB, free: 3.426 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.81e-07/1.551, allocations: 0 / 0.8932 GB, free: 3.426 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01001/1.561, allocations: 1.265 MB / 0.8944 GB, free: 2.168 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,r1.phi,r1.w,r2.phi,r2.w) * 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 (228): * Single equations (assignments): 224 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0213/1.582, allocations: 11.34 MB / 0.9055 GB, free: 6.676 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.2936/1.876, allocations: 7.318 MB / 0.9127 GB, free: 134.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.179e-05/1.876, allocations: 0.5469 kB / 0.9127 GB, free: 134.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.005694/1.882, allocations: 2.772 MB / 0.9154 GB, free: 134.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003465/1.885, allocations: 454.2 kB / 0.9158 GB, free: 134.7 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1245/2.01, allocations: 140 MB / 1.052 GB, free: 19.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009924/2.02, allocations: 3.911 MB / 1.056 GB, free: 18.87 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.009549/2.03, allocations: 2.3 MB / 1.059 GB, free: 18.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005396/2.035, allocations: 2.343 MB / 1.061 GB, free: 18.2 MB / 0.5261 GB Notification: Performance of SimCode: time 2.084e-06/2.035, allocations: 0 / 1.061 GB, free: 18.2 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4972/2.532, allocations: 96.45 MB / 1.155 GB, free: 126.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001842/2.532, allocations: 197.8 kB / 1.155 GB, free: 125.9 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.949/7.482, allocations: 0 / 1.155 GB, free: 125.9 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_3_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_3.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat does not exist to compare? outputFormat=mat