Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.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.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test2",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.001539/0.001539, allocations: 188.4 kB / 16.41 MB, free: 5.723 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.007/2.007, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001146/0.001146, allocations: 89.06 kB / 270.9 MB, free: 8.375 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.5406/0.5406, allocations: 43.55 MB / 362.7 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004707/0.0004707, allocations: 12 kB / 431.5 MB, free: 5.84 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1379, allocations: 58.85 MB / 490.3 MB, free: 10.91 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6102/0.7482, allocations: 86.34 MB / 0.5631 GB, free: 32 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003006/0.7485, allocations: 71.97 kB / 0.5632 GB, free: 15.96 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01566/0.7642, allocations: 3.527 MB / 0.5667 GB, free: 12.48 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.7643, allocations: 0 / 0.5667 GB, free: 12.48 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.483e-05/0.7643, allocations: 4 kB / 0.5667 GB, free: 12.47 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005355/0.7648, allocations: 390.8 kB / 0.567 GB, free: 12.05 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/0.7649, allocations: 12.03 kB / 0.567 GB, free: 12.04 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.249e-05/0.765, allocations: 38.41 kB / 0.5671 GB, free: 11.99 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.743e-05/0.765, allocations: 7.438 kB / 0.5671 GB, free: 11.99 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002553/0.7653, allocations: 186.9 kB / 0.5673 GB, free: 11.77 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.7653, allocations: 0 / 0.5673 GB, free: 11.77 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.7653, allocations: 4 kB / 0.5673 GB, free: 11.76 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001903/0.7655, allocations: 57.61 kB / 0.5673 GB, free: 11.7 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.7656, allocations: 0 / 0.5673 GB, free: 11.7 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.7656, allocations: 0 / 0.5673 GB, free: 11.7 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.7656, allocations: 0 / 0.5673 GB, free: 11.7 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001506/0.7658, allocations: 29.02 kB / 0.5674 GB, free: 11.67 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004244/0.7662, allocations: 279.1 kB / 0.5676 GB, free: 11.35 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002694/0.7665, allocations: 46.5 kB / 0.5677 GB, free: 11.3 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.974e-05/0.7665, allocations: 4 kB / 0.5677 GB, free: 11.29 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.7666, allocations: 30.56 kB / 0.5677 GB, free: 11.25 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.804e-06/0.7666, allocations: 0 / 0.5677 GB, free: 11.25 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008204/0.7674, allocations: 157.4 kB / 0.5678 GB, free: 11.09 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.675e-05/0.7675, allocations: 59.36 kB / 0.5679 GB, free: 11.02 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000179/0.7677, allocations: 125.2 kB / 0.568 GB, free: 10.89 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.7677, allocations: 25.7 kB / 0.568 GB, free: 10.86 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.889e-05/0.7678, allocations: 162.5 kB / 0.5682 GB, free: 10.7 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3e-05/0.7678, allocations: 19.73 kB / 0.5682 GB, free: 10.68 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.366e-06/0.7679, allocations: 4 kB / 0.5682 GB, free: 10.68 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.768, allocations: 314.8 kB / 0.5685 GB, free: 10.36 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001223/0.7681, allocations: 20.17 kB / 0.5685 GB, free: 10.34 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001146/0.7682, allocations: 19.98 kB / 0.5686 GB, free: 10.32 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001262/0.7684, allocations: 31.98 kB / 0.5686 GB, free: 10.29 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.7684, allocations: 0 / 0.5686 GB, free: 10.29 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003224/0.7687, allocations: 81.61 kB / 0.5687 GB, free: 10.2 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.7688, allocations: 4 kB / 0.5687 GB, free: 10.2 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.7688, allocations: 0 / 0.5687 GB, free: 10.2 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.7688, allocations: 0 / 0.5687 GB, free: 10.2 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.7689, allocations: 19.98 kB / 0.5687 GB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/0.7689, allocations: 0 / 0.5687 GB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.888e-05/0.769, allocations: 8.828 kB / 0.5687 GB, free: 10.17 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.7691, allocations: 4 kB / 0.5687 GB, free: 10.17 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 () * Number of clocked 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 0.0001185/0.7692, allocations: 125.8 kB / 0.5688 GB, free: 10.04 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.115e-05/0.7692, allocations: 7.906 kB / 0.5688 GB, free: 10.03 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003795/0.7696, allocations: 105.9 kB / 0.5689 GB, free: 9.918 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.7696, allocations: 0 / 0.5689 GB, free: 9.918 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.7697, allocations: 320 / 0.5689 GB, free: 9.918 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.7697, allocations: 4 kB / 0.5689 GB, free: 9.914 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006258/0.7703, allocations: 355.3 kB / 0.5693 GB, free: 9.512 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.7703, allocations: 4 kB / 0.5693 GB, free: 9.508 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/0.7705, allocations: 15.92 kB / 0.5693 GB, free: 9.492 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.604e-06/0.7705, allocations: 4 kB / 0.5693 GB, free: 9.488 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.7705, allocations: 0 / 0.5693 GB, free: 9.488 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.7705, allocations: 0 / 0.5693 GB, free: 9.488 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.7705, allocations: 4.234 kB / 0.5693 GB, free: 9.484 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003701/0.7709, allocations: 191.4 kB / 0.5695 GB, free: 9.281 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.774e-05/0.771, allocations: 92.94 kB / 0.5696 GB, free: 9.172 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.439e-05/0.771, allocations: 4 kB / 0.5696 GB, free: 9.168 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.7712, allocations: 7.984 kB / 0.5696 GB, free: 9.16 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.664e-05/0.7712, allocations: 7.953 kB / 0.5696 GB, free: 9.152 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.715e-06/0.7712, allocations: 4 kB / 0.5696 GB, free: 9.148 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001269/0.7714, allocations: 112.9 kB / 0.5697 GB, free: 9.039 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.164e-06/0.7714, allocations: 0 / 0.5697 GB, free: 9.039 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003229/0.7717, allocations: 15.94 kB / 0.5697 GB, free: 9.023 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 () * Number of clocked 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.001748/0.7735, allocations: 1.021 MB / 0.5707 GB, free: 8.078 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003356/0.7738, allocations: 55.97 kB / 0.5708 GB, free: 8.023 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/0.7739, allocations: 3.938 kB / 0.5708 GB, free: 8.02 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001315/0.774, allocations: 31.92 kB / 0.5708 GB, free: 7.988 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002896/0.7743, allocations: 7.984 kB / 0.5708 GB, free: 7.98 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001486/0.7758, allocations: 0.5726 MB / 0.5714 GB, free: 7.363 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002966/0.7762, allocations: 0.7013 MB / 0.5721 GB, free: 6.637 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.853e-05/0.7763, allocations: 19.5 kB / 0.5721 GB, free: 6.621 MB / 394.7 MB Notification: Performance of SimCode: time 1.232e-06/0.7763, allocations: 0 / 0.5721 GB, free: 6.621 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.707/3.483, allocations: 1.739 MB / 0.5738 GB, free: 4.883 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test2.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat does not exist to compare? outputFormat=mat