Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.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.Test17,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test17,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test17",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.002101/0.0021, allocations: 183.7 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 2.036/2.036, 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.0009138/0.0009137, allocations: 88.52 kB / 267 MB, free: 9.285 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.4241/0.4241, allocations: 43.46 MB / 358.6 MB, free: 51.59 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.129e-05/4.148e-05, allocations: 0 / 425.4 MB, free: 8.098 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1484, allocations: 58.84 MB / 484.3 MB, free: 13.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4172/0.5657, allocations: 86.34 MB / 0.5572 GB, free: 17.41 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002388/0.566, allocations: 75.33 kB / 0.5573 GB, free: 17.38 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007218/0.5732, allocations: 2.993 MB / 0.5602 GB, free: 15.66 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.5733, allocations: 0 / 0.5602 GB, free: 15.66 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.767e-06/0.5733, allocations: 0 / 0.5602 GB, free: 15.66 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.0003359/0.5736, allocations: 353.6 kB / 0.5605 GB, free: 15.28 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/0.5737, allocations: 12.03 kB / 0.5606 GB, free: 15.27 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.807e-05/0.5738, allocations: 44.03 kB / 0.5606 GB, free: 15.23 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.476e-05/0.5738, allocations: 11.81 kB / 0.5606 GB, free: 15.21 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001627/0.574, allocations: 175.2 kB / 0.5608 GB, free: 15.01 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/0.574, allocations: 4 kB / 0.5608 GB, free: 15 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.572e-05/0.574, allocations: 10.08 kB / 0.5608 GB, free: 15 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002915/0.5743, allocations: 186.9 kB / 0.561 GB, free: 14.79 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.5744, allocations: 4 kB / 0.561 GB, free: 14.79 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.5744, allocations: 3.281 kB / 0.561 GB, free: 14.79 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.349e-05/0.5744, allocations: 13.17 kB / 0.561 GB, free: 14.78 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.023e-05/0.5745, allocations: 63.95 kB / 0.5611 GB, free: 14.73 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007742/0.5753, allocations: 1.695 MB / 0.5627 GB, free: 13.01 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.169e-05/0.5754, allocations: 169.2 kB / 0.5629 GB, free: 12.83 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.707e-05/0.5754, allocations: 91.67 kB / 0.563 GB, free: 12.74 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.266e-05/0.5754, allocations: 75.28 kB / 0.563 GB, free: 12.67 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.5754, allocations: 111.4 kB / 0.5631 GB, free: 12.55 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 1.302e-06/0.5754, allocations: 0 / 0.5631 GB, free: 12.55 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 8.178e-05/0.5755, allocations: 37.55 kB / 0.5632 GB, free: 12.51 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.5756, allocations: 130.6 kB / 0.5633 GB, free: 12.37 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.5757, allocations: 182.9 kB / 0.5635 GB, free: 12.22 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.364e-06/0.5758, allocations: 25.7 kB / 0.5635 GB, free: 12.19 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.121e-05/0.5758, allocations: 146.2 kB / 0.5636 GB, free: 12.05 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.23e-06/0.5758, allocations: 3.875 kB / 0.5636 GB, free: 12.05 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.969e-06/0.5759, allocations: 4 kB / 0.5636 GB, free: 12.05 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.178e-05/0.5759, allocations: 317.6 kB / 0.5639 GB, free: 11.74 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.89e-05/0.576, allocations: 30.42 kB / 0.564 GB, free: 11.72 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.849e-05/0.5761, allocations: 153.7 kB / 0.5641 GB, free: 11.53 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.564e-05/0.5761, allocations: 66.36 kB / 0.5642 GB, free: 11.48 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.5761, allocations: 4 kB / 0.5642 GB, free: 11.48 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002514/0.5764, allocations: 198.1 kB / 0.5644 GB, free: 11.32 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.5764, allocations: 8 kB / 0.5644 GB, free: 11.32 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.5764, allocations: 4 kB / 0.5644 GB, free: 11.31 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.279e-05/0.5765, allocations: 4.547 kB / 0.5644 GB, free: 11.31 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.5766, allocations: 42.14 kB / 0.5644 GB, free: 11.27 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.5766, allocations: 13.39 kB / 0.5644 GB, free: 11.26 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.691e-05/0.5767, allocations: 23.12 kB / 0.5645 GB, free: 11.24 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.406e-05/0.5767, allocations: 12 kB / 0.5645 GB, free: 11.23 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 6.369e-05/0.5768, allocations: 190.6 kB / 0.5647 GB, free: 11.04 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.622e-05/0.5768, allocations: 121.5 kB / 0.5648 GB, free: 10.92 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.147e-05/0.5769, allocations: 119.1 kB / 0.5649 GB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.083e-05/0.5769, allocations: 180.3 kB / 0.5651 GB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-05/0.577, allocations: 181.3 kB / 0.5652 GB, free: 10.44 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.817e-05/0.577, allocations: 185.7 kB / 0.5654 GB, free: 10.25 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001522/0.5772, allocations: 420.4 kB / 0.5658 GB, free: 9.797 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.389e-05/0.5772, allocations: 104.9 kB / 0.5659 GB, free: 9.688 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.541e-05/0.5772, allocations: 102.1 kB / 0.566 GB, free: 9.582 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.653e-05/0.5772, allocations: 181.4 kB / 0.5662 GB, free: 9.398 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.852e-05/0.5773, allocations: 187.5 kB / 0.5664 GB, free: 9.211 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.814e-05/0.5773, allocations: 189.3 kB / 0.5665 GB, free: 9.023 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.513e-05/0.5773, allocations: 180.2 kB / 0.5667 GB, free: 8.84 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.363e-05/0.5774, allocations: 315.9 kB / 0.567 GB, free: 8.516 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.695e-05/0.5775, allocations: 187.3 kB / 0.5672 GB, free: 8.309 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.537e-05/0.5775, allocations: 180.3 kB / 0.5674 GB, free: 8.125 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.309e-05/0.5776, allocations: 110.2 kB / 0.5675 GB, free: 8.012 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.813e-05/0.5776, allocations: 176.3 kB / 0.5676 GB, free: 7.832 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/0.5776, allocations: 102.1 kB / 0.5677 GB, free: 7.727 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.222e-05/0.5777, allocations: 134.4 kB / 0.5679 GB, free: 7.617 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.533e-06/0.5777, allocations: 0 / 0.5679 GB, free: 7.617 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000267/0.578, allocations: 19.88 kB / 0.5679 GB, free: 7.598 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.0007539/0.5788, allocations: 0.9044 MB / 0.5688 GB, free: 6.73 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001419/0.5789, allocations: 71.03 kB / 0.5688 GB, free: 6.676 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.5789, allocations: 0 / 0.5688 GB, free: 6.676 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.856e-06/0.5789, allocations: 1.25 kB / 0.5688 GB, free: 6.676 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002207/0.5792, allocations: 0.541 MB / 0.5694 GB, free: 6.137 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000464/0.5796, allocations: 230.2 kB / 0.5696 GB, free: 5.898 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001571/0.5798, allocations: 0.702 MB / 0.5703 GB, free: 5.188 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001345/0.5799, allocations: 52.34 kB / 0.5703 GB, free: 5.156 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.403e-05/0.58, allocations: 24.48 kB / 0.5703 GB, free: 5.145 MB / 394.7 MB Notification: Performance of SimCode: time 6.11e-07/0.58, allocations: 4 kB / 0.5703 GB, free: 5.141 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01477/0.5948, allocations: 1.986 MB / 0.5723 GB, free: 3.891 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001634/0.595, allocations: 189 kB / 0.5725 GB, free: 3.664 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.463/2.059, allocations: 0 / 0.5725 GB, free: 3.664 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test17_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test17.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17_res.mat does not exist to compare? outputFormat=mat