Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.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.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_InitializationConversion_Inertia",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.001732/0.001732, allocations: 182.5 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.933/1.933, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.000889/0.0008888, allocations: 99.64 kB / 267.1 MB, free: 9.277 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.5196/0.5196, allocations: 43.47 MB / 358.6 MB, free: 51.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.061e-05/4.065e-05, allocations: 4 kB / 425.4 MB, free: 8.098 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1705/0.1706, allocations: 58.84 MB / 484.2 MB, free: 13.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4882/0.6589, allocations: 86.03 MB / 0.5569 GB, free: 17.68 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002207/0.6592, allocations: 68.09 kB / 0.557 GB, free: 17.65 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01904/0.6782, allocations: 7.116 MB / 0.5639 GB, free: 13.54 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.514e-06/0.6783, allocations: 0 / 0.5639 GB, free: 13.54 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.751e-05/0.6783, allocations: 8 kB / 0.5639 GB, free: 13.53 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001036/0.6794, allocations: 0.6063 MB / 0.5645 GB, free: 12.95 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.092e-05/0.6794, allocations: 12.03 kB / 0.5645 GB, free: 12.94 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001097/0.6796, allocations: 90.62 kB / 0.5646 GB, free: 12.89 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.164e-05/0.6797, allocations: 47.44 kB / 0.5647 GB, free: 12.84 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001877/0.6798, allocations: 228.7 kB / 0.5649 GB, free: 12.58 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.547e-05/0.6799, allocations: 32.62 kB / 0.5649 GB, free: 12.56 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.359e-05/0.68, allocations: 58.47 kB / 0.565 GB, free: 12.52 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006819/0.6807, allocations: 442.4 kB / 0.5654 GB, free: 12.23 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.005e-05/0.6807, allocations: 7.906 kB / 0.5654 GB, free: 12.23 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.62e-05/0.6808, allocations: 20.25 kB / 0.5654 GB, free: 12.22 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.541e-05/0.6808, allocations: 15.95 kB / 0.5654 GB, free: 12.21 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003623/0.6811, allocations: 245 kB / 0.5657 GB, free: 12.05 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002302/0.6835, allocations: 1.702 MB / 0.5673 GB, free: 10.49 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004945/0.684, allocations: 412.3 kB / 0.5677 GB, free: 10.08 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001718/0.6842, allocations: 156.4 kB / 0.5679 GB, free: 9.934 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.39e-05/0.6842, allocations: 8 kB / 0.5679 GB, free: 9.926 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.6842, allocations: 53.31 kB / 0.5679 GB, free: 9.875 MB / 394.7 MB Notification: Performance of pre-optimization done (n=42): time 2.204e-06/0.6842, allocations: 0 / 0.5679 GB, free: 9.875 MB / 394.7 MB Notification: Performance of matching and sorting (n=42): time 0.0005834/0.6848, allocations: 272.6 kB / 0.5682 GB, free: 9.648 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001144/0.6849, allocations: 264.3 kB / 0.5684 GB, free: 9.332 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002203/0.6852, allocations: 216.9 kB / 0.5687 GB, free: 9.148 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.521e-05/0.6852, allocations: 36.83 kB / 0.5687 GB, free: 9.109 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001516/0.6854, allocations: 243.6 kB / 0.5689 GB, free: 8.902 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001248/0.6855, allocations: 187.8 kB / 0.5691 GB, free: 8.742 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.992e-05/0.6855, allocations: 12.06 kB / 0.5691 GB, free: 8.742 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.6856, allocations: 346.7 kB / 0.5694 GB, free: 8.41 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001707/0.6858, allocations: 113.8 kB / 0.5695 GB, free: 8.34 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003557/0.6862, allocations: 403.6 kB / 0.5699 GB, free: 7.867 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002465/0.6865, allocations: 187.8 kB / 0.5701 GB, free: 7.73 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.181e-06/0.6865, allocations: 4 kB / 0.5701 GB, free: 7.727 MB / 394.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0006854/0.6872, allocations: 0.5573 MB / 0.5707 GB, free: 7.277 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.142e-05/0.6872, allocations: 11.95 kB / 0.5707 GB, free: 7.266 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.472e-05/0.6872, allocations: 8 kB / 0.5707 GB, free: 7.258 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.162e-05/0.6873, allocations: 16 kB / 0.5707 GB, free: 7.242 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005014/0.6878, allocations: 179.5 kB / 0.5709 GB, free: 7.07 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.554e-05/0.6878, allocations: 19.92 kB / 0.5709 GB, free: 7.051 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002723/0.6881, allocations: 62.88 kB / 0.5709 GB, free: 7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.792e-05/0.6881, allocations: 39.75 kB / 0.571 GB, free: 6.969 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 86 * Array equations: 0 * 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.0001203/0.6883, allocations: 148.9 kB / 0.5711 GB, free: 6.836 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001763/0.6884, allocations: 35.88 kB / 0.5712 GB, free: 6.801 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.557e-05/0.6885, allocations: 44.09 kB / 0.5712 GB, free: 6.781 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.6886, allocations: 8 kB / 0.5712 GB, free: 6.773 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.218e-05/0.6886, allocations: 8 kB / 0.5712 GB, free: 6.766 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.869e-06/0.6886, allocations: 3.984 kB / 0.5712 GB, free: 6.762 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008786/0.6895, allocations: 417.9 kB / 0.5716 GB, free: 6.375 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.6895, allocations: 4 kB / 0.5716 GB, free: 6.371 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005017/0.69, allocations: 127.4 kB / 0.5717 GB, free: 6.25 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/0.69, allocations: 4 kB / 0.5717 GB, free: 6.246 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.96e-05/0.6901, allocations: 15.19 kB / 0.5718 GB, free: 6.238 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.833e-06/0.6901, allocations: 7.953 kB / 0.5718 GB, free: 6.23 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.6901, allocations: 7.5 kB / 0.5718 GB, free: 6.227 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007662/0.6908, allocations: 1.164 MB / 0.5729 GB, free: 5.082 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.923e-05/0.6909, allocations: 116.6 kB / 0.573 GB, free: 4.949 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.286e-05/0.691, allocations: 10.69 kB / 0.573 GB, free: 4.945 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003488/0.6913, allocations: 10.56 kB / 0.573 GB, free: 4.941 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.858e-05/0.6914, allocations: 31.22 kB / 0.5731 GB, free: 4.914 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.716e-05/0.6914, allocations: 19.55 kB / 0.5731 GB, free: 4.898 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001271/0.6915, allocations: 165.5 kB / 0.5733 GB, free: 4.758 MB / 394.7 MB Notification: Performance of sort global known variables: time 1e-07/0.6916, allocations: 0 / 0.5733 GB, free: 4.758 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007764/0.6923, allocations: 137.5 kB / 0.5734 GB, free: 4.641 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 24 (inertia1.phi,inertia1.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,inertia2.phi,inertia2.w,inertia7.phi,inertia7.w,inertia7a.phi,inertia7a.w,inertia6.phi,inertia6.w,inertia8.phi,inertia8.w,inertia8a.phi,inertia8a.w,inertia9.phi,inertia9.w,inertia9a.phi,inertia9a.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 42 * Array equations: 0 * 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.001068/0.6934, allocations: 2.262 MB / 0.5756 GB, free: 2.426 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004845/0.6939, allocations: 343.1 kB / 0.5759 GB, free: 2.16 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.6939, allocations: 1.938 kB / 0.5759 GB, free: 2.16 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001247/0.694, allocations: 123.4 kB / 0.576 GB, free: 2.062 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008782/0.6949, allocations: 83.33 kB / 0.5761 GB, free: 2 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002817/0.6978, allocations: 2.129 MB / 0.5782 GB, free: 15.89 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005867/0.6984, allocations: 0.8409 MB / 0.579 GB, free: 15.02 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002069/0.6986, allocations: 48.11 kB / 0.5791 GB, free: 14.97 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001784/0.6988, allocations: 138.3 kB / 0.5792 GB, free: 14.93 MB / 410.7 MB Notification: Performance of SimCode: time 7.82e-07/0.6988, allocations: 0 / 0.5792 GB, free: 14.93 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02384/0.7226, allocations: 7.476 MB / 0.5865 GB, free: 7.527 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002996/0.723, allocations: 182.7 kB / 0.5867 GB, free: 7.285 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.209/2.932, allocations: 3.938 kB / 0.5867 GB, free: 7.281 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Rotational_InitializationConversion_Inertia_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Rotational_InitializationConversion_Inertia.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat does not exist to compare? outputFormat=mat