Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.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.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test11",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.001058/0.001058, allocations: 174.4 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.314/1.314, allocations: 221.5 MB / 230.7 MB, free: 7.566 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.001071/0.001071, allocations: 96.39 kB / 281.6 MB, free: 5.316 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.2078/0.2078, allocations: 44.14 MB / 376.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.549e-05/2.552e-05, allocations: 4.156 kB / 444.7 MB, free: 15.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1909/0.191, allocations: 61.91 MB / 0.4948 GB, free: 1.16 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5552/0.7462, allocations: 87.21 MB / 0.5799 GB, free: 9.262 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002634/0.7465, allocations: 71.95 kB / 0.58 GB, free: 9.191 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01007/0.7566, allocations: 3.733 MB / 0.5836 GB, free: 5.469 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.7567, allocations: 0 / 0.5836 GB, free: 5.469 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.087e-05/0.7567, allocations: 0 / 0.5836 GB, free: 5.469 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.0004128/0.7571, allocations: 381.3 kB / 0.584 GB, free: 5.055 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/0.7572, allocations: 11.98 kB / 0.584 GB, free: 5.043 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.093e-05/0.7572, allocations: 7.906 kB / 0.584 GB, free: 5.035 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002426/0.7575, allocations: 194.9 kB / 0.5842 GB, free: 4.805 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.7575, allocations: 7.953 kB / 0.5842 GB, free: 4.797 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.912e-05/0.7575, allocations: 4 kB / 0.5842 GB, free: 4.793 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.368e-05/0.7576, allocations: 12 kB / 0.5842 GB, free: 4.781 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.822e-05/0.7577, allocations: 37.69 kB / 0.5843 GB, free: 4.738 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.7577, allocations: 0 / 0.5843 GB, free: 4.738 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.7577, allocations: 4 kB / 0.5843 GB, free: 4.734 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.7577, allocations: 0 / 0.5843 GB, free: 4.734 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003401/0.7581, allocations: 257.4 kB / 0.5845 GB, free: 4.445 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001907/0.7583, allocations: 34.58 kB / 0.5846 GB, free: 4.402 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.564e-05/0.7583, allocations: 12.8 kB / 0.5846 GB, free: 4.387 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.734e-05/0.7583, allocations: 96 / 0.5846 GB, free: 4.387 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/0.7584, allocations: 34.55 kB / 0.5846 GB, free: 4.344 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 8.31e-07/0.7584, allocations: 0 / 0.5846 GB, free: 4.344 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003775/0.7588, allocations: 109.5 kB / 0.5847 GB, free: 4.23 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.793e-05/0.7588, allocations: 51.41 kB / 0.5847 GB, free: 4.168 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.759, allocations: 151 kB / 0.5849 GB, free: 4.016 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.759, allocations: 25.7 kB / 0.5849 GB, free: 3.984 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.265e-05/0.759, allocations: 96.08 kB / 0.585 GB, free: 3.887 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.193e-05/0.7591, allocations: 19.7 kB / 0.585 GB, free: 3.867 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.237e-06/0.7591, allocations: 0 / 0.585 GB, free: 3.867 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.7592, allocations: 326.8 kB / 0.5853 GB, free: 3.539 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.045e-05/0.7592, allocations: 8 kB / 0.5853 GB, free: 3.531 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.519e-05/0.7592, allocations: 12 kB / 0.5854 GB, free: 3.52 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.839e-05/0.7593, allocations: 8 kB / 0.5854 GB, free: 3.512 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.7593, allocations: 3.938 kB / 0.5854 GB, free: 3.508 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.287e-05/0.7594, allocations: 65.58 kB / 0.5854 GB, free: 3.438 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.7594, allocations: 4 kB / 0.5854 GB, free: 3.434 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.7594, allocations: 0 / 0.5854 GB, free: 3.434 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.7594, allocations: 0 / 0.5854 GB, free: 3.434 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.573e-05/0.7595, allocations: 12 kB / 0.5854 GB, free: 3.422 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.7595, allocations: 0 / 0.5854 GB, free: 3.422 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.376e-05/0.7596, allocations: 15.98 kB / 0.5855 GB, free: 3.406 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.7596, allocations: 3.938 kB / 0.5855 GB, free: 3.402 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 7.409e-05/0.7597, allocations: 104.9 kB / 0.5856 GB, free: 3.293 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001007/0.7598, allocations: 65.53 kB / 0.5856 GB, free: 3.223 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.66e-05/0.7598, allocations: 7.906 kB / 0.5856 GB, free: 3.215 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001366/0.7599, allocations: 66.09 kB / 0.5857 GB, free: 3.145 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.76, allocations: 0 / 0.5857 GB, free: 3.145 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.76, allocations: 7.984 kB / 0.5857 GB, free: 3.137 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.76, allocations: 0 / 0.5857 GB, free: 3.137 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002926/0.7603, allocations: 311 kB / 0.586 GB, free: 2.789 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.7603, allocations: 4.438 kB / 0.586 GB, free: 2.785 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.782e-05/0.7604, allocations: 8 kB / 0.586 GB, free: 2.777 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.7604, allocations: 4 kB / 0.586 GB, free: 2.773 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.7604, allocations: 7.938 kB / 0.586 GB, free: 2.766 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.725e-06/0.7604, allocations: 3.984 kB / 0.586 GB, free: 2.762 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.7604, allocations: 0 / 0.586 GB, free: 2.762 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001266/0.7605, allocations: 155.4 kB / 0.5862 GB, free: 2.594 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.341e-05/0.7606, allocations: 93 kB / 0.5863 GB, free: 2.484 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/0.7606, allocations: 0 / 0.5863 GB, free: 2.484 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.122e-05/0.7607, allocations: 11.98 kB / 0.5863 GB, free: 2.473 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.025e-05/0.7608, allocations: 0 / 0.5863 GB, free: 2.473 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/0.7608, allocations: 7.938 kB / 0.5863 GB, free: 2.465 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.038e-05/0.7609, allocations: 129.3 kB / 0.5864 GB, free: 2.34 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7609, allocations: 0 / 0.5864 GB, free: 2.34 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002447/0.7611, allocations: 23.92 kB / 0.5864 GB, free: 2.316 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.001066/0.7622, allocations: 0.919 MB / 0.5873 GB, free: 1.445 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000123/0.7623, allocations: 31.92 kB / 0.5874 GB, free: 1.414 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.7623, allocations: 0 / 0.5874 GB, free: 1.414 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.773e-05/0.7624, allocations: 16 kB / 0.5874 GB, free: 1.398 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002198/0.7626, allocations: 11.92 kB / 0.5874 GB, free: 1.387 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004478/0.7631, allocations: 166 kB / 0.5875 GB, free: 1.188 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002729/0.7633, allocations: 0.6963 MB / 0.5882 GB, free: 476 kB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.086e-05/0.7634, allocations: 16.16 kB / 0.5882 GB, free: 456 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.335e-05/0.7635, allocations: 31.36 kB / 0.5883 GB, free: 424 kB / 394.7 MB Notification: Performance of SimCode: time 2.51e-07/0.7635, allocations: 3.938 kB / 0.5883 GB, free: 420 kB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02245/0.7859, allocations: 1.837 MB / 0.5901 GB, free: 14.57 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002346/0.7862, allocations: 162.6 kB / 0.5902 GB, free: 14.38 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.551/2.338, allocations: 4 kB / 0.5902 GB, free: 14.38 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test11_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test11.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat does not exist to compare? outputFormat=mat