Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.001446/0.001446, allocations: 179.4 kB / 8.364 MB, free: 0.7148 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.994/1.994, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001117/0.001117, allocations: 86.81 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2959/0.2959, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.628e-05/2.617e-05, allocations: 4 kB / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4131/0.4132, allocations: 58.85 MB / 477.2 MB, free: 5.16 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2034/0.6166, allocations: 108.1 MB / 0.5716 GB, free: 7.066 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003241/0.617, allocations: 87.45 kB / 0.5717 GB, free: 6.984 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.203/1.82, allocations: 145.6 MB / 0.7139 GB, free: 93.45 MB / 475.1 MB Notification: Performance of FrontEnd: time 2.534e-06/1.82, allocations: 0 / 0.7139 GB, free: 93.45 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.0008176/1.821, allocations: 144.7 kB / 0.714 GB, free: 93.45 MB / 475.1 MB 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.06004/1.881, allocations: 8.569 MB / 0.7224 GB, free: 85.44 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.447e-05/1.881, allocations: 12.03 kB / 0.7224 GB, free: 85.43 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.117/1.998, allocations: 16.69 MB / 0.7387 GB, free: 68.7 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05969/2.058, allocations: 13.31 MB / 0.7517 GB, free: 55.45 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006151/2.058, allocations: 216 kB / 0.7519 GB, free: 55.24 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004594/2.063, allocations: 411.7 kB / 0.7523 GB, free: 54.84 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03151/2.095, allocations: 9.002 MB / 0.7611 GB, free: 45.83 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03801/2.133, allocations: 14.17 MB / 0.7749 GB, free: 30.15 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005584/2.133, allocations: 111 kB / 0.775 GB, free: 30.04 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003043/2.136, allocations: 48 kB / 0.775 GB, free: 29.99 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003497/2.14, allocations: 1.473 MB / 0.7765 GB, free: 28.52 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5343/2.674, allocations: 74.61 MB / 0.8493 GB, free: 70.56 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01205/2.686, allocations: 5.331 MB / 0.8546 GB, free: 69.89 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008736/2.695, allocations: 4.02 MB / 0.8585 GB, free: 69.86 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002949/2.698, allocations: 1.347 MB / 0.8598 GB, free: 68.73 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.514e-05/2.698, allocations: 64.59 kB / 0.8599 GB, free: 68.68 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=268): time 6.633e-06/2.698, allocations: 1.125 kB / 0.8599 GB, free: 68.68 MB / 0.4952 GB Notification: Performance of matching and sorting (n=350): time 0.2294/2.928, allocations: 43.21 MB / 0.902 GB, free: 60.14 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001142/2.928, allocations: 272.9 kB / 0.9023 GB, free: 59.85 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01511/2.943, allocations: 5.67 MB / 0.9078 GB, free: 57.88 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 0.001145/2.944, allocations: 28.08 kB / 0.9079 GB, free: 57.85 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.004886/2.949, allocations: 5.007 MB / 0.9128 GB, free: 53.92 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 0.002436/2.952, allocations: 1.298 MB / 0.914 GB, free: 52.96 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001576/2.953, allocations: 3.594 kB / 0.914 GB, free: 52.96 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 0.0008626/2.954, allocations: 0.7121 MB / 0.9147 GB, free: 52.48 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0104/2.965, allocations: 4.323 MB / 0.919 GB, free: 50.87 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01427/2.979, allocations: 9.706 MB / 0.9284 GB, free: 41.26 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01385/2.993, allocations: 6.353 MB / 0.9346 GB, free: 36.23 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002433/2.993, allocations: 58.81 kB / 0.9347 GB, free: 36.17 MB / 0.4952 GB Notification: Performance of matching and sorting (n=1260) (initialization): time 0.1198/3.113, allocations: 29.96 MB / 0.964 GB, free: 16.29 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001407/3.113, allocations: 88 kB / 0.964 GB, free: 16.21 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.08626/3.199, allocations: 20.33 MB / 0.9839 GB, free: 11.84 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09195/3.291, allocations: 16.53 MB / 1 GB, free: 11.27 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01463/3.306, allocations: 2.159 MB / 1.002 GB, free: 9.113 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08303/3.389, allocations: 31.5 MB / 1.033 GB, free: 9.16 MB / 0.5577 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01391/3.403, allocations: 0.5886 MB / 1.033 GB, free: 8.57 MB / 0.5577 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003008/3.406, allocations: 0.578 MB / 1.034 GB, free: 7.992 MB / 0.5577 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.004493/3.411, allocations: 0.5934 MB / 1.035 GB, free: 7.395 MB / 0.5577 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03611/3.447, allocations: 9.716 MB / 1.044 GB, free: 13.57 MB / 0.5733 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002865/3.45, allocations: 0.6364 MB / 1.045 GB, free: 12.93 MB / 0.5733 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03794/3.488, allocations: 9.806 MB / 1.054 GB, free: 3.004 MB / 0.5733 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.4188/3.907, allocations: 8.59 MB / 1.063 GB, free: 177.1 MB / 0.5733 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.459e-05/3.907, allocations: 16.88 kB / 1.063 GB, free: 177.1 MB / 0.5733 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001309/3.907, allocations: 18.48 kB / 1.063 GB, free: 177.1 MB / 0.5733 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07797/3.985, allocations: 22.28 MB / 1.084 GB, free: 175.8 MB / 0.5733 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-05/3.985, allocations: 0 / 1.084 GB, free: 175.8 MB / 0.5733 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005609/3.991, allocations: 0.5552 MB / 1.085 GB, free: 175.8 MB / 0.5733 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02671/4.017, allocations: 3.965 MB / 1.089 GB, free: 175.7 MB / 0.5733 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0014/4.019, allocations: 51.22 kB / 1.089 GB, free: 175.7 MB / 0.5733 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.061/4.08, allocations: 22.73 MB / 1.111 GB, free: 163.8 MB / 0.5733 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003259/4.083, allocations: 2.876 MB / 1.114 GB, free: 161.1 MB / 0.5733 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04201/4.125, allocations: 15.07 MB / 1.129 GB, free: 155.3 MB / 0.5733 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005776/4.131, allocations: 1.317 MB / 1.13 GB, free: 154.9 MB / 0.5733 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002314/4.133, allocations: 35.17 kB / 1.13 GB, free: 154.9 MB / 0.5733 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007731/4.141, allocations: 303.3 kB / 1.13 GB, free: 154.9 MB / 0.5733 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001708/4.143, allocations: 253.2 kB / 1.131 GB, free: 154.9 MB / 0.5733 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005607/4.144, allocations: 100.8 kB / 1.131 GB, free: 154.8 MB / 0.5733 GB Notification: Performance of sorting global known variables: time 0.01098/4.155, allocations: 3.903 MB / 1.134 GB, free: 153.5 MB / 0.5733 GB Notification: Performance of sort global known variables: time 8.92e-07/4.155, allocations: 0 / 1.134 GB, free: 153.5 MB / 0.5733 GB Notification: Performance of remove unused functions: time 0.01464/4.169, allocations: 1.906 MB / 1.136 GB, free: 153.5 MB / 0.5733 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 16 ($STATESET139732137992585.x[3],$STATESET139732137992585.x[2],$STATESET139732137992585.x[1],$STATESET139732137992584.x[3],$STATESET139732137992584.x[2],$STATESET139732137992584.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.04202/4.211, allocations: 16.01 MB / 1.152 GB, free: 146.6 MB / 0.5733 GB Notification: Performance of simCode: created initialization part: time 0.02598/4.237, allocations: 11.39 MB / 1.163 GB, free: 136.7 MB / 0.5733 GB Notification: Performance of simCode: created event and clocks part: time 1.017e-05/4.237, allocations: 4 kB / 1.163 GB, free: 136.7 MB / 0.5733 GB Notification: Performance of simCode: created simulation system equations: time 0.01167/4.249, allocations: 5 MB / 1.168 GB, free: 132.1 MB / 0.5733 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007877/4.257, allocations: 0.8061 MB / 1.169 GB, free: 131.5 MB / 0.5733 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06657/4.324, allocations: 19.08 MB / 1.187 GB, free: 115.5 MB / 0.5733 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01287/4.337, allocations: 5.523 MB / 1.193 GB, free: 111.5 MB / 0.5733 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00933/4.346, allocations: 3.714 MB / 1.196 GB, free: 108.1 MB / 0.5733 GB Notification: Performance of SimCode: time 1.432e-06/4.346, allocations: 0 / 1.196 GB, free: 108.1 MB / 0.5733 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 7.217/11.56, allocations: 356.7 MB / 1.545 GB, free: 159 MB / 0.5733 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_1_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-08 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_1.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1_res.mat does not exist to compare? outputFormat=mat