Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.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_1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1,fileNamePrefix="ModelicaTest_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001488/0.001488, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.552/1.552, allocations: 205.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008408/0.0008408, allocations: 94.14 kB / 261.8 MB, free: 1.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2145/0.2145, allocations: 43.49 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.591e-05/1.608e-05, allocations: 4 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.108, allocations: 58.86 MB / 477.2 MB, free: 1.543 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4452/0.5533, allocations: 108.1 MB / 0.5716 GB, free: 3.613 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002872/0.5536, allocations: 86.55 kB / 0.5717 GB, free: 3.57 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6597/1.213, allocations: 145.6 MB / 0.7139 GB, free: 94.16 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.937e-06/1.213, allocations: 1.438 kB / 0.7139 GB, free: 94.16 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.001371/1.215, allocations: 151 kB / 0.714 GB, free: 94.16 MB / 0.4948 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.04818/1.263, allocations: 8.564 MB / 0.7224 GB, free: 91.57 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.648e-05/1.263, allocations: 9.594 kB / 0.7224 GB, free: 91.57 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06319/1.326, allocations: 16.69 MB / 0.7387 GB, free: 91.06 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03506/1.361, allocations: 13.31 MB / 0.7517 GB, free: 89.98 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005058/1.362, allocations: 214.3 kB / 0.7519 GB, free: 89.98 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00355/1.365, allocations: 414 kB / 0.7523 GB, free: 89.97 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01884/1.384, allocations: 9.012 MB / 0.7611 GB, free: 89.94 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03208/1.416, allocations: 14.16 MB / 0.7749 GB, free: 85.89 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006696/1.417, allocations: 107.5 kB / 0.775 GB, free: 85.88 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003261/1.42, allocations: 47.44 kB / 0.7751 GB, free: 85.88 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002455/1.423, allocations: 1.476 MB / 0.7765 GB, free: 85.86 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08716/1.51, allocations: 74.62 MB / 0.8494 GB, free: 32.16 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007158/1.517, allocations: 5.333 MB / 0.8546 GB, free: 27.16 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004862/1.522, allocations: 4.016 MB / 0.8585 GB, free: 23.5 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001742/1.524, allocations: 1.347 MB / 0.8598 GB, free: 22.06 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.205e-05/1.524, allocations: 60.56 kB / 0.8599 GB, free: 21.99 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=268): time 9.468e-06/1.524, allocations: 0 / 0.8599 GB, free: 21.99 MB / 0.4948 GB Notification: Performance of matching and sorting (n=350): time 0.1229/1.647, allocations: 43.66 MB / 0.9025 GB, free: 1.016 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002421/1.647, allocations: 265.5 kB / 0.9028 GB, free: 0.6992 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.401/2.048, allocations: 5.662 MB / 0.9083 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001597/2.05, allocations: 27.02 kB / 0.9083 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.006422/2.057, allocations: 5.266 MB / 0.9135 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002656/2.059, allocations: 1.303 MB / 0.9147 GB, free: 101 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009561/2.06, allocations: 1.375 kB / 0.9147 GB, free: 101 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0006481/2.061, allocations: 0.7118 MB / 0.9154 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008504/2.069, allocations: 4.327 MB / 0.9197 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01071/2.08, allocations: 9.707 MB / 0.9291 GB, free: 93.75 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0103/2.09, allocations: 6.35 MB / 0.9353 GB, free: 93.71 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002491/2.091, allocations: 55.97 kB / 0.9354 GB, free: 93.71 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1260) (initialization): time 0.0739/2.165, allocations: 30.24 MB / 0.9649 GB, free: 93.01 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000568/2.165, allocations: 85.78 kB / 0.965 GB, free: 93.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.05186/2.217, allocations: 20.33 MB / 0.9849 GB, free: 92.41 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04655/2.264, allocations: 16.53 MB / 1.001 GB, free: 91.58 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008989/2.273, allocations: 2.156 MB / 1.003 GB, free: 91.22 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04305/2.316, allocations: 31.49 MB / 1.034 GB, free: 60.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01307/2.329, allocations: 0.5966 MB / 1.034 GB, free: 59.46 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003788/2.333, allocations: 0.5702 MB / 1.035 GB, free: 58.89 MB / 0.5105 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.005303/2.338, allocations: 0.5898 MB / 1.036 GB, free: 58.42 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02225/2.361, allocations: 9.712 MB / 1.045 GB, free: 48.64 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002861/2.364, allocations: 0.6286 MB / 1.046 GB, free: 48 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02116/2.385, allocations: 9.813 MB / 1.055 GB, free: 38.11 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01551/2.4, allocations: 8.615 MB / 1.064 GB, free: 29.43 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.353e-05/2.4, allocations: 16 kB / 1.064 GB, free: 29.41 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.561e-05/2.4, allocations: 19.94 kB / 1.064 GB, free: 29.39 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04961/2.45, allocations: 22.27 MB / 1.085 GB, free: 7.055 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.028e-05/2.45, allocations: 4 kB / 1.085 GB, free: 7.051 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003379/2.454, allocations: 0.557 MB / 1.086 GB, free: 6.496 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01276/2.466, allocations: 3.958 MB / 1.09 GB, free: 2.566 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001338/2.468, allocations: 55.25 kB / 1.09 GB, free: 2.516 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4201/2.888, allocations: 22.72 MB / 1.112 GB, free: 98.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002539/2.891, allocations: 2.876 MB / 1.115 GB, free: 95.88 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03141/2.922, allocations: 15.08 MB / 1.13 GB, free: 94.65 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005464/2.928, allocations: 1.312 MB / 1.131 GB, free: 94.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003455/2.931, allocations: 35.42 kB / 1.131 GB, free: 94.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006423/2.938, allocations: 309 kB / 1.131 GB, free: 94.55 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001809/2.939, allocations: 246.7 kB / 1.131 GB, free: 94.55 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00102/2.94, allocations: 99 kB / 1.132 GB, free: 94.55 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01086/2.951, allocations: 3.907 MB / 1.135 GB, free: 94.34 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.92e-07/2.951, allocations: 0 / 1.135 GB, free: 94.34 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01571/2.967, allocations: 1.907 MB / 1.137 GB, free: 94.34 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 16 ($STATESET49.x[3],$STATESET49.x[2],$STATESET49.x[1],$STATESET48.x[3],$STATESET48.x[2],$STATESET48.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.03155/2.999, allocations: 16.03 MB / 1.153 GB, free: 91.82 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02096/3.02, allocations: 11.38 MB / 1.164 GB, free: 87.73 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.827e-06/3.02, allocations: 0 / 1.164 GB, free: 87.73 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.008427/3.028, allocations: 4.99 MB / 1.169 GB, free: 85.31 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007521/3.036, allocations: 0.7983 MB / 1.17 GB, free: 85.01 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05826/3.094, allocations: 18.26 MB / 1.187 GB, free: 78.95 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.012/3.106, allocations: 5.512 MB / 1.193 GB, free: 77.23 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01053/3.117, allocations: 3.167 MB / 1.196 GB, free: 77.17 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007983/3.125, allocations: 3.657 MB / 1.2 GB, free: 74.18 MB / 0.5261 GB Notification: Performance of SimCode: time 1.172e-06/3.125, allocations: 3.688 kB / 1.2 GB, free: 74.18 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6068/3.732, allocations: 164.7 MB / 1.36 GB, free: 94.43 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001517/3.732, allocations: 137.3 kB / 1.361 GB, free: 94.23 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.594/11.33, allocations: 0 / 1.361 GB, free: 94.23 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_1_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-08 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_1.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1_res.mat does not exist to compare? outputFormat=mat