Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.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.Test7,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test7",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.002332/0.002332, allocations: 179.2 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.134/2.134, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001097/0.001096, allocations: 97.95 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4422/0.4422, allocations: 43.48 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.559e-05/2.556e-05, allocations: 4.219 kB / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4319/0.4319, allocations: 58.86 MB / 477.2 MB, free: 5.152 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1722/0.6043, allocations: 86.37 MB / 0.5503 GB, free: 12.83 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003152/0.6046, allocations: 75.95 kB / 0.5504 GB, free: 12.76 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03081/0.6355, allocations: 7.81 MB / 0.558 GB, free: 4.93 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.6355, allocations: 0 / 0.558 GB, free: 4.93 MB / 395.1 MB Notification: Performance of Transformations before backend: time 4.138e-05/0.6356, allocations: 8 kB / 0.5581 GB, free: 4.922 MB / 395.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.00085/0.6364, allocations: 0.537 MB / 0.5586 GB, free: 4.34 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.583e-05/0.6365, allocations: 12.03 kB / 0.5586 GB, free: 4.328 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001532/0.6367, allocations: 47.39 kB / 0.5586 GB, free: 4.281 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007987/0.6375, allocations: 327.4 kB / 0.5589 GB, free: 3.922 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.6375, allocations: 0.5469 kB / 0.5589 GB, free: 3.922 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.908e-05/0.6376, allocations: 4 kB / 0.559 GB, free: 3.918 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001479/0.6377, allocations: 15.98 kB / 0.559 GB, free: 3.902 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/0.6379, allocations: 46.06 kB / 0.559 GB, free: 3.852 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.638, allocations: 0 / 0.559 GB, free: 3.852 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.758e-05/0.638, allocations: 3.938 kB / 0.559 GB, free: 3.848 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.011e-05/0.638, allocations: 3.953 kB / 0.559 GB, free: 3.844 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001176/0.6392, allocations: 413.3 kB / 0.5594 GB, free: 3.402 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.819e-05/0.6394, allocations: 30.52 kB / 0.5594 GB, free: 3.363 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.183e-05/0.6394, allocations: 12.91 kB / 0.5595 GB, free: 3.348 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.015e-05/0.6395, allocations: 0 / 0.5595 GB, free: 3.348 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.091e-05/0.6395, allocations: 42.56 kB / 0.5595 GB, free: 3.297 MB / 395.1 MB Notification: Performance of pre-optimization done (n=2): time 1.743e-06/0.6395, allocations: 3.938 kB / 0.5595 GB, free: 3.293 MB / 395.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002838/0.6398, allocations: 77.19 kB / 0.5596 GB, free: 3.211 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.95e-05/0.6399, allocations: 55.41 kB / 0.5596 GB, free: 3.145 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001965/0.6419, allocations: 0.755 MB / 0.5604 GB, free: 2.383 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.954e-05/0.6419, allocations: 25.7 kB / 0.5604 GB, free: 2.352 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002148/0.6422, allocations: 230.6 kB / 0.5606 GB, free: 2.125 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.98e-05/0.6422, allocations: 3.906 kB / 0.5606 GB, free: 2.121 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-06/0.6422, allocations: 4.031 kB / 0.5606 GB, free: 2.117 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.6424, allocations: 314.8 kB / 0.5609 GB, free: 1.801 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.434e-05/0.6424, allocations: 8 kB / 0.5609 GB, free: 1.793 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.574e-05/0.6425, allocations: 7.984 kB / 0.5609 GB, free: 1.785 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.766e-05/0.6425, allocations: 8 kB / 0.5609 GB, free: 1.777 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.6425, allocations: 0 / 0.5609 GB, free: 1.777 MB / 395.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001367/0.6427, allocations: 49.62 kB / 0.561 GB, free: 1.723 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.6427, allocations: 4 kB / 0.561 GB, free: 1.719 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.6427, allocations: 4.094 kB / 0.561 GB, free: 1.715 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.6428, allocations: 0 / 0.561 GB, free: 1.715 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.6429, allocations: 8 kB / 0.561 GB, free: 1.707 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.6429, allocations: 3.953 kB / 0.561 GB, free: 1.703 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001294/0.643, allocations: 4 kB / 0.561 GB, free: 1.699 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.298e-06/0.6431, allocations: 0 / 0.561 GB, free: 1.699 MB / 395.1 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 (2): * Single equations (assignments): 2 * 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 8.814e-05/0.6432, allocations: 104.9 kB / 0.5611 GB, free: 1.59 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002046/0.6434, allocations: 89.11 kB / 0.5612 GB, free: 1.496 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/0.6435, allocations: 43.56 kB / 0.5612 GB, free: 1.453 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002794/0.6438, allocations: 104.8 kB / 0.5613 GB, free: 1.336 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.6438, allocations: 0 / 0.5613 GB, free: 1.336 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.872e-06/0.6438, allocations: 0 / 0.5613 GB, free: 1.336 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.6438, allocations: 0 / 0.5613 GB, free: 1.336 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004859/0.6443, allocations: 298 kB / 0.5616 GB, free: 1.008 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.6444, allocations: 7.938 kB / 0.5616 GB, free: 1 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.673e-05/0.6445, allocations: 4 kB / 0.5616 GB, free: 0.9961 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.471e-06/0.6445, allocations: 0 / 0.5616 GB, free: 0.9961 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.6445, allocations: 0 / 0.5616 GB, free: 0.9961 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.6445, allocations: 4.031 kB / 0.5616 GB, free: 0.9922 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/0.6445, allocations: 3.953 kB / 0.5616 GB, free: 0.9883 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003357/0.6449, allocations: 183 kB / 0.5618 GB, free: 0.793 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003287/0.6452, allocations: 156.6 kB / 0.562 GB, free: 0.6211 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.789e-05/0.6453, allocations: 0 / 0.562 GB, free: 0.6211 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001481/0.6454, allocations: 11.92 kB / 0.562 GB, free: 0.6094 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.498e-05/0.6455, allocations: 7.969 kB / 0.562 GB, free: 0.6016 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.6455, allocations: 3.953 kB / 0.562 GB, free: 0.5977 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.001139/0.6467, allocations: 0.6083 MB / 0.5626 GB, free: 15.99 MB / 411.1 MB Notification: Performance of sort global known variables: time 5.51e-07/0.6467, allocations: 0 / 0.5626 GB, free: 15.99 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.00045/0.6472, allocations: 52 kB / 0.5626 GB, free: 15.94 MB / 411.1 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 (2): * Single equations (assignments): 2 * 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.001482/0.6486, allocations: 0.9042 MB / 0.5635 GB, free: 15.05 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0001282/0.6488, allocations: 15.94 kB / 0.5635 GB, free: 15.04 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.6488, allocations: 8.062 kB / 0.5635 GB, free: 15.03 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 3.321e-05/0.6489, allocations: 4 kB / 0.5635 GB, free: 15.02 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004301/0.6493, allocations: 29.88 kB / 0.5636 GB, free: 15 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002227/0.6516, allocations: 0.8465 MB / 0.5644 GB, free: 14.1 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006458/0.6523, allocations: 0.8224 MB / 0.5652 GB, free: 13.25 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003689/0.6527, allocations: 123.4 kB / 0.5653 GB, free: 13.13 MB / 411.1 MB Notification: Performance of SimCode: time 1.573e-06/0.6527, allocations: 0 / 0.5653 GB, free: 13.13 MB / 411.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.048/3.7, allocations: 6.959 MB / 0.5721 GB, free: 6.16 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test7_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test7.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat does not exist to compare? outputFormat=mat