Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.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.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test20",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.001455/0.001456, allocations: 176 kB / 8.005 MB, free: 1.07 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.54/1.54, 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.0009343/0.0009343, allocations: 86.62 kB / 261.7 MB, free: 1.684 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.1838/0.1838, allocations: 43.5 MB / 353.2 MB, free: 300 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.245e-05/2.247e-05, allocations: 7.984 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1195, allocations: 58.85 MB / 477.2 MB, free: 1.551 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3552/0.4747, allocations: 88.22 MB / 0.5522 GB, free: 6.676 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001814/0.475, allocations: 74.98 kB / 0.5522 GB, free: 6.641 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01877/0.4937, allocations: 8.528 MB / 0.5606 GB, free: 15.7 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.4938, allocations: 0 / 0.5606 GB, free: 15.7 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4e-05/0.4938, allocations: 15.94 kB / 0.5606 GB, free: 15.68 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007836/0.4946, allocations: 0.5559 MB / 0.5611 GB, free: 15.1 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.4947, allocations: 8.031 kB / 0.5611 GB, free: 15.09 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.977e-05/0.4948, allocations: 51.39 kB / 0.5612 GB, free: 15.04 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006136/0.4954, allocations: 350.2 kB / 0.5615 GB, free: 14.69 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.4954, allocations: 4 kB / 0.5615 GB, free: 14.68 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.93e-05/0.4955, allocations: 8 kB / 0.5615 GB, free: 14.68 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001685/0.4956, allocations: 70.34 kB / 0.5616 GB, free: 14.63 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002206/0.4959, allocations: 96.53 kB / 0.5617 GB, free: 14.55 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.4959, allocations: 0 / 0.5617 GB, free: 14.55 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.654e-05/0.4959, allocations: 0 / 0.5617 GB, free: 14.55 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.4959, allocations: 7.953 kB / 0.5617 GB, free: 14.54 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007826/0.4967, allocations: 0.506 MB / 0.5622 GB, free: 14.07 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001561/0.4969, allocations: 104.9 kB / 0.5623 GB, free: 13.98 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.95e-05/0.497, allocations: 28.48 kB / 0.5623 GB, free: 13.96 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.056e-05/0.497, allocations: 4 kB / 0.5623 GB, free: 13.95 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.497, allocations: 38.55 kB / 0.5624 GB, free: 13.91 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 1.052e-06/0.497, allocations: 0 / 0.5624 GB, free: 13.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007368/0.4978, allocations: 356.5 kB / 0.5627 GB, free: 13.61 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.507e-05/0.4978, allocations: 55.41 kB / 0.5628 GB, free: 13.54 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004996/0.4983, allocations: 476.4 kB / 0.5632 GB, free: 13.16 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.4984, allocations: 25.7 kB / 0.5632 GB, free: 13.13 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.4985, allocations: 212.3 kB / 0.5634 GB, free: 13 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.703e-05/0.4986, allocations: 51.08 kB / 0.5635 GB, free: 12.96 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.344e-06/0.4986, allocations: 224 / 0.5635 GB, free: 12.96 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.4987, allocations: 357.9 kB / 0.5638 GB, free: 12.61 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.326e-05/0.4988, allocations: 59.34 kB / 0.5639 GB, free: 12.57 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.869e-05/0.4989, allocations: 54.55 kB / 0.5639 GB, free: 12.54 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.433e-05/0.499, allocations: 62.81 kB / 0.564 GB, free: 12.5 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.499, allocations: 4 kB / 0.564 GB, free: 12.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002566/0.4992, allocations: 195.5 kB / 0.5642 GB, free: 12.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.4993, allocations: 8 kB / 0.5642 GB, free: 12.33 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.4993, allocations: 0 / 0.5642 GB, free: 12.33 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.4993, allocations: 0 / 0.5642 GB, free: 12.33 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001507/0.4995, allocations: 39.97 kB / 0.5642 GB, free: 12.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.4995, allocations: 0 / 0.5642 GB, free: 12.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.097e-05/0.4996, allocations: 11.94 kB / 0.5642 GB, free: 12.28 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/0.4996, allocations: 7.875 kB / 0.5643 GB, free: 12.27 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 (17): * Single equations (assignments): 17 * 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 7.366e-05/0.4997, allocations: 108.9 kB / 0.5644 GB, free: 12.16 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002559/0.4999, allocations: 207 kB / 0.5646 GB, free: 11.99 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.024e-05/0.5, allocations: 35.53 kB / 0.5646 GB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003609/0.5004, allocations: 257.4 kB / 0.5648 GB, free: 11.75 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.5004, allocations: 0 / 0.5648 GB, free: 11.75 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.5004, allocations: 4 kB / 0.5648 GB, free: 11.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.5004, allocations: 0 / 0.5648 GB, free: 11.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007123/0.5011, allocations: 0.6615 MB / 0.5655 GB, free: 11.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.5011, allocations: 0 / 0.5655 GB, free: 11.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001127/0.5012, allocations: 35.8 kB / 0.5655 GB, free: 11.13 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.5012, allocations: 4 kB / 0.5655 GB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.5013, allocations: 3.984 kB / 0.5655 GB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.5013, allocations: 3.953 kB / 0.5655 GB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.5013, allocations: 0 / 0.5655 GB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002789/0.5016, allocations: 312 kB / 0.5658 GB, free: 10.84 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001153/0.5017, allocations: 144.1 kB / 0.566 GB, free: 10.69 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.834e-05/0.5017, allocations: 0 / 0.566 GB, free: 10.69 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.5018, allocations: 8 kB / 0.566 GB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.559e-05/0.5019, allocations: 19.92 kB / 0.566 GB, free: 10.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.5019, allocations: 7.938 kB / 0.566 GB, free: 10.66 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003434/0.5023, allocations: 382.5 kB / 0.5664 GB, free: 10.37 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5023, allocations: 4 kB / 0.5664 GB, free: 10.37 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003233/0.5026, allocations: 59.31 kB / 0.5664 GB, free: 10.31 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 (17): * Single equations (assignments): 17 * 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.001722/0.5043, allocations: 1.316 MB / 0.5677 GB, free: 9.078 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002231/0.5046, allocations: 141.2 kB / 0.5678 GB, free: 8.98 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.5046, allocations: 0 / 0.5678 GB, free: 8.98 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.525e-05/0.5047, allocations: 75.42 kB / 0.5679 GB, free: 8.926 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004078/0.5051, allocations: 67.22 kB / 0.568 GB, free: 8.875 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001072/0.5062, allocations: 0.644 MB / 0.5686 GB, free: 8.266 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004795/0.5067, allocations: 0.8279 MB / 0.5694 GB, free: 7.422 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001576/0.5068, allocations: 70.02 kB / 0.5695 GB, free: 7.352 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001704/0.507, allocations: 128.9 kB / 0.5696 GB, free: 7.305 MB / 378.7 MB Notification: Performance of SimCode: time 2.9e-07/0.507, allocations: 0 / 0.5696 GB, free: 7.305 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02604/0.5331, allocations: 6.64 MB / 0.5761 GB, free: 0.6641 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000191/0.5333, allocations: 159.7 kB / 0.5762 GB, free: 484 kB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.106/2.64, allocations: 0 / 0.5762 GB, free: 484 kB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test20_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test20.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat does not exist to compare? outputFormat=mat