Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.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.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test5",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.001651/0.001651, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 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.3 MB / 236 MB, free: 2.91 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.0009586/0.0009586, allocations: 89.86 kB / 287 MB, free: 176 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2448/0.2448, allocations: 44.16 MB / 382 MB, free: 14.65 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.229e-05/3.232e-05, allocations: 4.219 kB / 451.9 MB, free: 9.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1417, allocations: 61.92 MB / 0.5018 GB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4226/0.5643, allocations: 88.89 MB / 0.5886 GB, free: 336 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000242/0.5647, allocations: 67.97 kB / 0.5887 GB, free: 268 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01718/0.5818, allocations: 7.939 MB / 0.5964 GB, free: 8.324 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.5819, allocations: 0 / 0.5964 GB, free: 8.324 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.236e-05/0.5819, allocations: 8 kB / 0.5964 GB, free: 8.316 MB / 410.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.0005622/0.5825, allocations: 0.5481 MB / 0.597 GB, free: 7.723 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.5826, allocations: 8.031 kB / 0.597 GB, free: 7.715 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.488e-05/0.5826, allocations: 42.55 kB / 0.597 GB, free: 7.664 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.301e-05/0.5827, allocations: 39.44 kB / 0.597 GB, free: 7.625 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000542/0.5832, allocations: 335.2 kB / 0.5974 GB, free: 7.254 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.218e-06/0.5832, allocations: 4 kB / 0.5974 GB, free: 7.25 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.1e-05/0.5833, allocations: 11.83 kB / 0.5974 GB, free: 7.242 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/0.5834, allocations: 49.69 kB / 0.5974 GB, free: 7.188 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.5834, allocations: 0 / 0.5974 GB, free: 7.188 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.5835, allocations: 4 kB / 0.5974 GB, free: 7.184 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.5835, allocations: 0 / 0.5974 GB, free: 7.184 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.3e-05/0.5835, allocations: 19.98 kB / 0.5975 GB, free: 7.164 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000732/0.5843, allocations: 448.6 kB / 0.5979 GB, free: 6.676 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000203/0.5845, allocations: 46.55 kB / 0.5979 GB, free: 6.621 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.148e-05/0.5845, allocations: 12.86 kB / 0.5979 GB, free: 6.605 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.255e-05/0.5846, allocations: 4 kB / 0.5979 GB, free: 6.602 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.5846, allocations: 30.56 kB / 0.598 GB, free: 6.562 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 3.196e-06/0.5846, allocations: 0 / 0.598 GB, free: 6.562 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005385/0.5852, allocations: 204 kB / 0.5982 GB, free: 6.355 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.444e-05/0.5852, allocations: 51.41 kB / 0.5982 GB, free: 6.293 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001217/0.5864, allocations: 0.7811 MB / 0.599 GB, free: 5.508 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.5865, allocations: 25.7 kB / 0.599 GB, free: 5.477 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001612/0.5866, allocations: 220.1 kB / 0.5992 GB, free: 5.258 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.681e-05/0.5867, allocations: 23.81 kB / 0.5992 GB, free: 5.234 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.466e-06/0.5867, allocations: 3.938 kB / 0.5992 GB, free: 5.23 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.5868, allocations: 358.8 kB / 0.5996 GB, free: 4.871 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.809e-05/0.5868, allocations: 12 kB / 0.5996 GB, free: 4.859 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.558e-05/0.5869, allocations: 15.98 kB / 0.5996 GB, free: 4.844 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.281e-05/0.5869, allocations: 16 kB / 0.5996 GB, free: 4.828 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.5869, allocations: 0 / 0.5996 GB, free: 4.828 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001405/0.5871, allocations: 101.1 kB / 0.5997 GB, free: 4.723 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.5871, allocations: 4 kB / 0.5997 GB, free: 4.719 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.5871, allocations: 0 / 0.5997 GB, free: 4.719 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.5871, allocations: 4 kB / 0.5997 GB, free: 4.715 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.326e-05/0.5872, allocations: 24.17 kB / 0.5997 GB, free: 4.691 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.5872, allocations: 3.953 kB / 0.5998 GB, free: 4.688 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.355e-05/0.5873, allocations: 15.98 kB / 0.5998 GB, free: 4.672 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.5873, allocations: 0 / 0.5998 GB, free: 4.672 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 (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.554e-05/0.5874, allocations: 108.9 kB / 0.5999 GB, free: 4.559 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.224e-05/0.5875, allocations: 43.44 kB / 0.5999 GB, free: 4.516 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002203/0.5877, allocations: 133 kB / 0.6 GB, free: 4.371 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.5877, allocations: 4 kB / 0.6 GB, free: 4.367 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.5877, allocations: 0 / 0.6 GB, free: 4.367 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.5877, allocations: 3.953 kB / 0.6 GB, free: 4.363 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008124/0.5885, allocations: 0.5725 MB / 0.6006 GB, free: 3.734 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.5886, allocations: 0 / 0.6006 GB, free: 3.734 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.349e-05/0.5886, allocations: 12 kB / 0.6006 GB, free: 3.723 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.5886, allocations: 0 / 0.6006 GB, free: 3.723 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.906e-06/0.5886, allocations: 0 / 0.6006 GB, free: 3.723 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.97e-06/0.5887, allocations: 3.953 kB / 0.6006 GB, free: 3.719 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.5887, allocations: 11.98 kB / 0.6006 GB, free: 3.707 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002113/0.5889, allocations: 202.9 kB / 0.6008 GB, free: 3.492 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002583/0.5892, allocations: 160.5 kB / 0.601 GB, free: 3.316 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.713e-05/0.5892, allocations: 0 / 0.601 GB, free: 3.316 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.837e-05/0.5893, allocations: 8 kB / 0.601 GB, free: 3.309 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.667e-05/0.5894, allocations: 7.938 kB / 0.601 GB, free: 3.301 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.775e-06/0.5894, allocations: 12 kB / 0.601 GB, free: 3.289 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007109/0.5901, allocations: 0.6342 MB / 0.6016 GB, free: 2.656 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5901, allocations: 0 / 0.6016 GB, free: 2.656 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002798/0.5904, allocations: 55.94 kB / 0.6017 GB, free: 2.602 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 (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.001251/0.5916, allocations: 0.9981 MB / 0.6027 GB, free: 1.691 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001138/0.5918, allocations: 39.98 kB / 0.6027 GB, free: 1.652 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.5918, allocations: 0 / 0.6027 GB, free: 1.652 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.637e-05/0.5918, allocations: 16 kB / 0.6027 GB, free: 1.637 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002768/0.5921, allocations: 37.22 kB / 0.6027 GB, free: 1.598 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001273/0.5934, allocations: 0.8296 MB / 0.6036 GB, free: 0.7305 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004547/0.5938, allocations: 0.834 MB / 0.6044 GB, free: 15.87 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001033/0.594, allocations: 48.22 kB / 0.6044 GB, free: 15.82 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001726/0.5941, allocations: 127.4 kB / 0.6045 GB, free: 15.7 MB / 426.7 MB Notification: Performance of SimCode: time 3.51e-07/0.5941, allocations: 0 / 0.6045 GB, free: 15.7 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02064/0.6148, allocations: 6.462 MB / 0.6108 GB, free: 9.293 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003379/0.6152, allocations: 189.9 kB / 0.611 GB, free: 9.062 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.108/2.723, allocations: 4 kB / 0.611 GB, free: 9.059 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test5_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test5.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat does not exist to compare? outputFormat=mat