Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_ConversionBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_ConversionBlocks",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008825/0.0008825, allocations: 169.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 221.5 MB / 230.7 MB, free: 7.574 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000885/0.0008851, allocations: 96.42 kB / 281.6 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2109/0.2109, allocations: 44.15 MB / 376.5 MB, free: 3.055 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.042e-05/2.045e-05, allocations: 4.219 kB / 444.7 MB, free: 15.15 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1165, allocations: 61.92 MB / 0.4948 GB, free: 1.168 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5195/0.6361, allocations: 90.03 MB / 0.5827 GB, free: 6.355 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001967/0.6363, allocations: 63.97 kB / 0.5827 GB, free: 6.293 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01679/0.6531, allocations: 6.189 MB / 0.5888 GB, free: 4 kB / 394.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.6531, allocations: 4 kB / 0.5888 GB, free: 0 / 394.7 MB Notification: Performance of Transformations before backend: time 2.375e-05/0.6532, allocations: 4.047 kB / 0.5888 GB, free: 15.99 MB / 410.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.0005018/0.6537, allocations: 478.3 kB / 0.5893 GB, free: 15.48 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.6537, allocations: 15.98 kB / 0.5893 GB, free: 15.47 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007353/0.6545, allocations: 63.67 kB / 0.5893 GB, free: 15.41 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.6546, allocations: 198.7 kB / 0.5895 GB, free: 15.17 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.6546, allocations: 8 kB / 0.5895 GB, free: 15.16 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.465e-05/0.6547, allocations: 19.95 kB / 0.5895 GB, free: 15.14 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002399/0.6549, allocations: 121.1 kB / 0.5897 GB, free: 15.02 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002516/0.6552, allocations: 143.8 kB / 0.5898 GB, free: 14.88 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.6552, allocations: 0 / 0.5898 GB, free: 14.88 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.735e-05/0.6552, allocations: 4 kB / 0.5898 GB, free: 14.87 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.6552, allocations: 4 kB / 0.5898 GB, free: 14.87 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007802/0.656, allocations: 0.5376 MB / 0.5903 GB, free: 14.29 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005038/0.6565, allocations: 199.2 kB / 0.5905 GB, free: 14.09 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.6567, allocations: 57.27 kB / 0.5906 GB, free: 14.03 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.674e-05/0.6567, allocations: 4.234 kB / 0.5906 GB, free: 14.02 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/0.6567, allocations: 30.8 kB / 0.5906 GB, free: 13.98 MB / 410.7 MB Notification: Performance of pre-optimization done (n=27): time 1.693e-06/0.6567, allocations: 4 kB / 0.5906 GB, free: 13.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=27): time 0.0002979/0.657, allocations: 145.2 kB / 0.5908 GB, free: 13.84 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.864e-05/0.6571, allocations: 55.41 kB / 0.5908 GB, free: 13.77 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.511e-05/0.6572, allocations: 101 kB / 0.5909 GB, free: 13.66 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.6572, allocations: 25.7 kB / 0.5909 GB, free: 13.63 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.119e-05/0.6573, allocations: 128.3 kB / 0.591 GB, free: 13.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.145e-05/0.6574, allocations: 94.48 kB / 0.5911 GB, free: 13.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.676e-06/0.6574, allocations: 0 / 0.5911 GB, free: 13.41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.6576, allocations: 318.8 kB / 0.5914 GB, free: 13.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.378e-05/0.6576, allocations: 36 kB / 0.5915 GB, free: 13.05 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.464e-05/0.6577, allocations: 37.05 kB / 0.5915 GB, free: 13.02 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.256e-05/0.6578, allocations: 39.97 kB / 0.5915 GB, free: 12.98 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.6578, allocations: 0 / 0.5915 GB, free: 12.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002095/0.658, allocations: 137.5 kB / 0.5917 GB, free: 12.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.658, allocations: 4 kB / 0.5917 GB, free: 12.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.6581, allocations: 4 kB / 0.5917 GB, free: 12.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.6581, allocations: 0 / 0.5917 GB, free: 12.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000379/0.6585, allocations: 103.9 kB / 0.5918 GB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.6585, allocations: 3.953 kB / 0.5918 GB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.285e-05/0.6585, allocations: 15.78 kB / 0.5918 GB, free: 12.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.562e-05/0.6586, allocations: 12 kB / 0.5918 GB, free: 12.7 MB / 410.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 () * 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 9.639e-05/0.6587, allocations: 101 kB / 0.5919 GB, free: 12.59 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002411/0.6589, allocations: 142.1 kB / 0.592 GB, free: 12.45 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.011e-05/0.659, allocations: 11.91 kB / 0.5921 GB, free: 12.44 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.945e-05/0.659, allocations: 25.75 kB / 0.5921 GB, free: 12.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.659, allocations: 3.953 kB / 0.5921 GB, free: 12.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.6591, allocations: 4 kB / 0.5921 GB, free: 12.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.6591, allocations: 3.984 kB / 0.5921 GB, free: 12.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000262/0.6593, allocations: 218 kB / 0.5923 GB, free: 12.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.6593, allocations: 0 / 0.5923 GB, free: 12.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003561/0.6597, allocations: 99.89 kB / 0.5924 GB, free: 12.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.6597, allocations: 0 / 0.5924 GB, free: 12.05 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.6597, allocations: 0 / 0.5924 GB, free: 12.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.6597, allocations: 4 kB / 0.5924 GB, free: 12.05 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.6598, allocations: 0 / 0.5924 GB, free: 12.05 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002384/0.66, allocations: 247.6 kB / 0.5926 GB, free: 11.79 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.477e-05/0.6601, allocations: 92.86 kB / 0.5927 GB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.848e-05/0.6601, allocations: 0 / 0.5927 GB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.758e-05/0.6602, allocations: 8 kB / 0.5927 GB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.023e-05/0.6602, allocations: 11.98 kB / 0.5927 GB, free: 11.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/0.6602, allocations: 11.98 kB / 0.5928 GB, free: 11.65 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.362e-05/0.6603, allocations: 90.44 kB / 0.5928 GB, free: 11.57 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6603, allocations: 0 / 0.5928 GB, free: 11.57 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002429/0.6605, allocations: 35.84 kB / 0.5929 GB, free: 11.53 MB / 410.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 () * 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.0005399/0.6611, allocations: 0.8304 MB / 0.5937 GB, free: 10.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001778/0.6613, allocations: 111.9 kB / 0.5938 GB, free: 10.57 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.6613, allocations: 0 / 0.5938 GB, free: 10.57 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.435e-05/0.6614, allocations: 67.88 kB / 0.5939 GB, free: 10.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001471/0.6615, allocations: 1.25 kB / 0.5939 GB, free: 10.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005695/0.6621, allocations: 282.3 kB / 0.5941 GB, free: 10.19 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002686/0.6624, allocations: 0.736 MB / 0.5948 GB, free: 9.422 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001078/0.6625, allocations: 21.19 kB / 0.5949 GB, free: 9.402 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.674e-05/0.6626, allocations: 59.41 kB / 0.5949 GB, free: 9.344 MB / 410.7 MB Notification: Performance of SimCode: time 4.31e-07/0.6626, allocations: 0 / 0.5949 GB, free: 9.344 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02036/0.683, allocations: 1.977 MB / 0.5969 GB, free: 7.375 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000336/0.6834, allocations: 127.5 kB / 0.597 GB, free: 7.184 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.532/2.216, allocations: 0 / 0.597 GB, free: 7.184 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Blocks_ConversionBlocks_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Blocks_ConversionBlocks.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks_res.mat does not exist to compare? outputFormat=mat