Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.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.InitializationConversion.Rotor1D,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_InitializationConversion_Rotor1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Rotor1D,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_InitializationConversion_Rotor1D",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.001715/0.001715, allocations: 188.9 kB / 16.41 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.023/2.023, allocations: 205.4 MB / 222.5 MB, free: 9.109 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001192/0.001192, allocations: 94.14 kB / 270.9 MB, free: 8.359 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.5268/0.5268, allocations: 43.55 MB / 362.7 MB, free: 51.97 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004942/0.0004942, allocations: 8 kB / 431.5 MB, free: 5.848 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1318, allocations: 58.84 MB / 490.3 MB, free: 10.92 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4775/0.6093, allocations: 94.95 MB / 0.5715 GB, free: 7.418 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002996/0.6097, allocations: 83.95 kB / 0.5716 GB, free: 7.336 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3989/1.009, allocations: 90.63 MB / 0.6601 GB, free: 12.11 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.736e-06/1.009, allocations: 0 / 0.6601 GB, free: 12.11 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000424/1.009, allocations: 96 kB / 0.6602 GB, free: 12.02 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: 1705 * Number of variables: 1705 Notification: Performance of Generate backend data structure: time 0.1258/1.135, allocations: 9.987 MB / 0.67 GB, free: 1.949 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.95e-05/1.135, allocations: 12.03 kB / 0.67 GB, free: 1.938 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004971/1.14, allocations: 0.8455 MB / 0.6708 GB, free: 1.082 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3742/1.514, allocations: 2.072 MB / 0.6728 GB, free: 81.96 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01289/1.527, allocations: 3.417 MB / 0.6762 GB, free: 81.7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000547/1.528, allocations: 344.4 kB / 0.6765 GB, free: 81.68 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003976/1.532, allocations: 485.2 kB / 0.677 GB, free: 81.67 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06647/1.598, allocations: 15.43 MB / 0.692 GB, free: 79.02 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003041/1.599, allocations: 59.5 kB / 0.6921 GB, free: 79.02 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002123/1.601, allocations: 218.2 kB / 0.6923 GB, free: 79.02 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004107/1.605, allocations: 1.123 MB / 0.6934 GB, free: 79.01 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06628/1.671, allocations: 15.36 MB / 0.7084 GB, free: 78.96 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1112/1.783, allocations: 55.63 MB / 0.7627 GB, free: 41.79 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.08949/1.872, allocations: 7.241 MB / 0.7698 GB, free: 40.24 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01357/1.886, allocations: 6.566 MB / 0.7762 GB, free: 35.66 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.415e-05/1.886, allocations: 54.91 kB / 0.7762 GB, free: 35.61 MB / 490.7 MB Notification: Performance of pre-optimization done (n=176): time 6.082e-06/1.886, allocations: 0.6562 kB / 0.7763 GB, free: 35.61 MB / 490.7 MB Notification: Performance of matching and sorting (n=176): time 0.01012/1.896, allocations: 4.002 MB / 0.7802 GB, free: 33.96 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.972e-05/1.896, allocations: 149.3 kB / 0.7803 GB, free: 33.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0115/1.908, allocations: 4.292 MB / 0.7845 GB, free: 32.21 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004004/1.908, allocations: 51.41 kB / 0.7845 GB, free: 32.16 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003239/1.911, allocations: 3.481 MB / 0.7879 GB, free: 29.39 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001349/1.913, allocations: 0.7297 MB / 0.7887 GB, free: 28.88 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009965/1.914, allocations: 134 kB / 0.7888 GB, free: 28.77 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0006244/1.914, allocations: 0.589 MB / 0.7894 GB, free: 28.34 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006105/1.921, allocations: 2.204 MB / 0.7915 GB, free: 27.62 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008943/1.93, allocations: 6.475 MB / 0.7978 GB, free: 20.95 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008803/1.938, allocations: 3.698 MB / 0.8014 GB, free: 19.43 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001617/1.939, allocations: 44.84 kB / 0.8015 GB, free: 19.43 MB / 490.7 MB Notification: Performance of matching and sorting (n=873) (initialization): time 0.02217/1.961, allocations: 8.326 MB / 0.8096 GB, free: 16.21 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001453/1.961, allocations: 68.38 kB / 0.8097 GB, free: 16.21 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002827/1.961, allocations: 152.9 kB / 0.8098 GB, free: 16.21 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002464/1.962, allocations: 222.9 kB / 0.81 GB, free: 16.21 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01034/1.972, allocations: 1.62 MB / 0.8116 GB, free: 16.02 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003473/1.972, allocations: 306.5 kB / 0.8119 GB, free: 15.95 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008568/1.981, allocations: 0.9202 MB / 0.8128 GB, free: 15.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001776/1.983, allocations: 449.9 kB / 0.8132 GB, free: 15.19 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 695 * Number of states: 0 () * Number of discrete variables: 42 (rotor1D10.cylinderColor[3],rotor1D10.cylinderColor[2],rotor1D10.cylinderColor[1],rotor1D9.cylinderColor[3],rotor1D9.cylinderColor[2],rotor1D9.cylinderColor[1],rotor1D8.cylinderColor[3],rotor1D8.cylinderColor[2],rotor1D8.cylinderColor[1],rotor1D7.cylinderColor[3],rotor1D7.cylinderColor[2],rotor1D7.cylinderColor[1],rotor1D6.cylinderColor[3],rotor1D6.cylinderColor[2],rotor1D6.cylinderColor[1],rotor1D5.cylinderColor[3],rotor1D5.cylinderColor[2],rotor1D5.cylinderColor[1],rotor1D4.cylinderColor[3],rotor1D4.cylinderColor[2],rotor1D4.cylinderColor[1],rotor1D3.cylinderColor[3],rotor1D3.cylinderColor[2],rotor1D3.cylinderColor[1],rotor1D2.cylinderColor[3],rotor1D2.cylinderColor[2],rotor1D2.cylinderColor[1],rotor1D1.cylinderColor[3],rotor1D1.cylinderColor[2],rotor1D1.cylinderColor[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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (849): * Single equations (assignments): 846 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006307/1.989, allocations: 2.301 MB / 0.8155 GB, free: 13.15 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00112/1.99, allocations: 398.8 kB / 0.8159 GB, free: 12.75 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006507/1.997, allocations: 2.547 MB / 0.8184 GB, free: 10.65 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.8e-05/1.997, allocations: 20 kB / 0.8184 GB, free: 10.63 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-05/1.997, allocations: 0 / 0.8184 GB, free: 10.63 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.733e-05/1.997, allocations: 14.12 kB / 0.8184 GB, free: 10.62 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01142/2.008, allocations: 4.289 MB / 0.8226 GB, free: 7.27 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.545e-05/2.009, allocations: 4 kB / 0.8226 GB, free: 7.266 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003839/2.012, allocations: 345.5 kB / 0.8229 GB, free: 6.98 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-05/2.012, allocations: 11.47 kB / 0.8229 GB, free: 6.973 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003005/2.013, allocations: 39.94 kB / 0.823 GB, free: 6.938 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.416e-05/2.013, allocations: 8 kB / 0.823 GB, free: 6.93 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/2.013, allocations: 0 / 0.823 GB, free: 6.93 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00961/2.022, allocations: 4.894 MB / 0.8277 GB, free: 2.539 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001636/2.024, allocations: 0.4905 MB / 0.8282 GB, free: 2.043 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001231/2.025, allocations: 32 kB / 0.8283 GB, free: 2.012 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002975/2.028, allocations: 66.66 kB / 0.8283 GB, free: 1.969 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000453/2.029, allocations: 94.41 kB / 0.8284 GB, free: 1.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001827/2.029, allocations: 51.84 kB / 0.8285 GB, free: 1.863 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.007964/2.037, allocations: 2.998 MB / 0.8314 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.61e-07/2.037, allocations: 6.719 kB / 0.8314 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.008527/2.046, allocations: 1.347 MB / 0.8327 GB, free: 14.04 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 20 (rotor1D1.phi,rotor1D1.w,rotor1D2.phi,rotor1D2.w,rotor1D3.phi,rotor1D3.w,rotor1D4.phi,rotor1D4.w,rotor1D5.phi,rotor1D5.w,rotor1D6.phi,rotor1D6.w,rotor1D7.phi,rotor1D7.w,rotor1D8.phi,rotor1D8.w,rotor1D9.phi,rotor1D9.w,rotor1D10.phi,rotor1D10.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 (172): * Single equations (assignments): 169 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01278/2.058, allocations: 5.7 MB / 0.8383 GB, free: 8.852 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0133/2.072, allocations: 4.997 MB / 0.8432 GB, free: 4.535 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/2.072, allocations: 0 / 0.8432 GB, free: 4.535 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003458/2.075, allocations: 1.277 MB / 0.8444 GB, free: 3.434 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003963/2.079, allocations: 483 kB / 0.8449 GB, free: 3.027 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.495/2.574, allocations: 144.6 MB / 0.986 GB, free: 40.17 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008777/2.583, allocations: 3.682 MB / 0.9896 GB, free: 39.36 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006085/2.589, allocations: 2.257 MB / 0.9918 GB, free: 39.35 MB / 0.5573 GB Notification: Performance of SimCode: time 1.703e-06/2.589, allocations: 0 / 0.9918 GB, free: 39.35 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.442/7.032, allocations: 93.74 MB / 1.083 GB, free: 6.875 MB / 0.5573 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.InitializationConversion.Rotor1D_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_InitializationConversion_Rotor1D_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_InitializationConversion_Rotor1D.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.InitializationConversion.Rotor1D_res.mat does not exist to compare? outputFormat=mat