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.001266/0.001266, allocations: 182.9 kB / 15.76 MB, free: 6.367 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.651/1.651, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001139/0.001139, allocations: 94.8 kB / 270.2 MB, free: 13.36 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.2217/0.2217, allocations: 43.56 MB / 362 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003848/0.0003848, allocations: 12 kB / 431.5 MB, free: 19.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1181, allocations: 58.86 MB / 490.3 MB, free: 8.562 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3722/0.4904, allocations: 86.12 MB / 0.563 GB, free: 13.5 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002537/0.4907, allocations: 65.03 kB / 0.563 GB, free: 13.46 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02751/0.5182, allocations: 7.093 MB / 0.5699 GB, free: 7.621 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.5182, allocations: 3.938 kB / 0.5699 GB, free: 7.617 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.766e-05/0.5183, allocations: 8 kB / 0.57 GB, free: 7.609 MB / 378.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.001696/0.52, allocations: 0.6365 MB / 0.5706 GB, free: 6.949 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.26e-05/0.52, allocations: 8.031 kB / 0.5706 GB, free: 6.941 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001592/0.5202, allocations: 90.14 kB / 0.5707 GB, free: 6.875 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001469/0.5204, allocations: 51.78 kB / 0.5707 GB, free: 6.824 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003318/0.5207, allocations: 222.3 kB / 0.5709 GB, free: 6.566 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.108e-05/0.5208, allocations: 32.12 kB / 0.571 GB, free: 6.551 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001537/0.521, allocations: 60.45 kB / 0.571 GB, free: 6.508 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001156/0.5221, allocations: 451.4 kB / 0.5714 GB, free: 6.156 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.833e-05/0.5222, allocations: 7.906 kB / 0.5715 GB, free: 6.148 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.401e-05/0.5223, allocations: 27.31 kB / 0.5715 GB, free: 6.137 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.033e-05/0.5223, allocations: 15.95 kB / 0.5715 GB, free: 6.121 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006083/0.5229, allocations: 254.8 kB / 0.5717 GB, free: 5.945 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003053/0.526, allocations: 1.703 MB / 0.5734 GB, free: 4.387 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007217/0.5267, allocations: 416.1 kB / 0.5738 GB, free: 3.977 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.606e-05/0.5268, allocations: 7.953 kB / 0.5738 GB, free: 3.969 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.513e-05/0.5268, allocations: 54.09 kB / 0.5739 GB, free: 3.91 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 2.715e-06/0.5268, allocations: 0 / 0.5739 GB, free: 3.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=42): time 0.001072/0.5279, allocations: 358.4 kB / 0.5742 GB, free: 3.633 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001506/0.5281, allocations: 265 kB / 0.5745 GB, free: 3.312 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003074/0.5284, allocations: 216.9 kB / 0.5747 GB, free: 3.125 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.516e-05/0.5284, allocations: 41.44 kB / 0.5747 GB, free: 3.082 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001874/0.5286, allocations: 234.2 kB / 0.5749 GB, free: 2.879 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001804/0.5288, allocations: 188.3 kB / 0.5751 GB, free: 2.719 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.712e-05/0.5289, allocations: 15.62 kB / 0.5751 GB, free: 2.715 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.529, allocations: 346.4 kB / 0.5754 GB, free: 2.383 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002721/0.5293, allocations: 111.8 kB / 0.5756 GB, free: 2.312 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005617/0.5299, allocations: 415.1 kB / 0.5759 GB, free: 1.828 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003846/0.5303, allocations: 180.7 kB / 0.5761 GB, free: 1.719 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.553e-06/0.5303, allocations: 4 kB / 0.5761 GB, free: 1.715 MB / 378.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001191/0.5315, allocations: 0.5652 MB / 0.5767 GB, free: 1.27 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.757e-05/0.5316, allocations: 11.95 kB / 0.5767 GB, free: 1.258 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.399e-05/0.5316, allocations: 12.84 kB / 0.5767 GB, free: 1.246 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.836e-05/0.5316, allocations: 16 kB / 0.5767 GB, free: 1.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009366/0.5326, allocations: 187.3 kB / 0.5769 GB, free: 1.055 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.425e-05/0.5326, allocations: 16.56 kB / 0.5769 GB, free: 1.039 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005166/0.5332, allocations: 64.92 kB / 0.577 GB, free: 0.9844 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-05/0.5333, allocations: 34.5 kB / 0.577 GB, free: 0.957 MB / 378.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 () * Number of clocked 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.0003114/0.5336, allocations: 186.1 kB / 0.5772 GB, free: 0.7969 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003616/0.534, allocations: 38.62 kB / 0.5772 GB, free: 0.7617 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001158/0.5341, allocations: 47.84 kB / 0.5773 GB, free: 0.7383 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-05/0.5341, allocations: 8 kB / 0.5773 GB, free: 0.7305 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-05/0.5341, allocations: 12 kB / 0.5773 GB, free: 0.7188 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.298e-05/0.5342, allocations: 3.984 kB / 0.5773 GB, free: 0.7148 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00164/0.5358, allocations: 413.5 kB / 0.5777 GB, free: 340 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/0.5359, allocations: 3.984 kB / 0.5777 GB, free: 336 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008699/0.5367, allocations: 119.3 kB / 0.5778 GB, free: 220 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.589e-05/0.5368, allocations: 7.984 kB / 0.5778 GB, free: 212 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.834e-05/0.5368, allocations: 14.56 kB / 0.5778 GB, free: 204 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.041e-05/0.5368, allocations: 11.89 kB / 0.5778 GB, free: 192 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.5368, allocations: 0 / 0.5778 GB, free: 192 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001293/0.5382, allocations: 1.17 MB / 0.579 GB, free: 15.05 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000145/0.5383, allocations: 120.5 kB / 0.5791 GB, free: 14.91 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.653e-05/0.5384, allocations: 10.06 kB / 0.5791 GB, free: 14.91 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007107/0.5391, allocations: 10.25 kB / 0.5791 GB, free: 14.9 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.29e-05/0.5392, allocations: 31.22 kB / 0.5791 GB, free: 14.88 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.115e-05/0.5392, allocations: 15.36 kB / 0.5792 GB, free: 14.86 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002284/0.5395, allocations: 171.4 kB / 0.5793 GB, free: 14.72 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.687e-06/0.5395, allocations: 0 / 0.5793 GB, free: 14.72 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001427/0.5409, allocations: 140.2 kB / 0.5795 GB, free: 14.6 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 () * Number of clocked 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.001981/0.5429, allocations: 2.281 MB / 0.5817 GB, free: 12.37 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007792/0.5437, allocations: 336.8 kB / 0.582 GB, free: 12.11 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/0.5437, allocations: 7.938 kB / 0.582 GB, free: 12.1 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002437/0.544, allocations: 133.2 kB / 0.5821 GB, free: 12 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001211/0.5452, allocations: 81.58 kB / 0.5822 GB, free: 11.93 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0129/0.5581, allocations: 10.46 MB / 0.5924 GB, free: 1.551 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007169/0.5589, allocations: 0.8432 MB / 0.5933 GB, free: 0.6797 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000399/0.5593, allocations: 52.14 kB / 0.5933 GB, free: 0.625 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003245/0.5597, allocations: 141.9 kB / 0.5934 GB, free: 0.582 MB / 394.7 MB Notification: Performance of SimCode: time 2.936e-06/0.5597, allocations: 0 / 0.5934 GB, free: 0.582 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02234/0.5821, allocations: 7.48 MB / 0.6007 GB, free: 9.148 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000204/0.5823, allocations: 199.2 kB / 0.6009 GB, free: 8.898 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.294/2.876, allocations: 0 / 0.6009 GB, free: 8.898 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