Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.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.Test19,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test19,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test19",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.001628/0.001632, allocations: 182.8 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.046/2.046, allocations: 205.4 MB / 222.5 MB, free: 9.129 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.001292/0.001292, allocations: 96.19 kB / 270.9 MB, free: 8.367 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.5559/0.5559, allocations: 43.54 MB / 362.7 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004852/0.0004856, allocations: 12 kB / 431.5 MB, free: 5.836 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1432, allocations: 58.85 MB / 490.3 MB, free: 10.9 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test19): time 0.003162/0.1464, allocations: 1.52 MB / 491.8 MB, free: 9.367 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001857/0.1484, allocations: 0.5737 MB / 492.4 MB, free: 8.789 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001325/0.1485, allocations: 0 / 492.4 MB, free: 8.789 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006482/0.1492, allocations: 243.4 kB / 492.6 MB, free: 8.551 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004974/0.1497, allocations: 175.5 kB / 492.8 MB, free: 8.379 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002222/0.152, allocations: 0.538 MB / 493.4 MB, free: 7.84 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005805/0.1526, allocations: 187.6 kB / 493.5 MB, free: 7.656 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002014/0.1528, allocations: 60.09 kB / 493.6 MB, free: 7.598 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001925/0.153, allocations: 99.58 kB / 493.7 MB, free: 7.5 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002942/0.1533, allocations: 143.5 kB / 493.8 MB, free: 7.359 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.344e-05/0.1533, allocations: 4 kB / 493.8 MB, free: 7.355 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001664/0.1535, allocations: 20 kB / 493.9 MB, free: 7.336 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001619/0.1537, allocations: 83.72 kB / 493.9 MB, free: 7.254 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.14e-05/0.1538, allocations: 61.52 kB / 494 MB, free: 7.188 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003891/0.1542, allocations: 207.5 kB / 494.2 MB, free: 6.984 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.716e-06/0.1542, allocations: 0 / 494.2 MB, free: 6.984 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1542, allocations: 0 / 494.2 MB, free: 6.984 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.1542, allocations: 0 / 494.2 MB, free: 6.984 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.00103/0.1553, allocations: 0.5912 MB / 494.8 MB, free: 6.344 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.307e-05/0.1553, allocations: 8.031 kB / 494.8 MB, free: 6.336 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.549e-05/0.1554, allocations: 38.56 kB / 494.8 MB, free: 6.289 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.005e-05/0.1555, allocations: 39.48 kB / 494.9 MB, free: 6.25 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005596/0.1561, allocations: 309.2 kB / 495.2 MB, free: 5.906 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.1561, allocations: 0 / 495.2 MB, free: 5.906 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.707e-05/0.1561, allocations: 8 kB / 495.2 MB, free: 5.898 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003103/0.1565, allocations: 101.2 kB / 495.3 MB, free: 5.797 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.1565, allocations: 4 kB / 495.3 MB, free: 5.793 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.707e-05/0.1565, allocations: 4 kB / 495.3 MB, free: 5.789 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.1565, allocations: 4 kB / 495.3 MB, free: 5.785 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002727/0.1568, allocations: 71.91 kB / 495.4 MB, free: 5.715 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009388/0.1578, allocations: 472.4 kB / 495.8 MB, free: 5.203 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002161/0.158, allocations: 74.55 kB / 495.9 MB, free: 5.121 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.871e-05/0.1581, allocations: 3.984 kB / 495.9 MB, free: 5.117 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.651e-05/0.1581, allocations: 30.56 kB / 495.9 MB, free: 5.078 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 3.096e-06/0.1581, allocations: 0 / 495.9 MB, free: 5.078 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005652/0.1587, allocations: 165.2 kB / 496.1 MB, free: 4.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.808e-05/0.1588, allocations: 51.41 kB / 496.1 MB, free: 4.848 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009614/0.1597, allocations: 0.5487 MB / 496.7 MB, free: 4.285 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/0.1598, allocations: 25.7 kB / 496.7 MB, free: 4.254 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001985/0.16, allocations: 230.7 kB / 496.9 MB, free: 4.027 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.88e-05/0.16, allocations: 31.62 kB / 497 MB, free: 3.996 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.623e-06/0.1601, allocations: 3.938 kB / 497 MB, free: 3.992 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.1602, allocations: 314.8 kB / 497.3 MB, free: 3.676 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000126/0.1604, allocations: 27.98 kB / 497.3 MB, free: 3.648 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001179/0.1605, allocations: 31.97 kB / 497.3 MB, free: 3.617 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001271/0.1606, allocations: 31.98 kB / 497.4 MB, free: 3.586 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.1607, allocations: 0 / 497.4 MB, free: 3.586 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003473/0.161, allocations: 105.5 kB / 497.5 MB, free: 3.477 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.161, allocations: 4 kB / 497.5 MB, free: 3.473 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.1611, allocations: 3.938 kB / 497.5 MB, free: 3.469 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.1611, allocations: 4 kB / 497.5 MB, free: 3.465 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001407/0.1612, allocations: 8 kB / 497.5 MB, free: 3.457 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.1613, allocations: 0 / 497.5 MB, free: 3.457 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001406/0.1614, allocations: 12.42 kB / 497.5 MB, free: 3.445 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.588e-05/0.1614, allocations: 4 kB / 497.5 MB, free: 3.441 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 (6): * Single equations (assignments): 6 * 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.0002627/0.1617, allocations: 177.8 kB / 497.7 MB, free: 3.258 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.42e-05/0.1618, allocations: 39.48 kB / 497.7 MB, free: 3.219 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004757/0.1623, allocations: 160.8 kB / 497.9 MB, free: 3.059 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/0.1623, allocations: 4 kB / 497.9 MB, free: 3.055 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1623, allocations: 0 / 497.9 MB, free: 3.055 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.1623, allocations: 0 / 497.9 MB, free: 3.055 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004565/0.1628, allocations: 285.5 kB / 498.2 MB, free: 2.727 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.1628, allocations: 4 kB / 498.2 MB, free: 2.723 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001172/0.1629, allocations: 15.98 kB / 498.2 MB, free: 2.707 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.664e-06/0.163, allocations: 3.953 kB / 498.2 MB, free: 2.703 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.163, allocations: 0 / 498.2 MB, free: 2.703 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.163, allocations: 0 / 498.2 MB, free: 2.703 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.163, allocations: 0 / 498.2 MB, free: 2.703 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004221/0.1634, allocations: 231 kB / 498.4 MB, free: 2.461 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001452/0.1636, allocations: 128.5 kB / 498.5 MB, free: 2.316 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.184e-05/0.1637, allocations: 3.953 kB / 498.5 MB, free: 2.312 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001736/0.1638, allocations: 8 kB / 498.6 MB, free: 2.305 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.993e-05/0.1639, allocations: 7.984 kB / 498.6 MB, free: 2.297 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/0.1639, allocations: 4 kB / 498.6 MB, free: 2.293 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007052/0.1647, allocations: 415 kB / 499 MB, free: 1.891 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.1647, allocations: 0 / 499 MB, free: 1.891 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004109/0.1651, allocations: 31.98 kB / 499 MB, free: 1.859 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 (6): * Single equations (assignments): 6 * 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.002459/0.1676, allocations: 1.245 MB / 0.4885 GB, free: 0.6484 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003722/0.168, allocations: 75.89 kB / 0.4886 GB, free: 0.5742 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/0.168, allocations: 0 / 0.4886 GB, free: 0.5742 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001316/0.1681, allocations: 35.92 kB / 0.4886 GB, free: 0.5391 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006845/0.1688, allocations: 65.39 kB / 0.4887 GB, free: 484 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3303/0.4992, allocations: 1.803 MB / 0.4905 GB, free: 42.46 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004506/0.4997, allocations: 0.8079 MB / 0.4912 GB, free: 41.77 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002895/0.5, allocations: 108 kB / 0.4913 GB, free: 41.76 MB / 378.7 MB Notification: Performance of SimCode: time 1.593e-06/0.5, allocations: 0 / 0.4913 GB, free: 41.76 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.802/3.302, allocations: 5.525 MB / 0.4967 GB, free: 41.36 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test19_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test19.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat does not exist to compare? outputFormat=mat