Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.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.CombiTable2Ds.Test18_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",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.001235/0.001235, 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.502/1.502, allocations: 221.5 MB / 230.7 MB, free: 7.57 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.0009032/0.0009034, allocations: 74.02 kB / 281.5 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.1772/0.1772, allocations: 44.15 MB / 376.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.99e-05/1.992e-05, allocations: 4.219 kB / 444.7 MB, free: 15.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1023, allocations: 61.92 MB / 0.4948 GB, free: 1.148 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3078/0.4102, allocations: 87.86 MB / 0.5806 GB, free: 8.566 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002994/0.4105, allocations: 67.97 kB / 0.5806 GB, free: 8.5 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01125/0.4218, allocations: 4.03 MB / 0.5846 GB, free: 4.477 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.378e-06/0.4218, allocations: 0 / 0.5846 GB, free: 4.477 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.321e-05/0.4219, allocations: 3.938 kB / 0.5846 GB, free: 4.473 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005329/0.4224, allocations: 410.1 kB / 0.585 GB, free: 4.031 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.4225, allocations: 11.98 kB / 0.585 GB, free: 4.02 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.251e-05/0.4225, allocations: 11.91 kB / 0.585 GB, free: 4.008 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002555/0.4228, allocations: 201.1 kB / 0.5852 GB, free: 3.773 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.4228, allocations: 0 / 0.5852 GB, free: 3.773 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.324e-05/0.4228, allocations: 4 kB / 0.5852 GB, free: 3.77 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.818e-05/0.4229, allocations: 23.94 kB / 0.5852 GB, free: 3.746 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001199/0.423, allocations: 59.41 kB / 0.5853 GB, free: 3.676 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.4231, allocations: 0 / 0.5853 GB, free: 3.676 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.4231, allocations: 0 / 0.5853 GB, free: 3.676 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.346e-05/0.4231, allocations: 4 kB / 0.5853 GB, free: 3.672 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004236/0.4235, allocations: 285.3 kB / 0.5855 GB, free: 3.355 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.807e-05/0.4236, allocations: 42.56 kB / 0.5856 GB, free: 3.305 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.512e-05/0.4237, allocations: 24.98 kB / 0.5856 GB, free: 3.277 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.539e-05/0.4237, allocations: 4 kB / 0.5856 GB, free: 3.273 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.4238, allocations: 30.56 kB / 0.5856 GB, free: 3.234 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.4238, allocations: 0 / 0.5856 GB, free: 3.234 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0007409/0.4245, allocations: 222 kB / 0.5858 GB, free: 3.012 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.105e-05/0.4246, allocations: 77.11 kB / 0.5859 GB, free: 2.918 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.4247, allocations: 137.5 kB / 0.5861 GB, free: 2.773 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.4248, allocations: 25.7 kB / 0.5861 GB, free: 2.742 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.85e-05/0.4248, allocations: 96.31 kB / 0.5862 GB, free: 2.645 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.328e-05/0.4249, allocations: 35.55 kB / 0.5862 GB, free: 2.609 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.613e-06/0.4249, allocations: 0 / 0.5862 GB, free: 2.609 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.425, allocations: 322.9 kB / 0.5865 GB, free: 2.285 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.694e-05/0.4251, allocations: 27.88 kB / 0.5865 GB, free: 2.258 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.055e-05/0.4252, allocations: 41.7 kB / 0.5866 GB, free: 2.211 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.538e-05/0.4252, allocations: 16 kB / 0.5866 GB, free: 2.195 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.4252, allocations: 0 / 0.5866 GB, free: 2.195 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001487/0.4254, allocations: 100.5 kB / 0.5867 GB, free: 2.094 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.4254, allocations: 12.02 kB / 0.5867 GB, free: 2.082 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.4254, allocations: 4 kB / 0.5867 GB, free: 2.078 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.4254, allocations: 0 / 0.5867 GB, free: 2.078 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002312/0.4257, allocations: 47.97 kB / 0.5867 GB, free: 2.031 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.662e-05/0.4257, allocations: 7.984 kB / 0.5868 GB, free: 2.023 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001621/0.4259, allocations: 31.97 kB / 0.5868 GB, free: 1.992 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.4259, allocations: 4 kB / 0.5868 GB, free: 1.988 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 (10): * Single equations (assignments): 10 * 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 6.894e-05/0.426, allocations: 108.9 kB / 0.5869 GB, free: 1.875 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001507/0.4261, allocations: 85.59 kB / 0.587 GB, free: 1.785 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.05e-05/0.4262, allocations: 7.906 kB / 0.587 GB, free: 1.777 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001928/0.4264, allocations: 106.6 kB / 0.5871 GB, free: 1.664 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.4264, allocations: 4 kB / 0.5871 GB, free: 1.66 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.4264, allocations: 96 / 0.5871 GB, free: 1.66 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.4264, allocations: 7.891 kB / 0.5871 GB, free: 1.652 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004065/0.4268, allocations: 370.9 kB / 0.5874 GB, free: 1.246 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.4268, allocations: 0 / 0.5874 GB, free: 1.246 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002003/0.427, allocations: 51.95 kB / 0.5875 GB, free: 1.195 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.427, allocations: 0 / 0.5875 GB, free: 1.195 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.4271, allocations: 7.984 kB / 0.5875 GB, free: 1.188 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.4271, allocations: 7.938 kB / 0.5875 GB, free: 1.18 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.4271, allocations: 0 / 0.5875 GB, free: 1.18 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001796/0.4273, allocations: 187.4 kB / 0.5877 GB, free: 0.9805 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.596e-05/0.4273, allocations: 89.02 kB / 0.5878 GB, free: 0.875 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.303e-05/0.4273, allocations: 0 / 0.5878 GB, free: 0.875 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001913/0.4275, allocations: 39.89 kB / 0.5878 GB, free: 0.8359 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.002e-05/0.4276, allocations: 15.94 kB / 0.5878 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.724e-06/0.4276, allocations: 4 kB / 0.5878 GB, free: 0.8164 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001028/0.4277, allocations: 114.3 kB / 0.5879 GB, free: 0.707 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4277, allocations: 0 / 0.5879 GB, free: 0.707 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002725/0.428, allocations: 39.94 kB / 0.588 GB, free: 0.668 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 (9): * Single equations (assignments): 9 * 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.001217/0.4292, allocations: 1.003 MB / 0.589 GB, free: 15.72 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001583/0.4294, allocations: 56 kB / 0.589 GB, free: 15.67 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4294, allocations: 0 / 0.589 GB, free: 15.67 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.685e-05/0.4295, allocations: 31.94 kB / 0.589 GB, free: 15.64 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002155/0.4297, allocations: 19.94 kB / 0.5891 GB, free: 15.62 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004724/0.4302, allocations: 193.6 kB / 0.5892 GB, free: 15.39 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000266/0.4305, allocations: 0.7041 MB / 0.5899 GB, free: 14.66 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.85e-05/0.4305, allocations: 24.67 kB / 0.59 GB, free: 14.63 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.719e-05/0.4306, allocations: 39.41 kB / 0.59 GB, free: 14.59 MB / 410.7 MB Notification: Performance of SimCode: time 2.81e-07/0.4306, allocations: 0 / 0.59 GB, free: 14.59 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01925/0.4499, allocations: 2.714 MB / 0.5926 GB, free: 11.89 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001743/0.4501, allocations: 180 kB / 0.5928 GB, free: 11.7 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.813/2.263, allocations: 3.938 kB / 0.5928 GB, free: 11.7 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat does not exist to compare? outputFormat=mat