Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.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.Test30,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test30,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test30",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.001227/0.001227, allocations: 182.5 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.805/1.805, allocations: 205.2 MB / 218.9 MB, free: 9.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001137/0.001137, allocations: 91.83 kB / 267.1 MB, free: 9.289 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.5775/0.5775, allocations: 43.47 MB / 358.6 MB, free: 51.6 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.109e-05/5.113e-05, allocations: 11.98 kB / 425.4 MB, free: 8.094 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1367, allocations: 58.84 MB / 484.3 MB, free: 13.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4258/0.5626, allocations: 87.13 MB / 0.558 GB, free: 16.75 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002308/0.5628, allocations: 70.09 kB / 0.5581 GB, free: 16.73 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01087/0.5737, allocations: 4.453 MB / 0.5624 GB, free: 14.14 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.5738, allocations: 4 kB / 0.5624 GB, free: 14.13 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.571e-05/0.5738, allocations: 8 kB / 0.5624 GB, free: 14.12 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004007/0.5742, allocations: 398.9 kB / 0.5628 GB, free: 13.72 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/0.5743, allocations: 8.031 kB / 0.5628 GB, free: 13.71 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.84e-05/0.5743, allocations: 35.69 kB / 0.5628 GB, free: 13.67 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.444e-05/0.5744, allocations: 15.84 kB / 0.5629 GB, free: 13.66 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002363/0.5746, allocations: 204.1 kB / 0.563 GB, free: 13.43 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.5746, allocations: 8 kB / 0.5631 GB, free: 13.42 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.269e-05/0.5746, allocations: 0 / 0.5631 GB, free: 13.42 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.5748, allocations: 52.48 kB / 0.5631 GB, free: 13.38 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.5748, allocations: 1.406 kB / 0.5631 GB, free: 13.38 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.5748, allocations: 0.5469 kB / 0.5631 GB, free: 13.38 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.5749, allocations: 4 kB / 0.5631 GB, free: 13.38 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.353e-05/0.5749, allocations: 19.44 kB / 0.5631 GB, free: 13.36 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004843/0.5754, allocations: 331.9 kB / 0.5634 GB, free: 13.04 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.249e-05/0.5755, allocations: 41.17 kB / 0.5635 GB, free: 13 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.097e-05/0.5756, allocations: 19.2 kB / 0.5635 GB, free: 12.98 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.565e-05/0.5756, allocations: 0 / 0.5635 GB, free: 12.98 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.5756, allocations: 33.44 kB / 0.5635 GB, free: 12.95 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.5756, allocations: 4 kB / 0.5635 GB, free: 12.94 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.000463/0.5761, allocations: 167.1 kB / 0.5637 GB, free: 12.81 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.225e-05/0.5761, allocations: 51.41 kB / 0.5637 GB, free: 12.75 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001569/0.5763, allocations: 191.8 kB / 0.5639 GB, free: 12.59 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.082e-05/0.5763, allocations: 25.7 kB / 0.564 GB, free: 12.56 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.885e-05/0.5764, allocations: 110.1 kB / 0.5641 GB, free: 12.47 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.193e-05/0.5764, allocations: 28.53 kB / 0.5641 GB, free: 12.45 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-06/0.5764, allocations: 6.344 kB / 0.5641 GB, free: 12.45 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.134e-05/0.5765, allocations: 323 kB / 0.5644 GB, free: 12.13 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.372e-05/0.5765, allocations: 16.7 kB / 0.5644 GB, free: 12.12 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.946e-05/0.5765, allocations: 20.61 kB / 0.5644 GB, free: 12.11 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.977e-05/0.5766, allocations: 29.78 kB / 0.5645 GB, free: 12.09 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-07/0.5766, allocations: 0 / 0.5645 GB, free: 12.09 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001139/0.5767, allocations: 90.64 kB / 0.5646 GB, free: 12.02 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.5767, allocations: 9.094 kB / 0.5646 GB, free: 12.01 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.5767, allocations: 7.953 kB / 0.5646 GB, free: 12 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.5768, allocations: 2.547 kB / 0.5646 GB, free: 12 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.5769, allocations: 24.69 kB / 0.5646 GB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.884e-06/0.5769, allocations: 3.938 kB / 0.5646 GB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.694e-05/0.577, allocations: 11.23 kB / 0.5646 GB, free: 11.97 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.577, allocations: 4 kB / 0.5646 GB, free: 11.97 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 (7): * Single equations (assignments): 7 * 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.235e-05/0.577, allocations: 109.8 kB / 0.5647 GB, free: 11.86 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.346e-05/0.5771, allocations: 11.89 kB / 0.5647 GB, free: 11.85 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001873/0.5773, allocations: 108.7 kB / 0.5648 GB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.5773, allocations: 3.953 kB / 0.5648 GB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.5773, allocations: 1.547 kB / 0.5648 GB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.5773, allocations: 1.062 kB / 0.5648 GB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003743/0.5777, allocations: 403.4 kB / 0.5652 GB, free: 11.39 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.5777, allocations: 4 kB / 0.5652 GB, free: 11.39 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.809e-05/0.5778, allocations: 27.86 kB / 0.5653 GB, free: 11.37 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.5778, allocations: 3.953 kB / 0.5653 GB, free: 11.37 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.5778, allocations: 4 kB / 0.5653 GB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.5778, allocations: 1.312 kB / 0.5653 GB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.5778, allocations: 0.9375 kB / 0.5653 GB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001389/0.578, allocations: 188.9 kB / 0.5654 GB, free: 11.19 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.988e-05/0.578, allocations: 98.11 kB / 0.5655 GB, free: 11.08 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.186e-05/0.5781, allocations: 5.594 kB / 0.5655 GB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.52e-05/0.5782, allocations: 14.95 kB / 0.5656 GB, free: 11.06 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.696e-05/0.5782, allocations: 6.531 kB / 0.5656 GB, free: 11.06 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.5782, allocations: 4 kB / 0.5656 GB, free: 11.06 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001102/0.5784, allocations: 159.9 kB / 0.5657 GB, free: 10.94 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5784, allocations: 0 / 0.5657 GB, free: 10.94 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002437/0.5786, allocations: 27.84 kB / 0.5657 GB, free: 10.91 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 (7): * Single equations (assignments): 7 * 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.000977/0.5796, allocations: 0.9872 MB / 0.5667 GB, free: 10.01 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001288/0.5797, allocations: 52.83 kB / 0.5668 GB, free: 9.973 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.5797, allocations: 0 / 0.5668 GB, free: 9.973 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.757e-05/0.5798, allocations: 37.47 kB / 0.5668 GB, free: 9.949 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002304/0.58, allocations: 19.64 kB / 0.5668 GB, free: 9.938 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005085/0.5806, allocations: 250.7 kB / 0.5671 GB, free: 9.711 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001491/0.5807, allocations: 0.7158 MB / 0.5678 GB, free: 8.992 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.471e-05/0.5808, allocations: 30.45 kB / 0.5678 GB, free: 8.969 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.617e-05/0.5809, allocations: 29.52 kB / 0.5678 GB, free: 8.957 MB / 394.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5809, allocations: 4 kB / 0.5678 GB, free: 8.953 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01242/0.5933, allocations: 2.724 MB / 0.5705 GB, free: 6.414 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001333/0.5935, allocations: 182.6 kB / 0.5706 GB, free: 6.191 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.652/2.246, allocations: 4 kB / 0.5707 GB, free: 6.188 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test30_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test30.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat does not exist to compare? outputFormat=mat