Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_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.001066/0.001066, 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.433/1.433, allocations: 221.3 MB / 236 MB, free: 2.973 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.001001/0.001001, allocations: 95.8 kB / 287 MB, free: 240 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.2118/0.2118, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.218e-05/4.246e-05, allocations: 4.219 kB / 451.9 MB, free: 9.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1569, allocations: 61.91 MB / 0.5018 GB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4413/0.5982, allocations: 88.54 MB / 0.5883 GB, free: 0.6914 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002343/0.5985, allocations: 75.95 kB / 0.5883 GB, free: 0.6172 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01833/0.6169, allocations: 8.361 MB / 0.5965 GB, free: 8.254 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.6169, allocations: 0 / 0.5965 GB, free: 8.254 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.435e-05/0.617, allocations: 8 kB / 0.5965 GB, free: 8.246 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000673/0.6177, allocations: 0.5636 MB / 0.5971 GB, free: 7.637 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.973e-05/0.6177, allocations: 12.03 kB / 0.5971 GB, free: 7.625 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.937e-05/0.6178, allocations: 34.5 kB / 0.5971 GB, free: 7.582 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.575e-05/0.6178, allocations: 43.53 kB / 0.5971 GB, free: 7.539 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005432/0.6184, allocations: 327.3 kB / 0.5975 GB, free: 7.176 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.6184, allocations: 7.938 kB / 0.5975 GB, free: 7.168 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.819e-05/0.6184, allocations: 4 kB / 0.5975 GB, free: 7.164 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001319/0.6186, allocations: 45.7 kB / 0.5975 GB, free: 7.113 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.6186, allocations: 0 / 0.5975 GB, free: 7.113 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.6186, allocations: 11.98 kB / 0.5975 GB, free: 7.102 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.6186, allocations: 0 / 0.5975 GB, free: 7.102 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.943e-05/0.6187, allocations: 16 kB / 0.5975 GB, free: 7.086 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007105/0.6194, allocations: 452.5 kB / 0.598 GB, free: 6.594 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.085e-05/0.6195, allocations: 34.56 kB / 0.598 GB, free: 6.551 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.367e-05/0.6196, allocations: 24.89 kB / 0.598 GB, free: 6.523 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/0.6196, allocations: 0 / 0.598 GB, free: 6.523 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.6196, allocations: 30.56 kB / 0.5981 GB, free: 6.484 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 2.996e-06/0.6196, allocations: 0 / 0.5981 GB, free: 6.484 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006016/0.6202, allocations: 243.8 kB / 0.5983 GB, free: 6.242 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/0.6203, allocations: 55.41 kB / 0.5983 GB, free: 6.176 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001168/0.6215, allocations: 0.7811 MB / 0.5991 GB, free: 5.387 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.6215, allocations: 25.7 kB / 0.5991 GB, free: 5.355 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001744/0.6217, allocations: 227.9 kB / 0.5993 GB, free: 5.129 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.142e-05/0.6217, allocations: 23.66 kB / 0.5994 GB, free: 5.105 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-06/0.6217, allocations: 0 / 0.5994 GB, free: 5.105 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.6219, allocations: 366.8 kB / 0.5997 GB, free: 4.738 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.405e-05/0.6219, allocations: 12 kB / 0.5997 GB, free: 4.727 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.908e-05/0.622, allocations: 20.08 kB / 0.5998 GB, free: 4.707 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.237e-05/0.622, allocations: 16.14 kB / 0.5998 GB, free: 4.691 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.622, allocations: 4 kB / 0.5998 GB, free: 4.688 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001656/0.6222, allocations: 121.1 kB / 0.5999 GB, free: 4.562 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.6222, allocations: 5.562 kB / 0.5999 GB, free: 4.559 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/0.6223, allocations: 3.984 kB / 0.5999 GB, free: 4.555 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/0.6223, allocations: 7.953 kB / 0.5999 GB, free: 4.547 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.6224, allocations: 16 kB / 0.5999 GB, free: 4.531 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.6224, allocations: 0 / 0.5999 GB, free: 4.531 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.274e-05/0.6225, allocations: 7.984 kB / 0.5999 GB, free: 4.523 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.6225, allocations: 8 kB / 0.5999 GB, free: 4.516 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 (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 prepare postOptimizeDAE: time 6.336e-05/0.6226, allocations: 108.9 kB / 0.6 GB, free: 4.402 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.386e-05/0.6227, allocations: 43.44 kB / 0.6001 GB, free: 4.359 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000236/0.6229, allocations: 141.5 kB / 0.6002 GB, free: 4.211 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.6229, allocations: 3.953 kB / 0.6002 GB, free: 4.207 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.6229, allocations: 4 kB / 0.6002 GB, free: 4.203 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.6229, allocations: 4 kB / 0.6002 GB, free: 4.199 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007797/0.6237, allocations: 0.6162 MB / 0.6008 GB, free: 3.523 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.6237, allocations: 0 / 0.6008 GB, free: 3.523 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.999e-05/0.6238, allocations: 23.94 kB / 0.6008 GB, free: 3.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.6238, allocations: 4 kB / 0.6009 GB, free: 3.496 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.6239, allocations: 0 / 0.6009 GB, free: 3.496 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.6239, allocations: 0 / 0.6009 GB, free: 3.496 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.6239, allocations: 0 / 0.6009 GB, free: 3.496 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002313/0.6241, allocations: 241.7 kB / 0.6011 GB, free: 3.234 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002164/0.6243, allocations: 160.5 kB / 0.6012 GB, free: 3.059 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.555e-05/0.6244, allocations: 0 / 0.6012 GB, free: 3.059 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.6245, allocations: 11.98 kB / 0.6012 GB, free: 3.047 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.658e-05/0.6245, allocations: 12 kB / 0.6013 GB, free: 3.035 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.72e-06/0.6246, allocations: 0 / 0.6013 GB, free: 3.035 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006823/0.6253, allocations: 0.6342 MB / 0.6019 GB, free: 2.402 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.6253, allocations: 0 / 0.6019 GB, free: 2.402 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003161/0.6256, allocations: 71.92 kB / 0.6019 GB, free: 2.332 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.001616/0.6272, allocations: 1.139 MB / 0.6031 GB, free: 1.285 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001437/0.6274, allocations: 51.92 kB / 0.6031 GB, free: 1.234 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.6274, allocations: 4 kB / 0.6031 GB, free: 1.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.505e-05/0.6274, allocations: 27.98 kB / 0.6031 GB, free: 1.203 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000304/0.6278, allocations: 26.03 kB / 0.6032 GB, free: 1.176 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/0.6292, allocations: 0.8503 MB / 0.604 GB, free: 292 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004273/0.6296, allocations: 0.8379 MB / 0.6048 GB, free: 15.42 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.493e-05/0.6297, allocations: 44.97 kB / 0.6049 GB, free: 15.38 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001679/0.6299, allocations: 115.4 kB / 0.605 GB, free: 15.27 MB / 426.7 MB Notification: Performance of SimCode: time 4.21e-07/0.6299, allocations: 0 / 0.605 GB, free: 15.27 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01951/0.6494, allocations: 6.721 MB / 0.6115 GB, free: 8.605 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000196/0.6497, allocations: 185.9 kB / 0.6117 GB, free: 8.379 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.141/2.79, allocations: 4 kB / 0.6117 GB, free: 8.375 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test2_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat does not exist to compare? outputFormat=mat