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.001506/0.001506, allocations: 193.6 kB / 8.765 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.348/1.348, allocations: 225.6 MB / 234.8 MB, free: 3.301 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00092/0.00092, allocations: 92.66 kB / 286.7 MB, free: 5.297 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.197/0.197, allocations: 45.15 MB / 383.8 MB, free: 296 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.214e-05/2.218e-05, allocations: 4 kB / 453.3 MB, free: 75.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1065, allocations: 63.25 MB / 0.5045 GB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4232/0.5298, allocations: 109.8 MB / 0.6117 GB, free: 8.68 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002524/0.5301, allocations: 84.2 kB / 0.6118 GB, free: 8.637 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1931/0.7231, allocations: 81.17 MB / 0.6911 GB, free: 15.75 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.7232, allocations: 0 / 0.6911 GB, free: 15.75 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001395/0.7233, allocations: 87.94 kB / 0.6912 GB, free: 15.66 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.01433/0.7377, allocations: 4.387 MB / 0.6954 GB, free: 11.21 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/0.7377, allocations: 12.03 kB / 0.6955 GB, free: 11.2 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009848/0.7476, allocations: 2.213 MB / 0.6976 GB, free: 8.977 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008413/0.756, allocations: 3.763 MB / 0.7013 GB, free: 5.148 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001234/0.7562, allocations: 128 kB / 0.7014 GB, free: 5.023 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007833/0.757, allocations: 243.9 kB / 0.7016 GB, free: 4.785 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009366/0.7664, allocations: 6.087 MB / 0.7076 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01558/0.782, allocations: 9.197 MB / 0.7166 GB, free: 4.512 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000165/0.7822, allocations: 55.47 kB / 0.7166 GB, free: 4.457 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004967/0.7827, allocations: 31.98 kB / 0.7166 GB, free: 4.426 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001466/0.7842, allocations: 0.9475 MB / 0.7176 GB, free: 3.477 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3537/1.138, allocations: 44.05 MB / 0.7606 GB, free: 110.5 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003886/1.142, allocations: 3.03 MB / 0.7636 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00239/1.144, allocations: 1.592 MB / 0.7651 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007703/1.152, allocations: 4.329 MB / 0.7693 GB, free: 108.3 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/1.152, allocations: 47.75 kB / 0.7694 GB, free: 108.3 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=121): time 4.468e-06/1.152, allocations: 0 / 0.7694 GB, free: 108.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=128): time 0.01961/1.172, allocations: 11.25 MB / 0.7804 GB, free: 105.8 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.659e-05/1.172, allocations: 143 kB / 0.7805 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004513/1.176, allocations: 2.992 MB / 0.7834 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003097/1.177, allocations: 29.23 kB / 0.7835 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002621/1.179, allocations: 3.087 MB / 0.7865 GB, free: 103.6 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009479/1.18, allocations: 0.5077 MB / 0.787 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002938/1.181, allocations: 3.125 kB / 0.787 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0004371/1.181, allocations: 0.5434 MB / 0.7875 GB, free: 103 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00378/1.185, allocations: 1.673 MB / 0.7891 GB, free: 103 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005631/1.19, allocations: 5.361 MB / 0.7944 GB, free: 98.16 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006154/1.197, allocations: 2.961 MB / 0.7973 GB, free: 98.15 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.676e-05/1.197, allocations: 39.62 kB / 0.7973 GB, free: 98.15 MB / 0.5261 GB Notification: Performance of matching and sorting (n=740) (initialization): time 0.01776/1.215, allocations: 6.848 MB / 0.804 GB, free: 97.48 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.942e-05/1.215, allocations: 62.28 kB / 0.804 GB, free: 97.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001166/1.215, allocations: 139.4 kB / 0.8042 GB, free: 97.48 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00247/1.217, allocations: 0.9053 MB / 0.8051 GB, free: 97.35 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004398/1.222, allocations: 1.328 MB / 0.8064 GB, free: 97.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005364/1.227, allocations: 4.597 MB / 0.8108 GB, free: 94.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004003/1.231, allocations: 198.5 kB / 0.811 GB, free: 94.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007714/1.232, allocations: 363.8 kB / 0.8114 GB, free: 94.65 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 608 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (701): * Single equations (assignments): 697 * 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.001162/1.233, allocations: 447.1 kB / 0.8118 GB, free: 94.29 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004572/1.238, allocations: 2.706 MB / 0.8145 GB, free: 93.43 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006446/1.238, allocations: 301.6 kB / 0.8147 GB, free: 93.27 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004129/1.242, allocations: 2.388 MB / 0.8171 GB, free: 92.5 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.167e-05/1.242, allocations: 20.67 kB / 0.8171 GB, free: 92.5 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.151e-05/1.242, allocations: 5.781 kB / 0.8171 GB, free: 92.5 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.366e-05/1.242, allocations: 10.77 kB / 0.8171 GB, free: 92.5 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01151/1.254, allocations: 5.59 MB / 0.8226 GB, free: 90.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.776e-06/1.254, allocations: 0 / 0.8226 GB, free: 90.57 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001009/1.255, allocations: 210.8 kB / 0.8228 GB, free: 90.55 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001874/1.257, allocations: 0.696 MB / 0.8235 GB, free: 90.44 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001383/1.257, allocations: 7.281 kB / 0.8235 GB, free: 90.44 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004293/1.261, allocations: 4.173 MB / 0.8275 GB, free: 88.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.141e-06/1.261, allocations: 3.656 kB / 0.8275 GB, free: 88.1 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006266/1.268, allocations: 4.472 MB / 0.8319 GB, free: 86.27 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001087/1.269, allocations: 344.7 kB / 0.8322 GB, free: 86 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007799/1.27, allocations: 0 / 0.8322 GB, free: 86 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001515/1.271, allocations: 68.75 kB / 0.8323 GB, free: 86 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002098/1.271, allocations: 82.3 kB / 0.8324 GB, free: 85.98 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.904e-05/1.271, allocations: 34.75 kB / 0.8324 GB, free: 85.97 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003964/1.275, allocations: 1.989 MB / 0.8344 GB, free: 85.24 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/1.275, allocations: 3.812 kB / 0.8344 GB, free: 85.24 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006261/1.282, allocations: 0.7739 MB / 0.8351 GB, free: 85.23 MB / 0.5261 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 92 * 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.006485/1.288, allocations: 5.279 MB / 0.8403 GB, free: 82.71 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006132/1.294, allocations: 4.011 MB / 0.8442 GB, free: 79.38 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/1.294, allocations: 0 / 0.8442 GB, free: 79.38 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001458/1.296, allocations: 1.15 MB / 0.8453 GB, free: 78.34 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002249/1.298, allocations: 324.2 kB / 0.8456 GB, free: 78.07 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01981/1.318, allocations: 7.821 MB / 0.8533 GB, free: 71.36 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004028/1.322, allocations: 3.189 MB / 0.8564 GB, free: 68.92 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004321/1.326, allocations: 1.762 MB / 0.8581 GB, free: 67.82 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002256/1.329, allocations: 1.746 MB / 0.8598 GB, free: 66.21 MB / 0.5261 GB Notification: Performance of SimCode: time 2.344e-06/1.329, allocations: 4 kB / 0.8598 GB, free: 66.21 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09642/1.425, allocations: 64.25 MB / 0.9225 GB, free: 8.332 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001326/1.425, allocations: 141.5 kB / 0.9227 GB, free: 8.137 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.86/5.285, allocations: 0 / 0.9227 GB, free: 8.137 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