Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.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.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test24",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.001324/0.001323, allocations: 170.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.684/1.684, 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.000897/0.0008965, allocations: 92.39 kB / 281.6 MB, free: 5.324 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.2431/0.2431, allocations: 44.14 MB / 376.5 MB, free: 3.051 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.233e-05/2.236e-05, allocations: 8.156 kB / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1352, allocations: 61.91 MB / 0.4948 GB, free: 1.168 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.405/0.5402, allocations: 87.61 MB / 0.5803 GB, free: 8.77 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002788/0.5406, allocations: 75.95 kB / 0.5804 GB, free: 8.695 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01111/0.5517, allocations: 4.175 MB / 0.5845 GB, free: 4.543 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.5517, allocations: 0 / 0.5845 GB, free: 4.543 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.468e-06/0.5517, allocations: 3.938 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.0003176/0.5521, allocations: 366.5 kB / 0.5848 GB, free: 4.137 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.5521, allocations: 15.98 kB / 0.5848 GB, free: 4.121 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.243e-05/0.5522, allocations: 11.91 kB / 0.5848 GB, free: 4.109 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001874/0.5523, allocations: 186.9 kB / 0.585 GB, free: 3.887 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.125e-06/0.5524, allocations: 0 / 0.585 GB, free: 3.887 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.771e-05/0.5524, allocations: 4 kB / 0.585 GB, free: 3.883 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.032e-05/0.5525, allocations: 15.95 kB / 0.585 GB, free: 3.867 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.094e-05/0.5526, allocations: 55.41 kB / 0.5851 GB, free: 3.801 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.5526, allocations: 0 / 0.5851 GB, free: 3.801 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.5526, allocations: 3.984 kB / 0.5851 GB, free: 3.797 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.5526, allocations: 0 / 0.5851 GB, free: 3.797 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000329/0.5529, allocations: 261.4 kB / 0.5853 GB, free: 3.504 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001544/0.5531, allocations: 46.45 kB / 0.5854 GB, free: 3.449 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.457e-05/0.5531, allocations: 12.86 kB / 0.5854 GB, free: 3.434 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.736e-05/0.5532, allocations: 0 / 0.5854 GB, free: 3.434 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/0.5532, allocations: 34.56 kB / 0.5854 GB, free: 3.391 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 9.41e-07/0.5532, allocations: 0 / 0.5854 GB, free: 3.391 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003725/0.5536, allocations: 109.4 kB / 0.5855 GB, free: 3.277 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.754e-05/0.5536, allocations: 85.11 kB / 0.5856 GB, free: 3.176 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.864e-05/0.5537, allocations: 113 kB / 0.5857 GB, free: 3.059 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/0.5538, allocations: 25.7 kB / 0.5858 GB, free: 3.027 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.752e-05/0.5538, allocations: 96.12 kB / 0.5858 GB, free: 2.93 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.106e-05/0.5538, allocations: 19.75 kB / 0.5859 GB, free: 2.91 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.917e-06/0.5538, allocations: 0 / 0.5859 GB, free: 2.91 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.669e-05/0.5539, allocations: 318.8 kB / 0.5862 GB, free: 2.59 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.317e-05/0.554, allocations: 12 kB / 0.5862 GB, free: 2.578 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.786e-05/0.554, allocations: 21.72 kB / 0.5862 GB, free: 2.551 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.096e-05/0.554, allocations: 16.17 kB / 0.5862 GB, free: 2.535 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.554, allocations: 0 / 0.5862 GB, free: 2.535 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.561e-05/0.5541, allocations: 77.48 kB / 0.5863 GB, free: 2.453 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.5542, allocations: 8.031 kB / 0.5863 GB, free: 2.445 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.5542, allocations: 0 / 0.5863 GB, free: 2.445 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.5542, allocations: 4 kB / 0.5863 GB, free: 2.441 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.999e-05/0.5543, allocations: 11.98 kB / 0.5863 GB, free: 2.43 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.5543, allocations: 4 kB / 0.5863 GB, free: 2.426 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.496e-05/0.5543, allocations: 4 kB / 0.5863 GB, free: 2.422 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.5543, allocations: 0 / 0.5863 GB, free: 2.422 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 5.918e-05/0.5544, allocations: 111.2 kB / 0.5864 GB, free: 2.309 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.918e-05/0.5545, allocations: 69.48 kB / 0.5865 GB, free: 2.234 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.688e-05/0.5545, allocations: 7.906 kB / 0.5865 GB, free: 2.227 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001297/0.5547, allocations: 70.08 kB / 0.5866 GB, free: 2.148 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.5547, allocations: 3.938 kB / 0.5866 GB, free: 2.145 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.5547, allocations: 4 kB / 0.5866 GB, free: 2.141 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.5547, allocations: 3.984 kB / 0.5866 GB, free: 2.137 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003215/0.555, allocations: 307 kB / 0.5869 GB, free: 1.793 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.555, allocations: 4 kB / 0.5869 GB, free: 1.789 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.398e-05/0.5551, allocations: 15.98 kB / 0.5869 GB, free: 1.773 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.5551, allocations: 3.938 kB / 0.5869 GB, free: 1.77 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.5551, allocations: 4 kB / 0.5869 GB, free: 1.766 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.5551, allocations: 0 / 0.5869 GB, free: 1.766 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.5551, allocations: 0 / 0.5869 GB, free: 1.766 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001255/0.5553, allocations: 167.7 kB / 0.5871 GB, free: 1.586 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.38e-05/0.5553, allocations: 85.09 kB / 0.5871 GB, free: 1.484 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.5554, allocations: 4 kB / 0.5871 GB, free: 1.48 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.546e-05/0.5554, allocations: 8 kB / 0.5871 GB, free: 1.473 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.205e-05/0.5555, allocations: 3.984 kB / 0.5872 GB, free: 1.469 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.5555, allocations: 4 kB / 0.5872 GB, free: 1.465 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.798e-05/0.5555, allocations: 101.5 kB / 0.5873 GB, free: 1.367 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5556, allocations: 0 / 0.5873 GB, free: 1.367 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002469/0.5558, allocations: 24 kB / 0.5873 GB, free: 1.344 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.001032/0.5568, allocations: 0.9813 MB / 0.5882 GB, free: 424 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.604e-05/0.557, allocations: 35.92 kB / 0.5883 GB, free: 388 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.557, allocations: 0 / 0.5883 GB, free: 388 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.701e-05/0.557, allocations: 12 kB / 0.5883 GB, free: 376 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001971/0.5572, allocations: 15.98 kB / 0.5883 GB, free: 360 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004013/0.5576, allocations: 153.6 kB / 0.5884 GB, free: 164 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002226/0.5578, allocations: 0.6963 MB / 0.5891 GB, free: 15.44 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.276e-05/0.5579, allocations: 15.77 kB / 0.5891 GB, free: 15.42 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.915e-05/0.558, allocations: 31.36 kB / 0.5892 GB, free: 15.39 MB / 410.7 MB Notification: Performance of SimCode: time 2.7e-07/0.558, allocations: 0 / 0.5892 GB, free: 15.39 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02168/0.5797, allocations: 1.969 MB / 0.5911 GB, free: 13.43 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002349/0.58, allocations: 165.5 kB / 0.5912 GB, free: 13.24 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.484/2.063, allocations: 0 / 0.5912 GB, free: 13.24 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test24_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test24.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24_res.mat does not exist to compare? outputFormat=mat