Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.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.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test31",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.001406/0.001406, 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.578/1.578, 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.001087/0.001087, allocations: 100.1 kB / 281.6 MB, free: 5.312 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.2467/0.2467, allocations: 44.15 MB / 376.5 MB, free: 3.031 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.505e-05/2.493e-05, allocations: 7.984 kB / 444.7 MB, free: 15.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1437, allocations: 61.91 MB / 0.4948 GB, free: 1.133 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4247/0.5685, allocations: 87.99 MB / 0.5807 GB, free: 8.438 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000173/0.5687, allocations: 71.95 kB / 0.5808 GB, free: 8.367 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01031/0.579, allocations: 4.32 MB / 0.585 GB, free: 4.059 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.579, allocations: 0.75 kB / 0.585 GB, free: 4.059 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.198e-06/0.5791, allocations: 7.984 kB / 0.585 GB, free: 4.051 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.0003155/0.5794, allocations: 390.2 kB / 0.5854 GB, free: 3.625 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.937e-05/0.5794, allocations: 11.98 kB / 0.5854 GB, free: 3.613 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.602e-05/0.5795, allocations: 4 kB / 0.5854 GB, free: 3.609 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001763/0.5796, allocations: 196.9 kB / 0.5856 GB, free: 3.379 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.253e-06/0.5797, allocations: 3.953 kB / 0.5856 GB, free: 3.375 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.292e-05/0.5797, allocations: 4 kB / 0.5856 GB, free: 3.371 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.241e-05/0.5798, allocations: 19.94 kB / 0.5856 GB, free: 3.352 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.878e-05/0.5798, allocations: 67.33 kB / 0.5857 GB, free: 3.273 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.5799, allocations: 4 kB / 0.5857 GB, free: 3.27 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.084e-06/0.5799, allocations: 0 / 0.5857 GB, free: 3.27 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.585e-06/0.5799, allocations: 0 / 0.5857 GB, free: 3.27 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00025/0.5801, allocations: 261.3 kB / 0.5859 GB, free: 2.977 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.511e-05/0.5802, allocations: 34.58 kB / 0.5859 GB, free: 2.934 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.319e-05/0.5802, allocations: 12.86 kB / 0.586 GB, free: 2.918 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.752e-05/0.5802, allocations: 8 kB / 0.586 GB, free: 2.91 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.5803, allocations: 34.5 kB / 0.586 GB, free: 2.867 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 2.515e-06/0.5803, allocations: 0 / 0.586 GB, free: 2.867 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003636/0.5807, allocations: 129.4 kB / 0.5861 GB, free: 2.734 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.909e-05/0.5807, allocations: 77.11 kB / 0.5862 GB, free: 2.641 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.8e-05/0.5808, allocations: 129.2 kB / 0.5863 GB, free: 2.504 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.28e-05/0.5808, allocations: 29.7 kB / 0.5863 GB, free: 2.469 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.043e-05/0.5809, allocations: 88.14 kB / 0.5864 GB, free: 2.379 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.911e-05/0.5809, allocations: 23.7 kB / 0.5865 GB, free: 2.355 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.029e-06/0.5809, allocations: 0 / 0.5865 GB, free: 2.355 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.953e-05/0.581, allocations: 326.7 kB / 0.5868 GB, free: 2.027 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.659e-05/0.581, allocations: 16 kB / 0.5868 GB, free: 2.012 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.264e-05/0.581, allocations: 29.78 kB / 0.5868 GB, free: 1.977 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.207e-05/0.5811, allocations: 20.22 kB / 0.5868 GB, free: 1.957 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.92e-07/0.5811, allocations: 0 / 0.5868 GB, free: 1.957 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001/0.5812, allocations: 65.59 kB / 0.5869 GB, free: 1.887 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.5812, allocations: 8 kB / 0.5869 GB, free: 1.879 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.955e-06/0.5812, allocations: 0 / 0.5869 GB, free: 1.879 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.185e-06/0.5812, allocations: 0 / 0.5869 GB, free: 1.879 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.5814, allocations: 27.98 kB / 0.5869 GB, free: 1.852 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.5814, allocations: 8.016 kB / 0.5869 GB, free: 1.844 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.828e-05/0.5814, allocations: 11.94 kB / 0.5869 GB, free: 1.832 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.5815, allocations: 7.938 kB / 0.587 GB, free: 1.824 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 (7): * Single equations (assignments): 7 * 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.017e-05/0.5815, allocations: 104.9 kB / 0.5871 GB, free: 1.715 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001081/0.5816, allocations: 69.59 kB / 0.5871 GB, free: 1.641 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.804e-05/0.5817, allocations: 7.906 kB / 0.5871 GB, free: 1.633 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001346/0.5818, allocations: 86.22 kB / 0.5872 GB, free: 1.539 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.5818, allocations: 4 kB / 0.5872 GB, free: 1.535 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.5818, allocations: 0 / 0.5872 GB, free: 1.535 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-06/0.5818, allocations: 7.984 kB / 0.5872 GB, free: 1.527 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000285/0.5821, allocations: 327.1 kB / 0.5875 GB, free: 1.164 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.5821, allocations: 0 / 0.5875 GB, free: 1.164 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.067e-05/0.5822, allocations: 19.98 kB / 0.5876 GB, free: 1.145 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.175e-06/0.5822, allocations: 144 / 0.5876 GB, free: 1.145 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.5823, allocations: 11.94 kB / 0.5876 GB, free: 1.133 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.5823, allocations: 0 / 0.5876 GB, free: 1.133 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.5823, allocations: 0 / 0.5876 GB, free: 1.133 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00013/0.5824, allocations: 175.6 kB / 0.5877 GB, free: 0.9453 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.473e-05/0.5825, allocations: 92.94 kB / 0.5878 GB, free: 0.8359 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.5825, allocations: 4 kB / 0.5878 GB, free: 0.832 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.517e-05/0.5826, allocations: 15.98 kB / 0.5878 GB, free: 0.8164 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.886e-05/0.5826, allocations: 7.984 kB / 0.5878 GB, free: 0.8086 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.5826, allocations: 4 kB / 0.5878 GB, free: 0.8047 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.562e-05/0.5827, allocations: 108.8 kB / 0.588 GB, free: 0.6992 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5827, allocations: 0 / 0.588 GB, free: 0.6992 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002449/0.583, allocations: 28 kB / 0.588 GB, free: 0.6719 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 (7): * Single equations (assignments): 7 * 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.001021/0.584, allocations: 0.9776 MB / 0.5889 GB, free: 15.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001046/0.5841, allocations: 40 kB / 0.589 GB, free: 15.71 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.5841, allocations: 0 / 0.589 GB, free: 15.71 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.34e-05/0.5842, allocations: 31.92 kB / 0.589 GB, free: 15.68 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001904/0.5844, allocations: 15.94 kB / 0.589 GB, free: 15.67 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004147/0.5848, allocations: 169.9 kB / 0.5892 GB, free: 15.46 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002114/0.585, allocations: 0.6963 MB / 0.5899 GB, free: 14.74 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.178e-05/0.5851, allocations: 12.97 kB / 0.5899 GB, free: 14.73 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.779e-05/0.5852, allocations: 27.42 kB / 0.5899 GB, free: 14.7 MB / 410.7 MB Notification: Performance of SimCode: time 3.01e-07/0.5852, allocations: 0 / 0.5899 GB, free: 14.7 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01795/0.6031, allocations: 2.191 MB / 0.592 GB, free: 12.52 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001713/0.6033, allocations: 164.4 kB / 0.5922 GB, free: 12.33 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.794/2.397, allocations: 3.938 kB / 0.5922 GB, free: 12.33 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test31_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test31.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat does not exist to compare? outputFormat=mat