Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.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_1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001407/0.001407, allocations: 198.2 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.31/1.31, allocations: 225.6 MB / 234.8 MB, free: 3.234 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00107/0.00107, allocations: 101.5 kB / 286.7 MB, free: 5.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.196/0.196, allocations: 45.15 MB / 383.8 MB, free: 236 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.152e-05/2.152e-05, allocations: 4 kB / 453.3 MB, free: 75.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.114, allocations: 63.25 MB / 0.5045 GB, free: 12.52 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4277/0.5417, allocations: 110.7 MB / 0.6125 GB, free: 7.883 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002481/0.5421, allocations: 82.33 kB / 0.6126 GB, free: 7.84 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6982/1.24, allocations: 156.2 MB / 0.7652 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.604e-06/1.24, allocations: 3.75 kB / 0.7652 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0009146/1.241, allocations: 144.8 kB / 0.7653 GB, free: 107.6 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2276 * Number of variables: 2276 Notification: Performance of Generate backend data structure: time 0.04303/1.284, allocations: 8.784 MB / 0.7739 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/1.284, allocations: 13.62 kB / 0.7739 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06256/1.347, allocations: 17.83 MB / 0.7913 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02929/1.376, allocations: 11.51 MB / 0.8026 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003843/1.377, allocations: 214.2 kB / 0.8028 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003255/1.38, allocations: 413.9 kB / 0.8032 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01582/1.396, allocations: 9.008 MB / 0.812 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02811/1.424, allocations: 14.16 MB / 0.8258 GB, free: 99.12 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003246/1.424, allocations: 104.3 kB / 0.8259 GB, free: 99.12 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001395/1.426, allocations: 44.62 kB / 0.8259 GB, free: 99.12 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001829/1.428, allocations: 1.478 MB / 0.8274 GB, free: 99.09 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06835/1.496, allocations: 74.5 MB / 0.9001 GB, free: 41.45 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005207/1.501, allocations: 5.339 MB / 0.9053 GB, free: 36.45 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003843/1.505, allocations: 4.02 MB / 0.9093 GB, free: 32.79 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001533/1.507, allocations: 1.346 MB / 0.9106 GB, free: 31.35 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.751e-05/1.507, allocations: 67.12 kB / 0.9107 GB, free: 31.28 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=268): time 5.65e-06/1.507, allocations: 0 / 0.9107 GB, free: 31.28 MB / 0.5261 GB Notification: Performance of matching and sorting (n=350): time 0.101/1.608, allocations: 43.01 MB / 0.9527 GB, free: 8.664 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001607/1.608, allocations: 261.5 kB / 0.9529 GB, free: 8.352 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01312/1.621, allocations: 5.619 MB / 0.9584 GB, free: 2.75 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.001101/1.622, allocations: 25.7 kB / 0.9584 GB, free: 2.719 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.3401/1.962, allocations: 5.24 MB / 0.9635 GB, free: 113.4 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.002376/1.965, allocations: 1.299 MB / 0.9648 GB, free: 112.8 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001783/1.967, allocations: 1.531 kB / 0.9648 GB, free: 112.8 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.001459/1.968, allocations: 0.716 MB / 0.9655 GB, free: 112.5 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008967/1.977, allocations: 4.327 MB / 0.9697 GB, free: 112.5 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01301/1.99, allocations: 9.706 MB / 0.9792 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01128/2.001, allocations: 6.359 MB / 0.9854 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003874/2.002, allocations: 56.62 kB / 0.9855 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1260) (initialization): time 0.07495/2.077, allocations: 30.57 MB / 1.015 GB, free: 104.8 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005695/2.077, allocations: 86.25 kB / 1.015 GB, free: 104.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04801/2.125, allocations: 20.66 MB / 1.036 GB, free: 104.5 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04747/2.173, allocations: 16.86 MB / 1.052 GB, free: 104.4 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008131/2.181, allocations: 2.163 MB / 1.054 GB, free: 104.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04259/2.224, allocations: 31.51 MB / 1.085 GB, free: 77.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01071/2.235, allocations: 0.5891 MB / 1.086 GB, free: 77.21 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003299/2.238, allocations: 0.5691 MB / 1.086 GB, free: 76.64 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 869 * Number of states: 0 () * Number of discrete variables: 63 (rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],bodyCylinder4.color[3],bodyCylinder4.color[2],bodyCylinder4.color[1],bodyCylinder4.body.sphereColor[3],bodyCylinder4.body.sphereColor[2],bodyCylinder4.body.sphereColor[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedRotation2.color[3],fixedRotation2.color[2],fixedRotation2.color[1],bodyCylinder3.color[3],bodyCylinder3.color[2],bodyCylinder3.color[1],bodyCylinder3.body.sphereColor[3],bodyCylinder3.body.sphereColor[2],bodyCylinder3.body.sphereColor[1],spherical2.sphereColor[3],spherical2.sphereColor[2],spherical2.sphereColor[1],fixed.color[3],fixed.color[2],fixed.color[1],bodyCylinder2.color[3],bodyCylinder2.color[2],bodyCylinder2.color[1],bodyCylinder2.body.sphereColor[3],bodyCylinder2.body.sphereColor[2],bodyCylinder2.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],bodyCylinder1.color[3],bodyCylinder1.color[2],bodyCylinder1.color[1],bodyCylinder1.body.sphereColor[3],bodyCylinder1.body.sphereColor[2],bodyCylinder1.body.sphereColor[1],spherical1.sphereColor[3],spherical1.sphereColor[2],spherical1.sphereColor[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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1114): * Single equations (assignments): 1101 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 38,(5,100.0%) 40} * Non-linear torn systems: 2 {4 9,4 9} Notification: Performance of prepare postOptimizeDAE: time 0.005239/2.243, allocations: 0.5944 MB / 1.087 GB, free: 76.16 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02126/2.264, allocations: 9.71 MB / 1.096 GB, free: 66.38 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002257/2.267, allocations: 0.6248 MB / 1.097 GB, free: 65.75 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02082/2.288, allocations: 9.813 MB / 1.106 GB, free: 55.86 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01639/2.304, allocations: 8.603 MB / 1.115 GB, free: 47.19 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.507e-05/2.304, allocations: 16 kB / 1.115 GB, free: 47.17 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001389/2.304, allocations: 19.94 kB / 1.115 GB, free: 47.15 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05084/2.355, allocations: 22.25 MB / 1.136 GB, free: 24.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-05/2.355, allocations: 0 / 1.136 GB, free: 24.84 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003174/2.358, allocations: 0.5572 MB / 1.137 GB, free: 24.28 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01248/2.371, allocations: 3.958 MB / 1.141 GB, free: 20.33 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001226/2.372, allocations: 63.92 kB / 1.141 GB, free: 20.27 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4247/2.797, allocations: 22.72 MB / 1.163 GB, free: 111.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002059/2.799, allocations: 2.876 MB / 1.166 GB, free: 108.8 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03413/2.833, allocations: 15.07 MB / 1.181 GB, free: 107.7 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002814/2.836, allocations: 0.6439 MB / 1.181 GB, free: 107.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003092/2.839, allocations: 37.61 kB / 1.181 GB, free: 107.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006595/2.846, allocations: 305.6 kB / 1.182 GB, free: 107.6 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002105/2.848, allocations: 249.2 kB / 1.182 GB, free: 107.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001075/2.849, allocations: 98.81 kB / 1.182 GB, free: 107.6 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.01034/2.86, allocations: 3.865 MB / 1.186 GB, free: 107.3 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.21e-07/2.86, allocations: 0 / 1.186 GB, free: 107.3 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01415/2.874, allocations: 1.911 MB / 1.188 GB, free: 107.3 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 16 ($STATESET4.x[3],$STATESET4.x[2],$STATESET4.x[1],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],fixedRotation1.frame_b.R.w[1],fixedRotation1.frame_b.R.w[2],fixedRotation1.frame_b.R.w[3],revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,rotor1D.rotorWith3DEffects.w_a[1],rotor1D.rotorWith3DEffects.w_a[2],rotor1D.rotorWith3DEffects.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (242): * Single equations (assignments): 231 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(5,100.0%) 35,(1,100.0%) 1,(3,100.0%) 33,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02709/2.901, allocations: 16.03 MB / 1.203 GB, free: 105.4 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02026/2.921, allocations: 11.38 MB / 1.214 GB, free: 104.6 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/2.921, allocations: 2.938 kB / 1.214 GB, free: 104.6 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.00762/2.929, allocations: 4.99 MB / 1.219 GB, free: 103.5 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00603/2.935, allocations: 0.8018 MB / 1.22 GB, free: 103.2 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05182/2.987, allocations: 18.19 MB / 1.238 GB, free: 97.16 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01144/2.998, allocations: 5.503 MB / 1.243 GB, free: 95.44 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01105/3.009, allocations: 3.158 MB / 1.246 GB, free: 95.38 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008265/3.018, allocations: 3.651 MB / 1.25 GB, free: 92.39 MB / 0.5573 GB Notification: Performance of SimCode: time 1.172e-06/3.018, allocations: 3.188 kB / 1.25 GB, free: 92.39 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5794/3.597, allocations: 164.2 MB / 1.41 GB, free: 120.4 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001782/3.597, allocations: 137.6 kB / 1.41 GB, free: 120.3 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.325/10.92, allocations: 0 / 1.41 GB, free: 120.3 MB / 0.573 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_1_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-08 ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_1.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1_res.mat does not exist to compare? outputFormat=mat