Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.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.Test9,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test9,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test9",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.002124/0.002124, allocations: 179.4 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.152/2.152, allocations: 205.3 MB / 214.1 MB, free: 14.14 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.001153/0.001152, allocations: 87.45 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.3951/0.3951, allocations: 43.49 MB / 353.6 MB, free: 2.258 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.145e-05/2.166e-05, allocations: 4.219 kB / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4254/0.4255, allocations: 58.85 MB / 477.2 MB, free: 5.277 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1656/0.5912, allocations: 86.31 MB / 0.5503 GB, free: 12.98 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002917/0.5915, allocations: 71.95 kB / 0.5504 GB, free: 12.91 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03054/0.6221, allocations: 7.859 MB / 0.558 GB, free: 5.027 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.6221, allocations: 0 / 0.558 GB, free: 5.027 MB / 395.1 MB Notification: Performance of Transformations before backend: time 4.045e-05/0.6222, allocations: 8 kB / 0.558 GB, free: 5.02 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.0008386/0.623, allocations: 0.5487 MB / 0.5586 GB, free: 4.426 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.627e-05/0.6231, allocations: 8.031 kB / 0.5586 GB, free: 4.418 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001145/0.6232, allocations: 51.39 kB / 0.5586 GB, free: 4.367 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007332/0.624, allocations: 327.8 kB / 0.5589 GB, free: 4.008 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.624, allocations: 0 / 0.5589 GB, free: 4.008 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.748e-05/0.624, allocations: 0 / 0.5589 GB, free: 4.008 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001317/0.6242, allocations: 16 kB / 0.559 GB, free: 3.992 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001233/0.6243, allocations: 42.12 kB / 0.559 GB, free: 3.945 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.6243, allocations: 15.81 kB / 0.559 GB, free: 3.93 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.6244, allocations: 0 / 0.559 GB, free: 3.93 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.6244, allocations: 3.953 kB / 0.559 GB, free: 3.926 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009673/0.6254, allocations: 421.4 kB / 0.5594 GB, free: 3.477 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001059/0.6255, allocations: 30.56 kB / 0.5594 GB, free: 3.438 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.841e-05/0.6256, allocations: 20.86 kB / 0.5595 GB, free: 3.414 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.156e-05/0.6256, allocations: 0 / 0.5595 GB, free: 3.414 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.6256, allocations: 30.56 kB / 0.5595 GB, free: 3.375 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 1.974e-06/0.6256, allocations: 0 / 0.5595 GB, free: 3.375 MB / 395.1 MB Notification: Performance of matching and sorting (n=3): time 0.000309/0.626, allocations: 101.1 kB / 0.5596 GB, free: 3.27 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.115e-05/0.626, allocations: 51.41 kB / 0.5596 GB, free: 3.207 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001851/0.6279, allocations: 0.7551 MB / 0.5604 GB, free: 2.445 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.672e-05/0.628, allocations: 25.7 kB / 0.5604 GB, free: 2.414 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000222/0.6282, allocations: 234.6 kB / 0.5606 GB, free: 2.184 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.838e-05/0.6282, allocations: 11.84 kB / 0.5606 GB, free: 2.172 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.921e-06/0.6283, allocations: 0 / 0.5606 GB, free: 2.172 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.6284, allocations: 314.8 kB / 0.5609 GB, free: 1.855 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.427e-05/0.6285, allocations: 11.98 kB / 0.561 GB, free: 1.844 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.636e-05/0.6285, allocations: 12 kB / 0.561 GB, free: 1.832 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.371e-05/0.6286, allocations: 4 kB / 0.561 GB, free: 1.828 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.6286, allocations: 0 / 0.561 GB, free: 1.828 MB / 395.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001561/0.6288, allocations: 53.69 kB / 0.561 GB, free: 1.77 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.179e-05/0.6288, allocations: 11.98 kB / 0.561 GB, free: 1.758 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.6288, allocations: 3.938 kB / 0.561 GB, free: 1.754 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.6289, allocations: 0 / 0.561 GB, free: 1.754 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001647/0.629, allocations: 8 kB / 0.561 GB, free: 1.746 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.6291, allocations: 3.953 kB / 0.561 GB, free: 1.742 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001542/0.6292, allocations: 11.98 kB / 0.5611 GB, free: 1.73 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.6292, allocations: 0 / 0.5611 GB, free: 1.73 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 (3): * Single equations (assignments): 3 * 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 9.03e-05/0.6293, allocations: 105 kB / 0.5612 GB, free: 1.621 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000226/0.6296, allocations: 97.31 kB / 0.5612 GB, free: 1.52 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001146/0.6297, allocations: 47.47 kB / 0.5613 GB, free: 1.473 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003026/0.63, allocations: 113.2 kB / 0.5614 GB, free: 1.344 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.63, allocations: 3.953 kB / 0.5614 GB, free: 1.34 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.6301, allocations: 0 / 0.5614 GB, free: 1.34 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.6301, allocations: 0 / 0.5614 GB, free: 1.34 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004774/0.6306, allocations: 309.9 kB / 0.5617 GB, free: 1 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.6306, allocations: 0 / 0.5617 GB, free: 1 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/0.6307, allocations: 12 kB / 0.5617 GB, free: 0.9883 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.6307, allocations: 0 / 0.5617 GB, free: 0.9883 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.6307, allocations: 0 / 0.5617 GB, free: 0.9883 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.6307, allocations: 0 / 0.5617 GB, free: 0.9883 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.6308, allocations: 7.938 kB / 0.5617 GB, free: 0.9805 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002641/0.631, allocations: 190.9 kB / 0.5619 GB, free: 0.7773 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003096/0.6314, allocations: 156.6 kB / 0.5621 GB, free: 0.6055 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.844e-05/0.6314, allocations: 0 / 0.5621 GB, free: 0.6055 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/0.6316, allocations: 16 kB / 0.5621 GB, free: 0.5898 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.258e-05/0.6317, allocations: 7.922 kB / 0.5621 GB, free: 0.582 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.6317, allocations: 0 / 0.5621 GB, free: 0.582 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.001165/0.6329, allocations: 0.6121 MB / 0.5627 GB, free: 15.97 MB / 411.1 MB Notification: Performance of sort global known variables: time 6.21e-07/0.6329, allocations: 0 / 0.5627 GB, free: 15.97 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0004606/0.6334, allocations: 52 kB / 0.5627 GB, free: 15.92 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 (3): * Single equations (assignments): 3 * 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.001446/0.6348, allocations: 0.9091 MB / 0.5636 GB, free: 15.02 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0001675/0.635, allocations: 23.94 kB / 0.5636 GB, free: 15 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.635, allocations: 0 / 0.5636 GB, free: 15 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 5.095e-05/0.6351, allocations: 16.08 kB / 0.5636 GB, free: 14.98 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004591/0.6356, allocations: 30.02 kB / 0.5637 GB, free: 14.96 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002177/0.6378, allocations: 0.8542 MB / 0.5645 GB, free: 14.05 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005922/0.6384, allocations: 0.8302 MB / 0.5653 GB, free: 13.2 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002904/0.6387, allocations: 115.4 kB / 0.5654 GB, free: 13.09 MB / 411.1 MB Notification: Performance of SimCode: time 1.382e-06/0.6387, allocations: 4 kB / 0.5654 GB, free: 13.08 MB / 411.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.8/3.438, allocations: 7.069 MB / 0.5723 GB, free: 6 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test9_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test9.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat does not exist to compare? outputFormat=mat