Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.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.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test6",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.0009206/0.0009206, allocations: 170.6 kB / 8.739 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.368/1.368, 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.0009/0.0008998, allocations: 89.97 kB / 281.6 MB, free: 5.285 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.2062/0.2062, allocations: 44.15 MB / 376.5 MB, free: 3.059 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.906e-05/1.909e-05, allocations: 4.219 kB / 444.7 MB, free: 15.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1396, allocations: 61.92 MB / 0.4948 GB, free: 1.168 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4581/0.5978, allocations: 88.16 MB / 0.5809 GB, free: 8.223 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002444/0.5981, allocations: 75.95 kB / 0.5809 GB, free: 8.148 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01833/0.6164, allocations: 7.937 MB / 0.5887 GB, free: 220 kB / 394.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.6165, allocations: 0 / 0.5887 GB, free: 220 kB / 394.7 MB Notification: Performance of Transformations before backend: time 2.749e-05/0.6165, allocations: 4 kB / 0.5887 GB, free: 216 kB / 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.0007765/0.6173, allocations: 0.5559 MB / 0.5892 GB, free: 15.61 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.824e-05/0.6174, allocations: 11.98 kB / 0.5892 GB, free: 15.59 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.637e-05/0.6175, allocations: 43.52 kB / 0.5893 GB, free: 15.55 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005679/0.6181, allocations: 335.2 kB / 0.5896 GB, free: 15.18 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.6181, allocations: 0 / 0.5896 GB, free: 15.18 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.53e-05/0.6181, allocations: 8 kB / 0.5896 GB, free: 15.18 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.552e-05/0.6182, allocations: 16 kB / 0.5896 GB, free: 15.16 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001158/0.6184, allocations: 49.61 kB / 0.5897 GB, free: 15.11 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.6184, allocations: 4 kB / 0.5897 GB, free: 15.1 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.6184, allocations: 0 / 0.5897 GB, free: 15.1 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.6184, allocations: 0 / 0.5897 GB, free: 15.1 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006985/0.6191, allocations: 437.2 kB / 0.5901 GB, free: 14.64 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.269e-05/0.6192, allocations: 37.52 kB / 0.5901 GB, free: 14.59 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.408e-05/0.6193, allocations: 20.86 kB / 0.5901 GB, free: 14.57 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.57e-05/0.6193, allocations: 0 / 0.5901 GB, free: 14.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/0.6193, allocations: 30.56 kB / 0.5902 GB, free: 14.53 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.6193, allocations: 7.938 kB / 0.5902 GB, free: 14.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005931/0.6199, allocations: 236.2 kB / 0.5904 GB, free: 14.29 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.352e-05/0.62, allocations: 51.41 kB / 0.5905 GB, free: 14.22 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001139/0.6211, allocations: 0.7551 MB / 0.5912 GB, free: 13.46 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.6212, allocations: 25.7 kB / 0.5912 GB, free: 13.43 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001647/0.6213, allocations: 216.1 kB / 0.5914 GB, free: 13.21 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.666e-05/0.6214, allocations: 19.72 kB / 0.5914 GB, free: 13.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.46e-06/0.6214, allocations: 4 kB / 0.5915 GB, free: 13.19 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.6216, allocations: 362.7 kB / 0.5918 GB, free: 12.83 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.229e-05/0.6216, allocations: 23.94 kB / 0.5918 GB, free: 12.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.249e-05/0.6216, allocations: 19.98 kB / 0.5918 GB, free: 12.79 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.414e-05/0.6217, allocations: 23.98 kB / 0.5919 GB, free: 12.76 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.6217, allocations: 0 / 0.5919 GB, free: 12.76 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000157/0.6219, allocations: 113.1 kB / 0.592 GB, free: 12.64 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.6219, allocations: 4 kB / 0.592 GB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.6219, allocations: 0 / 0.592 GB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.6219, allocations: 4 kB / 0.592 GB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/0.6221, allocations: 23.98 kB / 0.592 GB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.6221, allocations: 0 / 0.592 GB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.364e-05/0.6222, allocations: 19.92 kB / 0.592 GB, free: 12.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.6222, allocations: 4 kB / 0.592 GB, free: 12.59 MB / 410.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 8.038e-05/0.6223, allocations: 112.9 kB / 0.5921 GB, free: 12.47 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001781/0.6225, allocations: 121.1 kB / 0.5922 GB, free: 12.35 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.136e-05/0.6225, allocations: 51.31 kB / 0.5923 GB, free: 12.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002294/0.6228, allocations: 137.6 kB / 0.5924 GB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.6228, allocations: 0 / 0.5924 GB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.6228, allocations: 0 / 0.5924 GB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.6228, allocations: 7.953 kB / 0.5924 GB, free: 12.15 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006683/0.6235, allocations: 0.5735 MB / 0.593 GB, free: 11.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.6235, allocations: 0 / 0.593 GB, free: 11.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.844e-05/0.6236, allocations: 27.98 kB / 0.593 GB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.6236, allocations: 0 / 0.593 GB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.6236, allocations: 0 / 0.593 GB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.6236, allocations: 0 / 0.593 GB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.6236, allocations: 3.953 kB / 0.593 GB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002135/0.6239, allocations: 227 kB / 0.5932 GB, free: 11.26 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001677/0.624, allocations: 160.5 kB / 0.5934 GB, free: 11.09 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.415e-05/0.6241, allocations: 4 kB / 0.5934 GB, free: 11.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/0.6242, allocations: 11.98 kB / 0.5934 GB, free: 11.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.358e-05/0.6243, allocations: 7.953 kB / 0.5934 GB, free: 11.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/0.6243, allocations: 7.984 kB / 0.5934 GB, free: 11.05 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006064/0.6249, allocations: 0.6082 MB / 0.594 GB, free: 10.45 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6249, allocations: 0 / 0.594 GB, free: 10.45 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002977/0.6252, allocations: 60 kB / 0.5941 GB, free: 10.39 MB / 410.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.001156/0.6264, allocations: 0.9888 MB / 0.595 GB, free: 9.449 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001389/0.6265, allocations: 51.97 kB / 0.5951 GB, free: 9.398 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.6265, allocations: 4 kB / 0.5951 GB, free: 9.395 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.073e-05/0.6266, allocations: 35.92 kB / 0.5951 GB, free: 9.359 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002905/0.6269, allocations: 22.08 kB / 0.5951 GB, free: 9.336 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001245/0.6281, allocations: 0.833 MB / 0.596 GB, free: 8.465 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003856/0.6285, allocations: 0.8418 MB / 0.5968 GB, free: 7.598 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001046/0.6286, allocations: 48.97 kB / 0.5968 GB, free: 7.551 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001749/0.6288, allocations: 127.4 kB / 0.597 GB, free: 7.426 MB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/0.6288, allocations: 0 / 0.597 GB, free: 7.426 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02674/0.6556, allocations: 6.022 MB / 0.6028 GB, free: 1.398 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002361/0.6559, allocations: 158.4 kB / 0.603 GB, free: 1.211 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.985/2.641, allocations: 4 kB / 0.603 GB, free: 1.207 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test6_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test6.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat does not exist to compare? outputFormat=mat