Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_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.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test25_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.001058/0.001059, allocations: 173 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.524/1.524, allocations: 221.5 MB / 230.7 MB, free: 7.555 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.0009881/0.0009881, allocations: 92.28 kB / 281.6 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.2381/0.2381, allocations: 44.14 MB / 376.5 MB, free: 3.055 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.455e-05/2.457e-05, allocations: 4.219 kB / 444.7 MB, free: 15.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1422, allocations: 61.92 MB / 0.4948 GB, free: 1.176 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4042/0.5464, allocations: 87.29 MB / 0.58 GB, free: 9.184 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002552/0.5467, allocations: 67.97 kB / 0.5801 GB, free: 9.117 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01063/0.5574, allocations: 3.869 MB / 0.5839 GB, free: 5.258 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.5574, allocations: 0 / 0.5839 GB, free: 5.258 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.886e-06/0.5574, allocations: 0 / 0.5839 GB, free: 5.258 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003267/0.5578, allocations: 374.3 kB / 0.5842 GB, free: 4.848 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.5578, allocations: 15.98 kB / 0.5842 GB, free: 4.832 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.644e-05/0.5579, allocations: 4 kB / 0.5842 GB, free: 4.828 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002137/0.5581, allocations: 191.8 kB / 0.5844 GB, free: 4.602 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.5581, allocations: 4 kB / 0.5844 GB, free: 4.598 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.92e-05/0.5581, allocations: 0 / 0.5844 GB, free: 4.598 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.015e-05/0.5582, allocations: 27.94 kB / 0.5844 GB, free: 4.57 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.365e-05/0.5583, allocations: 55.34 kB / 0.5845 GB, free: 4.504 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.5583, allocations: 4 kB / 0.5845 GB, free: 4.5 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-06/0.5583, allocations: 4 kB / 0.5845 GB, free: 4.496 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.5584, allocations: 0 / 0.5845 GB, free: 4.496 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003717/0.5587, allocations: 269.4 kB / 0.5848 GB, free: 4.195 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.158e-05/0.5588, allocations: 54.45 kB / 0.5848 GB, free: 4.133 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.232e-05/0.5589, allocations: 20.98 kB / 0.5848 GB, free: 4.109 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.5589, allocations: 3.984 kB / 0.5848 GB, free: 4.105 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/0.5589, allocations: 38.56 kB / 0.5849 GB, free: 4.059 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.5589, allocations: 0 / 0.5849 GB, free: 4.059 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004057/0.5593, allocations: 129.5 kB / 0.585 GB, free: 3.926 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.771e-05/0.5594, allocations: 77.11 kB / 0.5851 GB, free: 3.832 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.5595, allocations: 127.5 kB / 0.5852 GB, free: 3.699 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.5595, allocations: 33.7 kB / 0.5852 GB, free: 3.66 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.304e-05/0.5596, allocations: 88.05 kB / 0.5853 GB, free: 3.57 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.177e-05/0.5596, allocations: 27.64 kB / 0.5853 GB, free: 3.543 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.659e-06/0.5596, allocations: 0 / 0.5853 GB, free: 3.543 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.122e-05/0.5597, allocations: 322.8 kB / 0.5856 GB, free: 3.219 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.499e-05/0.5598, allocations: 16 kB / 0.5857 GB, free: 3.203 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.121e-05/0.5598, allocations: 34.47 kB / 0.5857 GB, free: 3.164 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.457e-05/0.5599, allocations: 28.14 kB / 0.5857 GB, free: 3.137 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.5599, allocations: 3.953 kB / 0.5857 GB, free: 3.133 MB / 394.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001228/0.56, allocations: 89.58 kB / 0.5858 GB, free: 3.039 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.56, allocations: 8 kB / 0.5858 GB, free: 3.031 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.56, allocations: 4 kB / 0.5858 GB, free: 3.027 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.56, allocations: 0 / 0.5858 GB, free: 3.027 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.5602, allocations: 19.98 kB / 0.5858 GB, free: 3.008 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.5602, allocations: 3.938 kB / 0.5858 GB, free: 3.004 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.015e-05/0.5602, allocations: 11.98 kB / 0.5858 GB, free: 2.992 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.61e-05/0.5603, allocations: 7.938 kB / 0.5859 GB, free: 2.984 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 (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 prepare postOptimizeDAE: time 6.417e-05/0.5603, allocations: 105 kB / 0.586 GB, free: 2.875 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001193/0.5604, allocations: 81.53 kB / 0.586 GB, free: 2.789 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.887e-05/0.5605, allocations: 7.906 kB / 0.586 GB, free: 2.781 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001503/0.5606, allocations: 94.22 kB / 0.5861 GB, free: 2.688 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.5607, allocations: 0 / 0.5861 GB, free: 2.688 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.5607, allocations: 0 / 0.5861 GB, free: 2.688 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.5607, allocations: 0 / 0.5861 GB, free: 2.688 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003406/0.561, allocations: 354.9 kB / 0.5865 GB, free: 2.297 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.561, allocations: 0 / 0.5865 GB, free: 2.297 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.742e-05/0.5611, allocations: 19.98 kB / 0.5865 GB, free: 2.277 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.5611, allocations: 0 / 0.5865 GB, free: 2.277 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.5611, allocations: 0 / 0.5865 GB, free: 2.277 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.5611, allocations: 0 / 0.5865 GB, free: 2.277 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.5611, allocations: 0 / 0.5865 GB, free: 2.277 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001399/0.5613, allocations: 183.7 kB / 0.5867 GB, free: 2.082 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.169e-05/0.5613, allocations: 89.02 kB / 0.5867 GB, free: 1.977 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.5614, allocations: 0 / 0.5867 GB, free: 1.977 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.526e-05/0.5614, allocations: 7.984 kB / 0.5868 GB, free: 1.969 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.004e-05/0.5615, allocations: 4 kB / 0.5868 GB, free: 1.965 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.5615, allocations: 7.984 kB / 0.5868 GB, free: 1.957 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.388e-05/0.5616, allocations: 99.28 kB / 0.5869 GB, free: 1.859 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5616, allocations: 7.938 kB / 0.5869 GB, free: 1.852 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002519/0.5618, allocations: 35.92 kB / 0.5869 GB, free: 1.816 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 (8): * Single equations (assignments): 8 * 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.001042/0.5629, allocations: 0.9912 MB / 0.5879 GB, free: 0.8789 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000119/0.563, allocations: 47.94 kB / 0.5879 GB, free: 0.832 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.563, allocations: 0 / 0.5879 GB, free: 0.832 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.97e-05/0.5631, allocations: 27.98 kB / 0.5879 GB, free: 0.8047 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001923/0.5633, allocations: 8 kB / 0.588 GB, free: 0.7969 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004235/0.5637, allocations: 173.7 kB / 0.5881 GB, free: 0.5898 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002345/0.5639, allocations: 0.6963 MB / 0.5888 GB, free: 15.87 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.356e-05/0.564, allocations: 24.8 kB / 0.5888 GB, free: 15.84 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.534e-05/0.5641, allocations: 31.42 kB / 0.5889 GB, free: 15.81 MB / 410.7 MB Notification: Performance of SimCode: time 4.21e-07/0.5641, allocations: 0 / 0.5889 GB, free: 15.81 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.019/0.5831, allocations: 2.254 MB / 0.5911 GB, free: 13.57 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001844/0.5834, allocations: 172.6 kB / 0.5912 GB, free: 13.38 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.568/2.152, allocations: 4 kB / 0.5912 GB, free: 13.38 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat does not exist to compare? outputFormat=mat