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.001511/0.001511, allocations: 181.4 kB / 13.66 MB, free: 1.664 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.046/2.046, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001163/0.001163, allocations: 94.61 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3306/0.3306, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.108e-05/4.121e-05, allocations: 8 kB / 425.4 MB, free: 23.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.125, allocations: 58.85 MB / 484.2 MB, free: 12.39 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5126/0.6376, allocations: 94.87 MB / 0.5655 GB, free: 8.414 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002869/0.6379, allocations: 75.09 kB / 0.5656 GB, free: 8.379 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4771/1.115, allocations: 90.71 MB / 0.6542 GB, free: 5.871 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.184e-06/1.115, allocations: 7.938 kB / 0.6542 GB, free: 5.863 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004331/1.116, allocations: 96 kB / 0.6543 GB, free: 5.77 MB / 458.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.1552/1.271, allocations: 9.671 MB / 0.6637 GB, free: 12.02 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.896e-05/1.271, allocations: 12.03 kB / 0.6637 GB, free: 12.01 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004884/1.276, allocations: 0.8455 MB / 0.6646 GB, free: 11.16 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01649/1.292, allocations: 2.076 MB / 0.6666 GB, free: 9.07 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.014/1.306, allocations: 3.41 MB / 0.6699 GB, free: 5.602 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005979/1.307, allocations: 345.1 kB / 0.6703 GB, free: 5.262 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003963/1.311, allocations: 479.5 kB / 0.6707 GB, free: 4.793 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07845/1.39, allocations: 15.34 MB / 0.6857 GB, free: 4.445 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003639/1.39, allocations: 59.45 kB / 0.6858 GB, free: 4.387 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003162/1.393, allocations: 219.9 kB / 0.686 GB, free: 4.172 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004828/1.398, allocations: 1.117 MB / 0.6871 GB, free: 3.051 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07114/1.469, allocations: 15.18 MB / 0.7019 GB, free: 3.844 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4891/1.958, allocations: 55.62 MB / 0.7562 GB, free: 80.61 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.09097/2.049, allocations: 7.224 MB / 0.7632 GB, free: 79.93 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00678/2.056, allocations: 2.812 MB / 0.766 GB, free: 79.9 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01427/2.071, allocations: 6.56 MB / 0.7724 GB, free: 76.3 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.927e-05/2.071, allocations: 53.56 kB / 0.7725 GB, free: 76.27 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=176): time 8.025e-06/2.071, allocations: 0 / 0.7725 GB, free: 76.27 MB / 0.4948 GB Notification: Performance of matching and sorting (n=176): time 0.007058/2.078, allocations: 2.698 MB / 0.7751 GB, free: 75.98 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.577e-05/2.078, allocations: 147.7 kB / 0.7752 GB, free: 75.83 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01148/2.089, allocations: 4.242 MB / 0.7794 GB, free: 75.39 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004339/2.09, allocations: 51.27 kB / 0.7794 GB, free: 75.34 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003262/2.093, allocations: 3.488 MB / 0.7828 GB, free: 72.91 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001257/2.094, allocations: 0.7201 MB / 0.7835 GB, free: 72.41 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000901/2.095, allocations: 134.3 kB / 0.7837 GB, free: 72.3 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005516/2.096, allocations: 0.5875 MB / 0.7842 GB, free: 71.87 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005795/2.102, allocations: 2.162 MB / 0.7863 GB, free: 71.15 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008934/2.111, allocations: 6.436 MB / 0.7926 GB, free: 64.67 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008837/2.12, allocations: 3.701 MB / 0.7962 GB, free: 63.45 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001866/2.12, allocations: 47.19 kB / 0.7963 GB, free: 63.45 MB / 0.4948 GB Notification: Performance of matching and sorting (n=873) (initialization): time 0.02273/2.143, allocations: 8.242 MB / 0.8043 GB, free: 60.78 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000129/2.143, allocations: 69.44 kB / 0.8044 GB, free: 60.78 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002804/2.143, allocations: 156.6 kB / 0.8045 GB, free: 60.78 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002603/2.143, allocations: 220.6 kB / 0.8048 GB, free: 60.78 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01076/2.154, allocations: 1.624 MB / 0.8063 GB, free: 60.58 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003455/2.155, allocations: 299.1 kB / 0.8066 GB, free: 60.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009086/2.164, allocations: 0.9274 MB / 0.8075 GB, free: 59.92 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001796/2.166, allocations: 448.9 kB / 0.808 GB, free: 59.86 MB / 0.4948 GB 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 () * 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.002183/2.168, allocations: 0.626 MB / 0.8086 GB, free: 59.34 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001127/2.169, allocations: 405.1 kB / 0.809 GB, free: 59.12 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006848/2.176, allocations: 2.519 MB / 0.8114 GB, free: 58.16 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.624e-05/2.176, allocations: 19.81 kB / 0.8114 GB, free: 58.16 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-05/2.176, allocations: 0 / 0.8114 GB, free: 58.16 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.114e-05/2.176, allocations: 13.02 kB / 0.8115 GB, free: 58.16 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01234/2.188, allocations: 4.289 MB / 0.8156 GB, free: 56.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.744e-05/2.188, allocations: 10.34 kB / 0.8157 GB, free: 56.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003969/2.192, allocations: 342.5 kB / 0.816 GB, free: 56.57 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.622e-05/2.193, allocations: 6.812 kB / 0.816 GB, free: 56.57 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004027/2.193, allocations: 41.58 kB / 0.816 GB, free: 56.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-05/2.193, allocations: 7.438 kB / 0.816 GB, free: 56.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/2.193, allocations: 3.406 kB / 0.816 GB, free: 56.55 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01012/2.203, allocations: 4.855 MB / 0.8208 GB, free: 54.38 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001567/2.205, allocations: 0.4913 MB / 0.8213 GB, free: 54 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001475/2.206, allocations: 34.94 kB / 0.8213 GB, free: 53.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00348/2.21, allocations: 63.23 kB / 0.8214 GB, free: 53.96 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000614/2.21, allocations: 96 kB / 0.8214 GB, free: 53.94 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001999/2.211, allocations: 53.22 kB / 0.8215 GB, free: 53.93 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.008107/2.219, allocations: 2.95 MB / 0.8244 GB, free: 51.7 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9.02e-07/2.219, allocations: 0 / 0.8244 GB, free: 51.7 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.008018/2.227, allocations: 1.35 MB / 0.8257 GB, free: 50.36 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 () * 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.01079/2.238, allocations: 5.674 MB / 0.8312 GB, free: 45.16 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01142/2.249, allocations: 4.949 MB / 0.8361 GB, free: 40.73 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/2.249, allocations: 3.938 kB / 0.8361 GB, free: 40.73 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002816/2.252, allocations: 1.256 MB / 0.8373 GB, free: 39.6 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003982/2.256, allocations: 490.5 kB / 0.8378 GB, free: 39.2 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03455/2.291, allocations: 10.84 MB / 0.8483 GB, free: 29.82 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008156/2.299, allocations: 3.682 MB / 0.8519 GB, free: 27.05 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00589/2.305, allocations: 2.262 MB / 0.8542 GB, free: 24.97 MB / 0.4948 GB Notification: Performance of SimCode: time 1.312e-06/2.305, allocations: 0 / 0.8542 GB, free: 24.97 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.794/7.099, allocations: 93.36 MB / 0.9453 GB, free: 111.4 MB / 0.5105 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