Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.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.CombiTable2D.Test16,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test16,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test16",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.001328/0.001328, allocations: 183.2 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.986/1.986, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.001013/0.001014, allocations: 101.8 kB / 267.1 MB, free: 9.266 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.4798/0.4798, allocations: 43.47 MB / 358.6 MB, free: 52.31 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.125e-05/4.136e-05, allocations: 4 kB / 425.4 MB, free: 8.809 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.147, allocations: 58.84 MB / 484.2 MB, free: 13.86 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4122/0.5592, allocations: 86.14 MB / 0.557 GB, free: 2.836 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002246/0.5595, allocations: 67.97 kB / 0.5571 GB, free: 2.77 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006084/0.5656, allocations: 2.993 MB / 0.56 GB, free: 15.79 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.5657, allocations: 3.938 kB / 0.56 GB, free: 15.79 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.718e-06/0.5657, allocations: 0 / 0.56 GB, free: 15.79 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003491/0.566, allocations: 362.2 kB / 0.5604 GB, free: 15.39 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.524e-05/0.5661, allocations: 8.031 kB / 0.5604 GB, free: 15.38 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.639e-05/0.5662, allocations: 38.56 kB / 0.5604 GB, free: 15.34 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.502e-05/0.5662, allocations: 15.8 kB / 0.5604 GB, free: 15.32 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001746/0.5664, allocations: 171 kB / 0.5606 GB, free: 15.11 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.5664, allocations: 6.891 kB / 0.5606 GB, free: 15.11 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.663e-05/0.5664, allocations: 4 kB / 0.5606 GB, free: 15.11 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002716/0.5667, allocations: 188.4 kB / 0.5608 GB, free: 14.87 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.5668, allocations: 7.938 kB / 0.5608 GB, free: 14.86 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.136e-05/0.5668, allocations: 12.33 kB / 0.5608 GB, free: 14.85 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-05/0.5668, allocations: 11.45 kB / 0.5608 GB, free: 14.84 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.575e-05/0.5669, allocations: 55.8 kB / 0.5608 GB, free: 14.79 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001202/0.5681, allocations: 1.697 MB / 0.5625 GB, free: 12.98 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001013/0.5682, allocations: 165.2 kB / 0.5627 GB, free: 12.81 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.173e-05/0.5683, allocations: 88.17 kB / 0.5627 GB, free: 12.72 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.5683, allocations: 79.28 kB / 0.5628 GB, free: 12.64 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.234e-05/0.5684, allocations: 109.8 kB / 0.5629 GB, free: 12.53 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 1.884e-06/0.5684, allocations: 0 / 0.5629 GB, free: 12.53 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 8.807e-05/0.5685, allocations: 37.59 kB / 0.563 GB, free: 12.48 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.742e-05/0.5685, allocations: 134.6 kB / 0.5631 GB, free: 12.34 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001662/0.5687, allocations: 172.9 kB / 0.5633 GB, free: 12.17 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/0.5687, allocations: 29.7 kB / 0.5633 GB, free: 12.14 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.769e-05/0.5688, allocations: 151.1 kB / 0.5634 GB, free: 11.98 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.671e-06/0.5688, allocations: 8 kB / 0.5634 GB, free: 11.98 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.949e-06/0.5689, allocations: 0 / 0.5634 GB, free: 11.98 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.569, allocations: 322.8 kB / 0.5637 GB, free: 11.65 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.565e-05/0.569, allocations: 31.98 kB / 0.5638 GB, free: 11.62 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/0.5691, allocations: 153.1 kB / 0.5639 GB, free: 11.41 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.445e-05/0.5692, allocations: 63.91 kB / 0.564 GB, free: 11.35 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.5692, allocations: 4 kB / 0.564 GB, free: 11.34 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002791/0.5695, allocations: 197 kB / 0.5642 GB, free: 11.14 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.5695, allocations: 9.406 kB / 0.5642 GB, free: 11.14 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.5696, allocations: 4.547 kB / 0.5642 GB, free: 11.13 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.227e-05/0.5696, allocations: 8 kB / 0.5642 GB, free: 11.12 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.5697, allocations: 40.55 kB / 0.5642 GB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.267e-05/0.5698, allocations: 5.094 kB / 0.5642 GB, free: 11.08 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.262e-05/0.5699, allocations: 23.75 kB / 0.5643 GB, free: 11.06 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.5699, allocations: 19.28 kB / 0.5643 GB, free: 11.04 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 0.000101/0.57, allocations: 192.1 kB / 0.5645 GB, free: 10.85 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.954e-05/0.5701, allocations: 120.8 kB / 0.5646 GB, free: 10.72 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.917e-05/0.5701, allocations: 108.6 kB / 0.5647 GB, free: 10.61 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.129e-05/0.5702, allocations: 180.3 kB / 0.5649 GB, free: 10.43 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.489e-05/0.5703, allocations: 188.2 kB / 0.565 GB, free: 10.23 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.816e-05/0.5704, allocations: 180.3 kB / 0.5652 GB, free: 10.05 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002351/0.5706, allocations: 421.2 kB / 0.5656 GB, free: 9.582 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.696e-05/0.5707, allocations: 105 kB / 0.5657 GB, free: 9.473 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.963e-05/0.5707, allocations: 101.6 kB / 0.5658 GB, free: 9.367 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.872e-05/0.5708, allocations: 188.2 kB / 0.566 GB, free: 9.176 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-05/0.5709, allocations: 184.2 kB / 0.5662 GB, free: 8.988 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.267e-05/0.5709, allocations: 188.2 kB / 0.5663 GB, free: 8.797 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.928e-05/0.571, allocations: 180.2 kB / 0.5665 GB, free: 8.613 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001468/0.5712, allocations: 316.8 kB / 0.5668 GB, free: 8.281 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.245e-05/0.5712, allocations: 186 kB / 0.567 GB, free: 8.074 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.111e-05/0.5713, allocations: 188.1 kB / 0.5672 GB, free: 7.883 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.334e-05/0.5714, allocations: 104.9 kB / 0.5673 GB, free: 7.773 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.963e-05/0.5715, allocations: 176.3 kB / 0.5674 GB, free: 7.594 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.331e-05/0.5715, allocations: 109.5 kB / 0.5675 GB, free: 7.48 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.686e-05/0.5716, allocations: 131.2 kB / 0.5677 GB, free: 7.352 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5716, allocations: 0 / 0.5677 GB, free: 7.352 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002834/0.5719, allocations: 12 kB / 0.5677 GB, free: 7.34 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 (0): * Single equations (assignments): 0 * 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.0007115/0.5726, allocations: 0.9005 MB / 0.5686 GB, free: 6.469 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001426/0.5728, allocations: 71.8 kB / 0.5686 GB, free: 6.398 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.5728, allocations: 0 / 0.5686 GB, free: 6.398 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.224e-06/0.5728, allocations: 3.938 kB / 0.5686 GB, free: 6.395 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002947/0.5731, allocations: 0.5378 MB / 0.5692 GB, free: 5.855 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000491/0.5736, allocations: 236 kB / 0.5694 GB, free: 5.586 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002439/0.5739, allocations: 0.7009 MB / 0.5701 GB, free: 4.859 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001403/0.574, allocations: 49.14 kB / 0.5701 GB, free: 4.812 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.769e-05/0.5741, allocations: 27.42 kB / 0.5701 GB, free: 4.785 MB / 394.7 MB Notification: Performance of SimCode: time 3.11e-07/0.5741, allocations: 0 / 0.5701 GB, free: 4.785 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01263/0.5867, allocations: 1.99 MB / 0.5721 GB, free: 2.844 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001772/0.5869, allocations: 184.2 kB / 0.5723 GB, free: 2.621 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.541/2.128, allocations: 0 / 0.5723 GB, free: 2.621 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test16_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test16.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16_res.mat does not exist to compare? outputFormat=mat