Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.ConversionBlocks.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.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_ConversionBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_ConversionBlocks",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.002302/0.002307, allocations: 186.2 kB / 16.41 MB, free: 5.727 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.032/2.032, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001116/0.001116, allocations: 86.69 kB / 270.9 MB, free: 8.367 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.5375/0.5375, allocations: 43.55 MB / 362.7 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004719/0.000472, allocations: 16 kB / 431.5 MB, free: 6.055 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1365, allocations: 58.84 MB / 490.3 MB, free: 11.13 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5018/0.6383, allocations: 89.16 MB / 0.5659 GB, free: 13.38 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002668/0.6387, allocations: 63.97 kB / 0.5659 GB, free: 13.31 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02678/0.6655, allocations: 6.095 MB / 0.5719 GB, free: 7.148 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.6655, allocations: 4 kB / 0.5719 GB, free: 7.145 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.224e-05/0.6656, allocations: 4 kB / 0.5719 GB, free: 7.141 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0007868/0.6664, allocations: 499.4 kB / 0.5724 GB, free: 6.609 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/0.6664, allocations: 12.52 kB / 0.5724 GB, free: 6.598 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001365/0.6666, allocations: 82.98 kB / 0.5725 GB, free: 6.508 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001142/0.6677, allocations: 79.02 kB / 0.5726 GB, free: 6.434 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001783/0.6679, allocations: 190.8 kB / 0.5727 GB, free: 6.207 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.746e-05/0.668, allocations: 20.66 kB / 0.5728 GB, free: 6.188 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.754e-05/0.668, allocations: 39.94 kB / 0.5728 GB, free: 6.148 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006155/0.6687, allocations: 226.1 kB / 0.573 GB, free: 5.922 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.6687, allocations: 0 / 0.573 GB, free: 5.922 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.087e-05/0.6687, allocations: 16 kB / 0.573 GB, free: 5.906 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.807e-05/0.6688, allocations: 9.031 kB / 0.573 GB, free: 5.898 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005858/0.6694, allocations: 162.5 kB / 0.5732 GB, free: 5.738 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001461/0.6708, allocations: 0.6555 MB / 0.5738 GB, free: 5.027 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009095/0.6718, allocations: 226.3 kB / 0.574 GB, free: 4.801 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.209e-05/0.6718, allocations: 4.234 kB / 0.574 GB, free: 4.797 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.6719, allocations: 38.78 kB / 0.5741 GB, free: 4.75 MB / 394.7 MB Notification: Performance of pre-optimization done (n=27): time 2.635e-06/0.6719, allocations: 0 / 0.5741 GB, free: 4.75 MB / 394.7 MB Notification: Performance of matching and sorting (n=27): time 0.0007368/0.6726, allocations: 226.3 kB / 0.5743 GB, free: 4.531 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/0.6727, allocations: 51.41 kB / 0.5743 GB, free: 4.469 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.6728, allocations: 101 kB / 0.5744 GB, free: 4.363 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.114e-05/0.6729, allocations: 25.7 kB / 0.5745 GB, free: 4.332 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001354/0.673, allocations: 226.6 kB / 0.5747 GB, free: 4.109 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001008/0.6731, allocations: 82.72 kB / 0.5748 GB, free: 4.027 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.951e-05/0.6732, allocations: 4 kB / 0.5748 GB, free: 4.023 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.6733, allocations: 322.8 kB / 0.5751 GB, free: 3.699 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001694/0.6735, allocations: 47.91 kB / 0.5751 GB, free: 3.652 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001661/0.6737, allocations: 39.98 kB / 0.5752 GB, free: 3.613 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001994/0.6739, allocations: 61.38 kB / 0.5752 GB, free: 3.555 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.6739, allocations: 0 / 0.5752 GB, free: 3.555 MB / 394.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004751/0.6744, allocations: 169.5 kB / 0.5754 GB, free: 3.383 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.6744, allocations: 4 kB / 0.5754 GB, free: 3.379 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.004e-06/0.6745, allocations: 0 / 0.5754 GB, free: 3.379 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.6745, allocations: 4 kB / 0.5754 GB, free: 3.375 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007198/0.6752, allocations: 103.9 kB / 0.5755 GB, free: 3.273 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/0.6752, allocations: 3.953 kB / 0.5755 GB, free: 3.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001193/0.6754, allocations: 19.84 kB / 0.5755 GB, free: 3.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.198e-05/0.6754, allocations: 8 kB / 0.5755 GB, free: 3.242 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (27): * Single equations (assignments): 27 * 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.0001724/0.6756, allocations: 129.8 kB / 0.5756 GB, free: 3.105 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.813e-05/0.6756, allocations: 7.906 kB / 0.5756 GB, free: 3.098 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.796e-05/0.6757, allocations: 33.11 kB / 0.5757 GB, free: 3.066 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.504e-05/0.6758, allocations: 7.984 kB / 0.5757 GB, free: 3.059 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/0.6758, allocations: 3.938 kB / 0.5757 GB, free: 3.055 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.297e-06/0.6758, allocations: 3.953 kB / 0.5757 GB, free: 3.051 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004435/0.6762, allocations: 281.4 kB / 0.576 GB, free: 2.727 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/0.6763, allocations: 3.984 kB / 0.576 GB, free: 2.723 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006973/0.677, allocations: 95.89 kB / 0.5761 GB, free: 2.629 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.677, allocations: 8 kB / 0.5761 GB, free: 2.621 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.911e-05/0.677, allocations: 4 kB / 0.5761 GB, free: 2.617 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.677, allocations: 0 / 0.5761 GB, free: 2.617 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.677, allocations: 4 kB / 0.5761 GB, free: 2.613 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000531/0.6776, allocations: 267.6 kB / 0.5763 GB, free: 2.336 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.543e-05/0.6777, allocations: 96.86 kB / 0.5764 GB, free: 2.223 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.157e-05/0.6777, allocations: 15.98 kB / 0.5764 GB, free: 2.207 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001393/0.6779, allocations: 8 kB / 0.5764 GB, free: 2.199 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.455e-05/0.6779, allocations: 15.98 kB / 0.5765 GB, free: 2.184 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/0.678, allocations: 4 kB / 0.5765 GB, free: 2.18 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.203e-05/0.678, allocations: 88.02 kB / 0.5765 GB, free: 2.094 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.678, allocations: 0 / 0.5765 GB, free: 2.094 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003824/0.6784, allocations: 51.69 kB / 0.5766 GB, free: 2.043 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (27): * Single equations (assignments): 27 * 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.001093/0.6795, allocations: 0.8806 MB / 0.5775 GB, free: 1.137 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004393/0.68, allocations: 135.9 kB / 0.5776 GB, free: 1.004 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.68, allocations: 4 kB / 0.5776 GB, free: 1 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002168/0.6802, allocations: 83.78 kB / 0.5777 GB, free: 0.918 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001904/0.6804, allocations: 8 kB / 0.5777 GB, free: 0.9102 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002373/0.6828, allocations: 1.154 MB / 0.5788 GB, free: 15.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000397/0.6833, allocations: 0.748 MB / 0.5795 GB, free: 14.94 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001682/0.6834, allocations: 63.42 kB / 0.5796 GB, free: 14.88 MB / 410.7 MB Notification: Performance of SimCode: time 1.222e-06/0.6834, allocations: 3.938 kB / 0.5796 GB, free: 14.87 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.375/3.059, allocations: 2.554 MB / 0.5821 GB, free: 12.31 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.ConversionBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.ConversionBlocks_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_ConversionBlocks_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_ConversionBlocks.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.ConversionBlocks_res.mat does not exist to compare? outputFormat=mat