Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001633/0.001633, allocations: 197.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.389/1.389, allocations: 227.2 MB / 245 MB, free: 5.801 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001121/0.001121, allocations: 100.3 kB / 297.3 MB, free: 5.957 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4848/0.4848, allocations: 45.23 MB / 394.6 MB, free: 31.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002787/0.0002788, allocations: 8.219 kB / 468.5 MB, free: 7.617 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3809/0.3812, allocations: 63.25 MB / 0.5193 GB, free: 37.19 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1565/0.5377, allocations: 110.6 MB / 0.6273 GB, free: 8.816 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003759/0.5382, allocations: 87.92 kB / 0.6273 GB, free: 8.734 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5429/1.081, allocations: 82.67 MB / 0.7081 GB, free: 102.8 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.637e-06/1.081, allocations: 1.375 kB / 0.7081 GB, free: 102.8 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002527/1.081, allocations: 74.25 kB / 0.7081 GB, free: 102.8 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: 1442 * Number of variables: 1442 Notification: Performance of Generate backend data structure: time 0.02287/1.104, allocations: 4.636 MB / 0.7127 GB, free: 101 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.073e-05/1.104, allocations: 15.41 kB / 0.7127 GB, free: 101 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004293/1.109, allocations: 0.7245 MB / 0.7134 GB, free: 100.9 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0151/1.124, allocations: 2.221 MB / 0.7156 GB, free: 100.6 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01784/1.142, allocations: 3.774 MB / 0.7193 GB, free: 99.89 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009511/1.143, allocations: 307.7 kB / 0.7195 GB, free: 99.77 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003677/1.146, allocations: 407.4 kB / 0.7199 GB, free: 99.66 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03323/1.18, allocations: 10.31 MB / 0.73 GB, free: 94.24 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004753/1.18, allocations: 54.06 kB / 0.7301 GB, free: 94.21 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002632/1.183, allocations: 196.5 kB / 0.7302 GB, free: 94.11 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002206/1.185, allocations: 0.9533 MB / 0.7312 GB, free: 93.93 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02685/1.212, allocations: 8.647 MB / 0.7396 GB, free: 91.18 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0713/1.283, allocations: 45.89 MB / 0.7844 GB, free: 55.17 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01352/1.297, allocations: 3.4 MB / 0.7878 GB, free: 51.62 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01093/1.308, allocations: 4.426 MB / 0.7921 GB, free: 47.01 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.154e-05/1.308, allocations: 54.91 kB / 0.7921 GB, free: 46.95 MB / 490.7 MB Notification: Performance of pre-optimization done (n=121): time 4.849e-06/1.308, allocations: 0 / 0.7921 GB, free: 46.95 MB / 490.7 MB Notification: Performance of matching and sorting (n=127): time 0.03641/1.345, allocations: 11.31 MB / 0.8032 GB, free: 35.47 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.316e-05/1.345, allocations: 145.2 kB / 0.8033 GB, free: 35.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007141/1.352, allocations: 3.555 MB / 0.8068 GB, free: 31.76 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002979/1.352, allocations: 41.7 kB / 0.8068 GB, free: 31.71 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002203/1.354, allocations: 3.035 MB / 0.8098 GB, free: 28.68 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006892/1.355, allocations: 0.5201 MB / 0.8103 GB, free: 28.17 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002787/1.355, allocations: 108 kB / 0.8104 GB, free: 28.06 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003646/1.356, allocations: 0.5335 MB / 0.8109 GB, free: 27.52 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003667/1.359, allocations: 1.791 MB / 0.8127 GB, free: 25.73 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005383/1.365, allocations: 5.357 MB / 0.8179 GB, free: 18.55 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005514/1.37, allocations: 3.022 MB / 0.8209 GB, free: 15.53 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-05/1.37, allocations: 40 kB / 0.8209 GB, free: 15.49 MB / 490.7 MB Notification: Performance of matching and sorting (n=715) (initialization): time 0.01915/1.39, allocations: 7.606 MB / 0.8283 GB, free: 7.875 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000234/1.39, allocations: 60 kB / 0.8284 GB, free: 7.816 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000303/1.39, allocations: 128 kB / 0.8285 GB, free: 7.691 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003594/1.394, allocations: 0.9076 MB / 0.8294 GB, free: 6.781 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006346/1.4, allocations: 1.282 MB / 0.8306 GB, free: 5.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008985/1.409, allocations: 4.883 MB / 0.8354 GB, free: 496 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008063/1.417, allocations: 302.2 kB / 0.8357 GB, free: 196 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001663/1.419, allocations: 344 kB / 0.836 GB, free: 15.86 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 584 * Number of states: 0 () * Number of discrete variables: 38 (rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueArrow.arrowLine.twoHeadedArrow,torque.torqueArrow.headAtOrigin,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 (676): * Single equations (assignments): 672 * 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.006251/1.425, allocations: 1.99 MB / 0.838 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001187/1.427, allocations: 335.6 kB / 0.8383 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006397/1.433, allocations: 2.52 MB / 0.8407 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.737e-05/1.433, allocations: 20 kB / 0.8408 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.28e-05/1.433, allocations: 4 kB / 0.8408 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.156e-05/1.433, allocations: 3.984 kB / 0.8408 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01909/1.452, allocations: 6.457 MB / 0.8471 GB, free: 4.469 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.032e-05/1.452, allocations: 0 / 0.8471 GB, free: 4.469 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001216/1.453, allocations: 203.7 kB / 0.8473 GB, free: 4.27 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002374/1.456, allocations: 0.6952 MB / 0.848 GB, free: 3.57 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002592/1.456, allocations: 27.98 kB / 0.848 GB, free: 3.543 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006738/1.463, allocations: 4.445 MB / 0.8523 GB, free: 14.97 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/1.463, allocations: 0 / 0.8523 GB, free: 14.97 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009035/1.472, allocations: 4.653 MB / 0.8569 GB, free: 10.29 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001858/1.474, allocations: 384.6 kB / 0.8572 GB, free: 9.887 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001215/1.475, allocations: 23.95 kB / 0.8573 GB, free: 9.863 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002152/1.477, allocations: 87.89 kB / 0.8573 GB, free: 9.777 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003321/1.478, allocations: 72.48 kB / 0.8574 GB, free: 9.703 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001571/1.478, allocations: 35.98 kB / 0.8574 GB, free: 9.668 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006896/1.485, allocations: 2.486 MB / 0.8599 GB, free: 7.203 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.91e-07/1.485, allocations: 0 / 0.8599 GB, free: 7.203 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006801/1.492, allocations: 0.9025 MB / 0.8608 GB, free: 6.301 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.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 (95): * Single equations (assignments): 91 * 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 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009285/1.501, allocations: 5.456 MB / 0.8661 GB, free: 0.8008 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009378/1.51, allocations: 4.299 MB / 0.8703 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/1.51, allocations: 0 / 0.8703 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00245/1.513, allocations: 1.201 MB / 0.8714 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003253/1.516, allocations: 380.3 kB / 0.8718 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4047/1.921, allocations: 119.3 MB / 0.9883 GB, free: 37.36 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0063/1.927, allocations: 3.18 MB / 0.9914 GB, free: 36.57 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.006198/1.933, allocations: 1.733 MB / 0.9931 GB, free: 36.43 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004631/1.938, allocations: 1.761 MB / 0.9948 GB, free: 36.13 MB / 0.5261 GB Notification: Performance of SimCode: time 2.685e-06/1.938, allocations: 0 / 0.9948 GB, free: 36.13 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.134/2.072, allocations: 70.43 MB / 1.064 GB, free: 4.32 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002052/2.072, allocations: 200.5 kB / 1.064 GB, free: 4.078 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.5/6.572, allocations: 0 / 1.064 GB, free: 4.078 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_2_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat does not exist to compare? outputFormat=mat