Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.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.CombiTable1Dv.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test19",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.001385/0.001385, allocations: 169.9 kB / 8.742 MB, free: 344 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.574/1.574, allocations: 221.5 MB / 230.7 MB, free: 7.531 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.0009608/0.0009611, allocations: 96.5 kB / 281.6 MB, free: 5.273 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.2404/0.2404, allocations: 44.16 MB / 376.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.883e-05/2.907e-05, allocations: 4.219 kB / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1403, allocations: 61.92 MB / 0.4948 GB, free: 1.164 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4383/0.5786, allocations: 87.61 MB / 0.5803 GB, free: 8.77 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000333/0.579, allocations: 71.95 kB / 0.5804 GB, free: 8.699 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01624/0.5953, allocations: 4.176 MB / 0.5845 GB, free: 4.543 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.5954, allocations: 0 / 0.5845 GB, free: 4.543 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.248e-05/0.5954, allocations: 4 kB / 0.5845 GB, free: 4.539 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.0004135/0.5958, allocations: 362.5 kB / 0.5848 GB, free: 4.141 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.5959, allocations: 11.98 kB / 0.5848 GB, free: 4.129 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.087e-05/0.5959, allocations: 7.906 kB / 0.5848 GB, free: 4.121 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002389/0.5961, allocations: 191.8 kB / 0.585 GB, free: 3.895 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.455e-06/0.5962, allocations: 0 / 0.585 GB, free: 3.895 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.798e-05/0.5962, allocations: 4 kB / 0.585 GB, free: 3.891 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.717e-05/0.5963, allocations: 19.95 kB / 0.585 GB, free: 3.871 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000117/0.5964, allocations: 55.41 kB / 0.5851 GB, free: 3.805 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.5964, allocations: 0 / 0.5851 GB, free: 3.805 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.5964, allocations: 4 kB / 0.5851 GB, free: 3.801 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.5964, allocations: 0 / 0.5851 GB, free: 3.801 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003838/0.5968, allocations: 257.4 kB / 0.5853 GB, free: 3.512 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001748/0.597, allocations: 50.44 kB / 0.5854 GB, free: 3.453 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.975e-05/0.5971, allocations: 12.86 kB / 0.5854 GB, free: 3.438 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.5971, allocations: 0 / 0.5854 GB, free: 3.438 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/0.5971, allocations: 34.56 kB / 0.5854 GB, free: 3.395 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.5971, allocations: 0 / 0.5854 GB, free: 3.395 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004537/0.5976, allocations: 109.4 kB / 0.5855 GB, free: 3.281 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.842e-05/0.5977, allocations: 77.11 kB / 0.5856 GB, free: 3.188 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/0.5978, allocations: 122.4 kB / 0.5857 GB, free: 3.062 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.5978, allocations: 25.7 kB / 0.5858 GB, free: 3.031 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.015e-05/0.5979, allocations: 92.12 kB / 0.5858 GB, free: 2.938 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.425e-05/0.5979, allocations: 15.75 kB / 0.5859 GB, free: 2.922 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-06/0.5979, allocations: 0 / 0.5859 GB, free: 2.922 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.5981, allocations: 318.8 kB / 0.5862 GB, free: 2.602 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.757e-05/0.5981, allocations: 16 kB / 0.5862 GB, free: 2.586 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.442e-05/0.5982, allocations: 21.72 kB / 0.5862 GB, free: 2.559 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.409e-05/0.5983, allocations: 16.17 kB / 0.5862 GB, free: 2.543 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.5983, allocations: 0 / 0.5862 GB, free: 2.543 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001266/0.5984, allocations: 77.48 kB / 0.5863 GB, free: 2.461 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.5984, allocations: 9.406 kB / 0.5863 GB, free: 2.453 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.5985, allocations: 0 / 0.5863 GB, free: 2.453 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.5985, allocations: 0 / 0.5863 GB, free: 2.453 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.256e-05/0.5986, allocations: 20.02 kB / 0.5863 GB, free: 2.434 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.5986, allocations: 3.984 kB / 0.5863 GB, free: 2.43 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.633e-05/0.5987, allocations: 4 kB / 0.5863 GB, free: 2.426 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.5987, allocations: 7.938 kB / 0.5863 GB, free: 2.418 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.064e-05/0.5987, allocations: 101 kB / 0.5864 GB, free: 2.312 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001266/0.5989, allocations: 69.48 kB / 0.5865 GB, free: 2.238 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.511e-05/0.5989, allocations: 11.89 kB / 0.5865 GB, free: 2.227 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000133/0.5991, allocations: 74.09 kB / 0.5866 GB, free: 2.145 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.5991, allocations: 0 / 0.5866 GB, free: 2.145 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.5991, allocations: 3.984 kB / 0.5866 GB, free: 2.141 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.5991, allocations: 0 / 0.5866 GB, free: 2.141 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002883/0.5994, allocations: 311 kB / 0.5869 GB, free: 1.793 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.5994, allocations: 0 / 0.5869 GB, free: 1.793 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.632e-05/0.5995, allocations: 15.98 kB / 0.5869 GB, free: 1.777 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.5995, allocations: 3.938 kB / 0.5869 GB, free: 1.773 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.5995, allocations: 0 / 0.5869 GB, free: 1.773 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.5995, allocations: 4 kB / 0.5869 GB, free: 1.77 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.5995, allocations: 0 / 0.5869 GB, free: 1.77 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001257/0.5996, allocations: 167.7 kB / 0.5871 GB, free: 1.59 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.45e-05/0.5997, allocations: 89.09 kB / 0.5871 GB, free: 1.484 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.856e-05/0.5997, allocations: 0 / 0.5871 GB, free: 1.484 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.66e-05/0.5998, allocations: 4 kB / 0.5871 GB, free: 1.48 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.408e-05/0.5998, allocations: 7.984 kB / 0.5872 GB, free: 1.473 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.319e-06/0.5999, allocations: 4 kB / 0.5872 GB, free: 1.469 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.165e-05/0.5999, allocations: 101 kB / 0.5873 GB, free: 1.371 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5999, allocations: 0 / 0.5873 GB, free: 1.371 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002503/0.6002, allocations: 24 kB / 0.5873 GB, free: 1.348 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.00108/0.6013, allocations: 0.9679 MB / 0.5882 GB, free: 440 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.857e-05/0.6014, allocations: 35.92 kB / 0.5883 GB, free: 404 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.6014, allocations: 4 kB / 0.5883 GB, free: 400 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.094e-05/0.6014, allocations: 16 kB / 0.5883 GB, free: 384 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001948/0.6016, allocations: 11.98 kB / 0.5883 GB, free: 372 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000417/0.6021, allocations: 157.5 kB / 0.5884 GB, free: 172 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007569/0.6028, allocations: 0.6924 MB / 0.5891 GB, free: 15.45 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.622e-05/0.6029, allocations: 27.75 kB / 0.5891 GB, free: 15.42 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.795e-05/0.603, allocations: 23.36 kB / 0.5892 GB, free: 15.4 MB / 410.7 MB Notification: Performance of SimCode: time 3.51e-07/0.603, allocations: 0 / 0.5892 GB, free: 15.4 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0215/0.6245, allocations: 1.969 MB / 0.5911 GB, free: 13.44 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002412/0.6248, allocations: 177.2 kB / 0.5913 GB, free: 13.24 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.436/2.061, allocations: 0 / 0.5913 GB, free: 13.24 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test19_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test19.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19_res.mat does not exist to compare? outputFormat=mat