Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test19,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test19,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test19",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001183/0.001184, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.589/1.589, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009466/0.0009464, allocations: 90.2 kB / 261.7 MB, free: 1.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1917/0.1917, allocations: 43.5 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.303e-05/1.305e-05, allocations: 4 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1039, allocations: 58.86 MB / 477.2 MB, free: 1.539 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3793/0.4832, allocations: 88.04 MB / 0.552 GB, free: 7.074 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001899/0.4835, allocations: 74.02 kB / 0.5521 GB, free: 7.039 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01856/0.502, allocations: 8.379 MB / 0.5603 GB, free: 280 kB / 362.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.5021, allocations: 0 / 0.5603 GB, free: 280 kB / 362.7 MB Notification: Performance of Transformations before backend: time 2.778e-05/0.5021, allocations: 11.98 kB / 0.5603 GB, free: 268 kB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005697/0.5027, allocations: 0.5365 MB / 0.5608 GB, free: 15.7 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.5027, allocations: 8.031 kB / 0.5608 GB, free: 15.69 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.008e-05/0.5028, allocations: 47.47 kB / 0.5608 GB, free: 15.64 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005005/0.5033, allocations: 334.5 kB / 0.5612 GB, free: 15.3 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.5034, allocations: 0 / 0.5612 GB, free: 15.3 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.426e-05/0.5034, allocations: 4 kB / 0.5612 GB, free: 15.3 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001255/0.5035, allocations: 51.3 kB / 0.5612 GB, free: 15.26 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.5037, allocations: 77.16 kB / 0.5613 GB, free: 15.19 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.5037, allocations: 0 / 0.5613 GB, free: 15.19 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.5037, allocations: 4 kB / 0.5613 GB, free: 15.19 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.5037, allocations: 7.953 kB / 0.5613 GB, free: 15.18 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006414/0.5044, allocations: 458.3 kB / 0.5617 GB, free: 14.76 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/0.5045, allocations: 61.75 kB / 0.5618 GB, free: 14.71 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.984e-05/0.5046, allocations: 32.73 kB / 0.5618 GB, free: 14.68 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.597e-05/0.5046, allocations: 11.62 kB / 0.5618 GB, free: 14.67 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.5046, allocations: 34.81 kB / 0.5619 GB, free: 14.62 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.5046, allocations: 0 / 0.5619 GB, free: 14.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002318/0.5049, allocations: 112.5 kB / 0.562 GB, free: 14.52 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.5049, allocations: 51.41 kB / 0.562 GB, free: 14.46 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005203/0.5054, allocations: 484.9 kB / 0.5625 GB, free: 14.08 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.407e-05/0.5055, allocations: 25.7 kB / 0.5625 GB, free: 14.05 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000118/0.5056, allocations: 208.8 kB / 0.5627 GB, free: 13.91 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.219e-05/0.5056, allocations: 11.75 kB / 0.5627 GB, free: 13.9 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-06/0.5056, allocations: 4 kB / 0.5627 GB, free: 13.9 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.5058, allocations: 346.5 kB / 0.5631 GB, free: 13.57 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.66e-05/0.5058, allocations: 23.42 kB / 0.5631 GB, free: 13.55 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.955e-05/0.5059, allocations: 15.88 kB / 0.5631 GB, free: 13.54 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.261e-05/0.5059, allocations: 23.55 kB / 0.5631 GB, free: 13.52 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.5059, allocations: 0 / 0.5631 GB, free: 13.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001523/0.5061, allocations: 116.7 kB / 0.5632 GB, free: 13.42 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.5061, allocations: 11.94 kB / 0.5632 GB, free: 13.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.5061, allocations: 4 kB / 0.5633 GB, free: 13.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.5062, allocations: 0 / 0.5633 GB, free: 13.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.5063, allocations: 12 kB / 0.5633 GB, free: 13.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.5063, allocations: 0 / 0.5633 GB, free: 13.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.211e-05/0.5064, allocations: 7.938 kB / 0.5633 GB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.527e-06/0.5064, allocations: 11.92 kB / 0.5633 GB, free: 13.37 MB / 378.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 (6): * Single equations (assignments): 6 * 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 9.492e-05/0.5065, allocations: 105 kB / 0.5634 GB, free: 13.26 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001675/0.5066, allocations: 116.5 kB / 0.5635 GB, free: 13.16 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.474e-05/0.5067, allocations: 43.48 kB / 0.5635 GB, free: 13.11 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002363/0.507, allocations: 135.8 kB / 0.5637 GB, free: 13 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.507, allocations: 11.92 kB / 0.5637 GB, free: 12.99 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.507, allocations: 0 / 0.5637 GB, free: 12.99 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.507, allocations: 4.359 kB / 0.5637 GB, free: 12.98 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000313/0.5073, allocations: 275.1 kB / 0.5639 GB, free: 12.72 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.5073, allocations: 4 kB / 0.5639 GB, free: 12.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.729e-05/0.5074, allocations: 8 kB / 0.564 GB, free: 12.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.5074, allocations: 0 / 0.564 GB, free: 12.71 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.5074, allocations: 11.95 kB / 0.564 GB, free: 12.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.5074, allocations: 0 / 0.564 GB, free: 12.7 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.5074, allocations: 0 / 0.564 GB, free: 12.7 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002151/0.5077, allocations: 210.7 kB / 0.5642 GB, free: 12.49 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001369/0.5078, allocations: 141.2 kB / 0.5643 GB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.742e-05/0.5078, allocations: 0 / 0.5643 GB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.878e-05/0.508, allocations: 15.94 kB / 0.5643 GB, free: 12.33 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.377e-05/0.508, allocations: 4 kB / 0.5643 GB, free: 12.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.508, allocations: 7.938 kB / 0.5643 GB, free: 12.32 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000428/0.5084, allocations: 387.3 kB / 0.5647 GB, free: 12.03 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5085, allocations: 0 / 0.5647 GB, free: 12.03 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003047/0.5088, allocations: 47.84 kB / 0.5647 GB, free: 11.98 MB / 378.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 (6): * Single equations (assignments): 6 * 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.001585/0.5104, allocations: 1.145 MB / 0.5659 GB, free: 10.88 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001435/0.5105, allocations: 47.67 kB / 0.5659 GB, free: 10.85 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.5105, allocations: 0 / 0.5659 GB, free: 10.85 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.044e-05/0.5106, allocations: 31.17 kB / 0.5659 GB, free: 10.82 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004586/0.511, allocations: 64.45 kB / 0.566 GB, free: 10.78 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/0.5121, allocations: 0.5739 MB / 0.5666 GB, free: 10.22 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004125/0.5125, allocations: 0.8085 MB / 0.5673 GB, free: 9.391 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000128/0.5127, allocations: 61.38 kB / 0.5674 GB, free: 9.336 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/0.5128, allocations: 107.8 kB / 0.5675 GB, free: 9.297 MB / 378.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5128, allocations: 0 / 0.5675 GB, free: 9.297 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02655/0.5394, allocations: 5.821 MB / 0.5732 GB, free: 3.48 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002359/0.5397, allocations: 167.7 kB / 0.5734 GB, free: 3.281 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.064/2.603, allocations: 4 kB / 0.5734 GB, free: 3.277 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test19_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test19.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat does not exist to compare? outputFormat=mat