Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.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.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test1",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.001702/0.001702, allocations: 183.1 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.646/1.646, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.001207/0.001207, allocations: 86.59 kB / 267 MB, free: 9.277 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.4267/0.4267, allocations: 43.47 MB / 358.6 MB, free: 51.59 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.276e-05/4.293e-05, allocations: 11.98 kB / 425.4 MB, free: 8.09 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.134, allocations: 58.85 MB / 484.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4842/0.6183, allocations: 87.19 MB / 0.5581 GB, free: 16.64 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000248/0.6186, allocations: 70.97 kB / 0.5581 GB, free: 16.62 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01693/0.6356, allocations: 8.103 MB / 0.566 GB, free: 11.05 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.226e-06/0.6356, allocations: 3.984 kB / 0.566 GB, free: 11.05 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.23e-05/0.6356, allocations: 4 kB / 0.566 GB, free: 11.04 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.0004998/0.6361, allocations: 0.5572 MB / 0.5666 GB, free: 10.46 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.6362, allocations: 8.031 kB / 0.5666 GB, free: 10.45 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.524e-05/0.6362, allocations: 34.5 kB / 0.5666 GB, free: 10.41 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.661e-05/0.6363, allocations: 43.44 kB / 0.5667 GB, free: 10.37 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004139/0.6367, allocations: 338.8 kB / 0.567 GB, free: 10.01 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.6368, allocations: 0 / 0.567 GB, free: 10.01 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.182e-05/0.6368, allocations: 9.25 kB / 0.567 GB, free: 10.01 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.6369, allocations: 45.92 kB / 0.5671 GB, free: 9.961 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.6369, allocations: 0 / 0.5671 GB, free: 9.961 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.637, allocations: 7.938 kB / 0.5671 GB, free: 9.957 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.637, allocations: 3.953 kB / 0.5671 GB, free: 9.953 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.153e-05/0.637, allocations: 19.81 kB / 0.5671 GB, free: 9.938 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005859/0.6376, allocations: 449.3 kB / 0.5675 GB, free: 9.508 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001749/0.6378, allocations: 38.61 kB / 0.5675 GB, free: 9.465 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.805e-05/0.6379, allocations: 16.72 kB / 0.5676 GB, free: 9.449 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.6379, allocations: 3.953 kB / 0.5676 GB, free: 9.445 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.721e-05/0.6379, allocations: 34.56 kB / 0.5676 GB, free: 9.402 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.6379, allocations: 0 / 0.5676 GB, free: 9.402 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004455/0.6384, allocations: 195.3 kB / 0.5678 GB, free: 9.219 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.252e-05/0.6384, allocations: 55.28 kB / 0.5678 GB, free: 9.156 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009805/0.6394, allocations: 0.7812 MB / 0.5686 GB, free: 8.547 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.6394, allocations: 25.7 kB / 0.5686 GB, free: 8.516 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/0.6396, allocations: 221.8 kB / 0.5688 GB, free: 8.391 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.183e-05/0.6396, allocations: 21.44 kB / 0.5689 GB, free: 8.375 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-06/0.6396, allocations: 0 / 0.5689 GB, free: 8.375 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.963e-05/0.6397, allocations: 362.6 kB / 0.5692 GB, free: 8.031 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.695e-05/0.6397, allocations: 10.5 kB / 0.5692 GB, free: 8.023 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.294e-05/0.6398, allocations: 19.25 kB / 0.5692 GB, free: 8.012 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.284e-05/0.6398, allocations: 19.36 kB / 0.5693 GB, free: 7.996 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.6398, allocations: 0 / 0.5693 GB, free: 7.996 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001297/0.6399, allocations: 111.8 kB / 0.5694 GB, free: 7.891 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.64, allocations: 4 kB / 0.5694 GB, free: 7.887 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.64, allocations: 0 / 0.5694 GB, free: 7.887 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.64, allocations: 0 / 0.5694 GB, free: 7.887 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.054e-05/0.6401, allocations: 15.98 kB / 0.5694 GB, free: 7.871 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.6401, allocations: 0 / 0.5694 GB, free: 7.871 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.935e-05/0.6402, allocations: 8 kB / 0.5694 GB, free: 7.863 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.6402, allocations: 7.75 kB / 0.5694 GB, free: 7.859 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 (5): * Single equations (assignments): 5 * 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.55e-05/0.6403, allocations: 104.9 kB / 0.5695 GB, free: 7.75 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.708e-05/0.6403, allocations: 47.39 kB / 0.5695 GB, free: 7.703 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002307/0.6406, allocations: 122.6 kB / 0.5697 GB, free: 7.598 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.6406, allocations: 3.938 kB / 0.5697 GB, free: 7.594 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.6406, allocations: 4 kB / 0.5697 GB, free: 7.59 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.6406, allocations: 0 / 0.5697 GB, free: 7.59 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006189/0.6412, allocations: 0.5819 MB / 0.5702 GB, free: 7.031 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.6413, allocations: 0 / 0.5702 GB, free: 7.031 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.781e-05/0.6413, allocations: 15.98 kB / 0.5702 GB, free: 7.016 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.6413, allocations: 1.406 kB / 0.5702 GB, free: 7.016 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.6413, allocations: 2.875 kB / 0.5702 GB, free: 7.016 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.6414, allocations: 0 / 0.5702 GB, free: 7.016 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.6414, allocations: 0 / 0.5702 GB, free: 7.016 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002171/0.6416, allocations: 200.5 kB / 0.5704 GB, free: 6.816 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001417/0.6417, allocations: 167.2 kB / 0.5706 GB, free: 6.641 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.685e-05/0.6418, allocations: 3.25 kB / 0.5706 GB, free: 6.641 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.375e-05/0.6419, allocations: 12.17 kB / 0.5706 GB, free: 6.629 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.398e-05/0.6419, allocations: 4.141 kB / 0.5706 GB, free: 6.625 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.6419, allocations: 4 kB / 0.5706 GB, free: 6.621 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005542/0.6425, allocations: 0.6362 MB / 0.5712 GB, free: 6.164 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6425, allocations: 0 / 0.5712 GB, free: 6.164 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002836/0.6428, allocations: 67.73 kB / 0.5713 GB, free: 6.102 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 (5): * Single equations (assignments): 5 * 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.001072/0.6439, allocations: 0.9966 MB / 0.5723 GB, free: 5.168 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000109/0.644, allocations: 38.25 kB / 0.5723 GB, free: 5.141 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.644, allocations: 0 / 0.5723 GB, free: 5.141 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.289e-05/0.644, allocations: 22.55 kB / 0.5723 GB, free: 5.125 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002702/0.6443, allocations: 18.98 kB / 0.5724 GB, free: 5.117 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001085/0.6454, allocations: 0.8429 MB / 0.5732 GB, free: 4.328 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002705/0.6457, allocations: 0.8317 MB / 0.574 GB, free: 3.484 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.053e-05/0.6458, allocations: 44.22 kB / 0.574 GB, free: 3.441 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001553/0.646, allocations: 116.3 kB / 0.5741 GB, free: 3.41 MB / 394.7 MB Notification: Performance of SimCode: time 2.51e-07/0.646, allocations: 4 kB / 0.5741 GB, free: 3.406 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01901/0.665, allocations: 6.475 MB / 0.5805 GB, free: 12.95 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002206/0.6653, allocations: 185.5 kB / 0.5806 GB, free: 12.72 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.213/2.878, allocations: 4 kB / 0.5807 GB, free: 12.72 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test1_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test1.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat does not exist to compare? outputFormat=mat