Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.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.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test2",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.001026/0.001026, allocations: 172.4 kB / 8.739 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.485/1.485, allocations: 221.5 MB / 230.7 MB, free: 7.562 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.0009098/0.00091, allocations: 101.8 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.2454/0.2454, allocations: 44.15 MB / 376.5 MB, free: 3.035 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.896e-05/1.915e-05, allocations: 8.156 kB / 444.7 MB, free: 15.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1378, allocations: 61.91 MB / 0.4948 GB, free: 1.141 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4024/0.5403, allocations: 87.21 MB / 0.5799 GB, free: 9.203 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002403/0.5406, allocations: 67.97 kB / 0.58 GB, free: 9.137 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009957/0.5505, allocations: 3.651 MB / 0.5836 GB, free: 5.504 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.925e-06/0.5506, allocations: 0 / 0.5836 GB, free: 5.504 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.219e-05/0.5506, allocations: 0 / 0.5836 GB, free: 5.504 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.0004528/0.5511, allocations: 358.5 kB / 0.5839 GB, free: 5.109 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.419e-05/0.5511, allocations: 11.98 kB / 0.5839 GB, free: 5.098 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.827e-05/0.5512, allocations: 7.906 kB / 0.5839 GB, free: 5.09 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000249/0.5514, allocations: 200.9 kB / 0.5841 GB, free: 4.855 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.5515, allocations: 4 kB / 0.5841 GB, free: 4.852 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.326e-05/0.5515, allocations: 4 kB / 0.5841 GB, free: 4.848 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.969e-05/0.5516, allocations: 7.953 kB / 0.5841 GB, free: 4.84 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.868e-05/0.5516, allocations: 41.69 kB / 0.5842 GB, free: 4.793 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.5517, allocations: 0 / 0.5842 GB, free: 4.793 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.5517, allocations: 0 / 0.5842 GB, free: 4.793 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.5517, allocations: 0 / 0.5842 GB, free: 4.793 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003079/0.552, allocations: 253.4 kB / 0.5844 GB, free: 4.508 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001507/0.5522, allocations: 46.45 kB / 0.5845 GB, free: 4.453 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.303e-05/0.5522, allocations: 8.859 kB / 0.5845 GB, free: 4.441 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/0.5522, allocations: 3.938 kB / 0.5845 GB, free: 4.438 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.862e-05/0.5522, allocations: 34.56 kB / 0.5845 GB, free: 4.395 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.5523, allocations: 0 / 0.5845 GB, free: 4.395 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003391/0.5526, allocations: 97.5 kB / 0.5846 GB, free: 4.293 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.047e-05/0.5526, allocations: 55.41 kB / 0.5846 GB, free: 4.227 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.5528, allocations: 129.2 kB / 0.5848 GB, free: 4.09 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/0.5528, allocations: 25.7 kB / 0.5848 GB, free: 4.059 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.983e-05/0.5528, allocations: 92.14 kB / 0.5849 GB, free: 3.965 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.019e-05/0.5529, allocations: 19.72 kB / 0.5849 GB, free: 3.945 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.547e-06/0.5529, allocations: 0 / 0.5849 GB, free: 3.945 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.676e-05/0.553, allocations: 314.8 kB / 0.5852 GB, free: 3.629 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.138e-05/0.553, allocations: 12 kB / 0.5852 GB, free: 3.617 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.67e-05/0.553, allocations: 12.84 kB / 0.5852 GB, free: 3.605 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.508e-05/0.553, allocations: 8 kB / 0.5852 GB, free: 3.598 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/0.5531, allocations: 0 / 0.5852 GB, free: 3.598 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.867e-05/0.5531, allocations: 61.83 kB / 0.5853 GB, free: 3.531 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.5532, allocations: 4 kB / 0.5853 GB, free: 3.527 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.5532, allocations: 64 / 0.5853 GB, free: 3.527 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.5532, allocations: 7.938 kB / 0.5853 GB, free: 3.52 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.397e-05/0.5533, allocations: 15.98 kB / 0.5853 GB, free: 3.504 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.5533, allocations: 0 / 0.5853 GB, free: 3.504 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.443e-05/0.5534, allocations: 15.94 kB / 0.5853 GB, free: 3.488 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.5534, allocations: 3.984 kB / 0.5853 GB, free: 3.484 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 7.585e-05/0.5534, allocations: 101 kB / 0.5854 GB, free: 3.379 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.478e-05/0.5536, allocations: 61.56 kB / 0.5855 GB, free: 3.312 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.663e-05/0.5536, allocations: 7.906 kB / 0.5855 GB, free: 3.305 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001416/0.5537, allocations: 74.02 kB / 0.5856 GB, free: 3.227 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.5537, allocations: 0 / 0.5856 GB, free: 3.227 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.5538, allocations: 4 kB / 0.5856 GB, free: 3.223 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.5538, allocations: 0 / 0.5856 GB, free: 3.223 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003138/0.5541, allocations: 303 kB / 0.5859 GB, free: 2.883 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.5541, allocations: 0 / 0.5859 GB, free: 2.883 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.342e-05/0.5542, allocations: 12 kB / 0.5859 GB, free: 2.871 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.5542, allocations: 3.938 kB / 0.5859 GB, free: 2.867 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.5542, allocations: 0 / 0.5859 GB, free: 2.867 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.5542, allocations: 3.938 kB / 0.5859 GB, free: 2.863 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.5542, allocations: 3.984 kB / 0.5859 GB, free: 2.859 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001385/0.5544, allocations: 155.8 kB / 0.586 GB, free: 2.691 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.889e-05/0.5544, allocations: 89 kB / 0.5861 GB, free: 2.586 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.773e-05/0.5544, allocations: 4 kB / 0.5861 GB, free: 2.582 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.847e-05/0.5545, allocations: 8 kB / 0.5861 GB, free: 2.574 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.873e-05/0.5546, allocations: 3.984 kB / 0.5861 GB, free: 2.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.5546, allocations: 0 / 0.5861 GB, free: 2.57 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.443e-05/0.5546, allocations: 113.2 kB / 0.5862 GB, free: 2.461 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5546, allocations: 0 / 0.5862 GB, free: 2.461 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002521/0.5549, allocations: 19.94 kB / 0.5863 GB, free: 2.441 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.001028/0.5559, allocations: 0.9313 MB / 0.5872 GB, free: 1.559 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.967e-05/0.556, allocations: 28 kB / 0.5872 GB, free: 1.531 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.5561, allocations: 0 / 0.5872 GB, free: 1.531 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.979e-05/0.5561, allocations: 19.94 kB / 0.5872 GB, free: 1.512 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002214/0.5563, allocations: 11.98 kB / 0.5872 GB, free: 1.5 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004225/0.5568, allocations: 141.2 kB / 0.5874 GB, free: 1.324 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/0.557, allocations: 0.7118 MB / 0.5881 GB, free: 0.5859 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.13e-05/0.5571, allocations: 4.188 kB / 0.5881 GB, free: 0.5781 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.051e-05/0.5571, allocations: 23.42 kB / 0.5881 GB, free: 0.5547 MB / 394.7 MB Notification: Performance of SimCode: time 2.8e-07/0.5571, allocations: 3.938 kB / 0.5881 GB, free: 0.5508 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0187/0.5758, allocations: 1.717 MB / 0.5898 GB, free: 14.84 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001854/0.5761, allocations: 160.2 kB / 0.5899 GB, free: 14.65 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.469/2.045, allocations: 0 / 0.5899 GB, free: 14.65 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat does not exist to compare? outputFormat=mat