Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.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.Tables.CombiTable1Ds.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test24",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.001604/0.001604, allocations: 170.6 kB / 8.739 MB, free: 340 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.661/1.661, allocations: 221.5 MB / 230.7 MB, free: 7.578 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.0009939/0.0009939, allocations: 87.36 kB / 281.6 MB, free: 5.324 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.2299/0.2299, allocations: 44.15 MB / 376.5 MB, free: 3.047 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.33e-05/2.338e-05, allocations: 224 / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1544, allocations: 61.92 MB / 0.4948 GB, free: 1.16 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4/0.5544, allocations: 87.5 MB / 0.5802 GB, free: 8.863 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003948/0.5549, allocations: 74.47 kB / 0.5803 GB, free: 8.793 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01481/0.5698, allocations: 4.164 MB / 0.5843 GB, free: 4.648 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5698, allocations: 0 / 0.5843 GB, free: 4.648 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.087e-05/0.5698, allocations: 0 / 0.5843 GB, free: 4.648 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000441/0.5703, allocations: 373 kB / 0.5847 GB, free: 4.242 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.308e-05/0.5703, allocations: 11.98 kB / 0.5847 GB, free: 4.23 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.597e-05/0.5704, allocations: 11.89 kB / 0.5847 GB, free: 4.219 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002585/0.5707, allocations: 183 kB / 0.5849 GB, free: 4 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.5707, allocations: 4 kB / 0.5849 GB, free: 3.996 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.975e-05/0.5707, allocations: 0 / 0.5849 GB, free: 3.996 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.136e-05/0.5708, allocations: 19.89 kB / 0.5849 GB, free: 3.977 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001147/0.5709, allocations: 51.41 kB / 0.585 GB, free: 3.914 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.571, allocations: 0 / 0.585 GB, free: 3.914 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.571, allocations: 4 kB / 0.585 GB, free: 3.91 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.571, allocations: 0 / 0.585 GB, free: 3.91 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003776/0.5714, allocations: 253.5 kB / 0.5852 GB, free: 3.625 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001787/0.5716, allocations: 50.39 kB / 0.5853 GB, free: 3.566 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.774e-05/0.5716, allocations: 8.859 kB / 0.5853 GB, free: 3.555 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.5716, allocations: 4 kB / 0.5853 GB, free: 3.551 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/0.5717, allocations: 30.56 kB / 0.5853 GB, free: 3.512 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.433e-06/0.5717, allocations: 0 / 0.5853 GB, free: 3.512 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004318/0.5721, allocations: 97.42 kB / 0.5854 GB, free: 3.41 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.698e-05/0.5722, allocations: 77.11 kB / 0.5855 GB, free: 3.316 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001494/0.5724, allocations: 121 kB / 0.5856 GB, free: 3.191 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.714e-05/0.5724, allocations: 25.7 kB / 0.5856 GB, free: 3.16 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.297e-05/0.5725, allocations: 96.12 kB / 0.5857 GB, free: 3.062 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.548e-05/0.5725, allocations: 15.75 kB / 0.5857 GB, free: 3.047 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.218e-06/0.5725, allocations: 0 / 0.5857 GB, free: 3.047 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.5727, allocations: 322.8 kB / 0.586 GB, free: 2.723 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.542e-05/0.5727, allocations: 4 kB / 0.586 GB, free: 2.719 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.834e-05/0.5727, allocations: 25.72 kB / 0.5861 GB, free: 2.688 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.162e-05/0.5728, allocations: 4 kB / 0.5861 GB, free: 2.684 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.5728, allocations: 32 / 0.5861 GB, free: 2.684 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001384/0.5729, allocations: 69.55 kB / 0.5861 GB, free: 2.609 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.573, allocations: 4 kB / 0.5861 GB, free: 2.605 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.401e-06/0.573, allocations: 0 / 0.5861 GB, free: 2.605 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.573, allocations: 0 / 0.5861 GB, free: 2.605 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.135e-05/0.5731, allocations: 19.92 kB / 0.5862 GB, free: 2.586 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.5731, allocations: 0 / 0.5862 GB, free: 2.586 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.092e-05/0.5732, allocations: 8 kB / 0.5862 GB, free: 2.578 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.735e-06/0.5732, allocations: 3.938 kB / 0.5862 GB, free: 2.574 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 8.663e-05/0.5733, allocations: 109 kB / 0.5863 GB, free: 2.461 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001326/0.5734, allocations: 61.55 kB / 0.5863 GB, free: 2.395 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.848e-05/0.5735, allocations: 7.906 kB / 0.5863 GB, free: 2.387 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001342/0.5736, allocations: 74.02 kB / 0.5864 GB, free: 2.305 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.5736, allocations: 0 / 0.5864 GB, free: 2.305 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.5736, allocations: 0 / 0.5864 GB, free: 2.305 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.5737, allocations: 0 / 0.5864 GB, free: 2.305 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002846/0.5739, allocations: 303.5 kB / 0.5867 GB, free: 1.965 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.574, allocations: 12.06 kB / 0.5867 GB, free: 1.953 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.091e-05/0.574, allocations: 8 kB / 0.5867 GB, free: 1.945 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.658e-06/0.574, allocations: 7.938 kB / 0.5867 GB, free: 1.938 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.574, allocations: 0 / 0.5867 GB, free: 1.938 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.5741, allocations: 7.922 kB / 0.5867 GB, free: 1.93 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.5741, allocations: 0 / 0.5867 GB, free: 1.93 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001237/0.5742, allocations: 155.4 kB / 0.5869 GB, free: 1.762 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.369e-05/0.5742, allocations: 89.11 kB / 0.587 GB, free: 1.656 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.5743, allocations: 0 / 0.587 GB, free: 1.656 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.526e-05/0.5744, allocations: 7.984 kB / 0.587 GB, free: 1.648 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.476e-05/0.5744, allocations: 4 kB / 0.587 GB, free: 1.645 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-06/0.5744, allocations: 144 / 0.587 GB, free: 1.645 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.27e-05/0.5745, allocations: 101 kB / 0.5871 GB, free: 1.547 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5745, allocations: 0 / 0.5871 GB, free: 1.547 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002555/0.5747, allocations: 24 kB / 0.5871 GB, free: 1.523 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.001169/0.5759, allocations: 0.972 MB / 0.588 GB, free: 0.6016 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.549e-05/0.576, allocations: 28 kB / 0.5881 GB, free: 0.5742 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.576, allocations: 0 / 0.5881 GB, free: 0.5742 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.098e-05/0.5761, allocations: 19.92 kB / 0.5881 GB, free: 0.5547 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002171/0.5763, allocations: 12 kB / 0.5881 GB, free: 0.543 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004526/0.5768, allocations: 145.6 kB / 0.5882 GB, free: 368 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003204/0.5771, allocations: 0.6924 MB / 0.5889 GB, free: 15.64 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.241e-05/0.5772, allocations: 15.77 kB / 0.5889 GB, free: 15.62 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.434e-05/0.5772, allocations: 23.42 kB / 0.5889 GB, free: 15.6 MB / 410.7 MB Notification: Performance of SimCode: time 3.21e-07/0.5772, allocations: 0 / 0.5889 GB, free: 15.6 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02227/0.5995, allocations: 1.947 MB / 0.5908 GB, free: 13.66 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002863/0.5999, allocations: 169.5 kB / 0.591 GB, free: 13.47 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.488/2.088, allocations: 0 / 0.591 GB, free: 13.47 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test24_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test24.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat does not exist to compare? outputFormat=mat