Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.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.Test3,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test3,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test3",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.001629/0.001635, allocations: 183 kB / 16.4 MB, free: 5.75 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.163/2.163, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.001178/0.001177, allocations: 97.53 kB / 270.9 MB, free: 8.363 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.5276/0.5276, allocations: 43.55 MB / 362.7 MB, free: 52.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004908/0.0004909, allocations: 20 kB / 431.5 MB, free: 6.078 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1417, allocations: 58.84 MB / 490.3 MB, free: 11.15 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.002625/0.1444, allocations: 1.305 MB / 491.6 MB, free: 9.832 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009409/0.1454, allocations: 307.7 kB / 491.9 MB, free: 9.527 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.796e-05/0.1455, allocations: 0 / 491.9 MB, free: 9.527 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009046/0.1464, allocations: 435.2 kB / 492.3 MB, free: 9.102 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007317/0.1472, allocations: 235.5 kB / 492.6 MB, free: 8.871 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001044/0.1482, allocations: 151.6 kB / 492.7 MB, free: 8.723 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000573/0.1488, allocations: 115.8 kB / 492.8 MB, free: 8.609 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001733/0.1491, allocations: 23.83 kB / 492.9 MB, free: 8.586 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003145/0.1494, allocations: 107.7 kB / 493 MB, free: 8.48 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004093/0.1498, allocations: 139.8 kB / 493.1 MB, free: 8.344 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.832e-05/0.1499, allocations: 0 / 493.1 MB, free: 8.344 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001487/0.15, allocations: 31.91 kB / 493.1 MB, free: 8.312 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001415/0.1502, allocations: 79.75 kB / 493.2 MB, free: 8.234 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.635e-05/0.1503, allocations: 69.45 kB / 493.3 MB, free: 8.16 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003574/0.1507, allocations: 184 kB / 493.5 MB, free: 7.98 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.1507, allocations: 4 kB / 493.5 MB, free: 7.977 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.365e-06/0.1507, allocations: 0 / 493.5 MB, free: 7.977 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.1507, allocations: 0 / 493.5 MB, free: 7.977 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.001002/0.1517, allocations: 0.6066 MB / 494.1 MB, free: 7.32 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.613e-05/0.1518, allocations: 8.031 kB / 494.1 MB, free: 7.312 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.126e-05/0.1518, allocations: 38.5 kB / 494.1 MB, free: 7.266 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.166e-05/0.1519, allocations: 47.39 kB / 494.2 MB, free: 7.219 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004083/0.1524, allocations: 275.3 kB / 494.4 MB, free: 6.91 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.1524, allocations: 8 kB / 494.4 MB, free: 6.902 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.955e-05/0.1524, allocations: 4 kB / 494.4 MB, free: 6.898 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002807/0.1527, allocations: 65.66 kB / 494.5 MB, free: 6.828 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.1527, allocations: 0 / 494.5 MB, free: 6.828 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.1528, allocations: 0 / 494.5 MB, free: 6.828 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.1528, allocations: 0 / 494.5 MB, free: 6.828 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000262/0.1531, allocations: 55.92 kB / 494.6 MB, free: 6.773 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007898/0.1539, allocations: 412.5 kB / 495 MB, free: 6.32 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002076/0.1541, allocations: 58.55 kB / 495 MB, free: 6.254 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.006e-05/0.1541, allocations: 0 / 495 MB, free: 6.254 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.483e-05/0.1542, allocations: 30.56 kB / 495 MB, free: 6.215 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.643e-06/0.1542, allocations: 0 / 495 MB, free: 6.215 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.001434/0.1556, allocations: 347.9 kB / 495.4 MB, free: 5.867 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.401e-05/0.1557, allocations: 51.41 kB / 495.4 MB, free: 5.805 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001384/0.1571, allocations: 0.8652 MB / 496.3 MB, free: 4.93 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.834e-05/0.1571, allocations: 29.64 kB / 496.3 MB, free: 4.895 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002246/0.1574, allocations: 234.5 kB / 496.6 MB, free: 4.664 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.888e-05/0.1574, allocations: 27.66 kB / 496.6 MB, free: 4.637 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.384e-06/0.1575, allocations: 0 / 496.6 MB, free: 4.637 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.1576, allocations: 318.8 kB / 496.9 MB, free: 4.316 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000269/0.1579, allocations: 48.03 kB / 496.9 MB, free: 4.27 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002274/0.1581, allocations: 51.91 kB / 497 MB, free: 4.219 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002481/0.1584, allocations: 47.97 kB / 497 MB, free: 4.172 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.1584, allocations: 0 / 497 MB, free: 4.172 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005674/0.159, allocations: 133.6 kB / 497.2 MB, free: 4.035 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.596e-05/0.159, allocations: 7.953 kB / 497.2 MB, free: 4.027 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.1591, allocations: 0 / 497.2 MB, free: 4.027 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.1591, allocations: 0 / 497.2 MB, free: 4.027 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002142/0.1593, allocations: 27.98 kB / 497.2 MB, free: 4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.1593, allocations: 0 / 497.2 MB, free: 4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001803/0.1595, allocations: 15.98 kB / 497.2 MB, free: 3.984 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.581e-05/0.1595, allocations: 0 / 497.2 MB, free: 3.984 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0003473/0.1599, allocations: 225.6 kB / 497.4 MB, free: 3.754 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.306e-05/0.16, allocations: 47.44 kB / 497.5 MB, free: 3.707 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007615/0.1608, allocations: 193.4 kB / 497.7 MB, free: 3.508 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.1608, allocations: 4 kB / 497.7 MB, free: 3.504 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.1608, allocations: 0 / 497.7 MB, free: 3.504 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.1608, allocations: 0 / 497.7 MB, free: 3.504 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001151/0.162, allocations: 0.5296 MB / 498.2 MB, free: 2.918 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.162, allocations: 3.953 kB / 498.2 MB, free: 2.914 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001769/0.1622, allocations: 19.98 kB / 498.2 MB, free: 2.895 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.05e-05/0.1622, allocations: 4 kB / 498.2 MB, free: 2.891 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.1623, allocations: 0 / 498.2 MB, free: 2.891 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.908e-06/0.1623, allocations: 0 / 498.2 MB, free: 2.891 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/0.1623, allocations: 0 / 498.2 MB, free: 2.891 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006526/0.1629, allocations: 274.8 kB / 498.5 MB, free: 2.605 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001329/0.1631, allocations: 128.5 kB / 498.6 MB, free: 2.461 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.19e-05/0.1632, allocations: 4 kB / 498.6 MB, free: 2.457 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001816/0.1633, allocations: 15.98 kB / 498.7 MB, free: 2.441 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.799e-05/0.1634, allocations: 0 / 498.7 MB, free: 2.441 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/0.1634, allocations: 4 kB / 498.7 MB, free: 2.438 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001101/0.1646, allocations: 0.6511 MB / 499.3 MB, free: 1.789 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.21e-07/0.1646, allocations: 0 / 499.3 MB, free: 1.789 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006194/0.1652, allocations: 35.98 kB / 499.3 MB, free: 1.754 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.002154/0.1674, allocations: 1.108 MB / 0.4887 GB, free: 0.668 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005753/0.168, allocations: 111.9 kB / 0.4888 GB, free: 0.5586 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.168, allocations: 0 / 0.4888 GB, free: 0.5586 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002591/0.1683, allocations: 51.97 kB / 0.4889 GB, free: 0.5078 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004593/0.1688, allocations: 25.95 kB / 0.4889 GB, free: 496 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3363/0.505, allocations: 2.356 MB / 0.4912 GB, free: 42.49 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006584/0.5058, allocations: 0.8456 MB / 0.492 GB, free: 41.8 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003474/0.5061, allocations: 113.5 kB / 0.4921 GB, free: 41.79 MB / 378.7 MB Notification: Performance of SimCode: time 1.262e-06/0.5062, allocations: 3.844 kB / 0.4921 GB, free: 41.79 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.887/3.393, allocations: 6.862 MB / 0.4988 GB, free: 40.53 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test3_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test3.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat does not exist to compare? outputFormat=mat