Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.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.Test20,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test20",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.002275/0.00228, allocations: 183.2 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.121/2.121, 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.001138/0.001138, allocations: 89.84 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.5347/0.5347, allocations: 43.55 MB / 362.7 MB, free: 51.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004933/0.0004934, allocations: 16 kB / 431.5 MB, free: 5.832 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1441, allocations: 58.84 MB / 490.3 MB, free: 10.9 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.003381/0.1476, allocations: 1.609 MB / 491.9 MB, free: 9.277 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002007/0.1497, allocations: 0.6047 MB / 492.5 MB, free: 8.668 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001871/0.1499, allocations: 8 kB / 492.5 MB, free: 8.66 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007155/0.1506, allocations: 247.3 kB / 492.8 MB, free: 8.418 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005541/0.1512, allocations: 167.6 kB / 492.9 MB, free: 8.254 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002393/0.1536, allocations: 0.5498 MB / 493.5 MB, free: 7.703 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007173/0.1544, allocations: 203.5 kB / 493.7 MB, free: 7.504 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002536/0.1547, allocations: 64.67 kB / 493.8 MB, free: 7.441 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002289/0.1549, allocations: 107.5 kB / 493.9 MB, free: 7.336 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003179/0.1552, allocations: 155.4 kB / 494 MB, free: 7.184 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.299e-05/0.1553, allocations: 0 / 494 MB, free: 7.184 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002262/0.1555, allocations: 36 kB / 494 MB, free: 7.148 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001646/0.1557, allocations: 87.66 kB / 494.1 MB, free: 7.062 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.496e-05/0.1558, allocations: 69.52 kB / 494.2 MB, free: 6.988 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000474/0.1563, allocations: 223.6 kB / 494.4 MB, free: 6.77 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.1563, allocations: 0 / 494.4 MB, free: 6.77 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.1563, allocations: 4 kB / 494.4 MB, free: 6.766 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.386e-06/0.1563, allocations: 0 / 494.4 MB, free: 6.766 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001161/0.1575, allocations: 0.6107 MB / 495 MB, free: 6.105 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.455e-05/0.1576, allocations: 8.031 kB / 495 MB, free: 6.098 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.135e-05/0.1577, allocations: 42.56 kB / 495.1 MB, free: 6.047 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001013/0.1578, allocations: 47.39 kB / 495.1 MB, free: 6 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006552/0.1585, allocations: 309.2 kB / 495.4 MB, free: 5.656 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.1585, allocations: 4 kB / 495.4 MB, free: 5.652 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.65e-05/0.1585, allocations: 15.91 kB / 495.5 MB, free: 5.637 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004419/0.159, allocations: 133.5 kB / 495.6 MB, free: 5.5 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.943e-05/0.159, allocations: 0 / 495.6 MB, free: 5.5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.192e-05/0.1591, allocations: 4 kB / 495.6 MB, free: 5.496 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/0.1591, allocations: 7.953 kB / 495.6 MB, free: 5.488 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003478/0.1595, allocations: 99.86 kB / 495.7 MB, free: 5.391 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001196/0.1607, allocations: 0.512 MB / 496.2 MB, free: 4.828 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003393/0.1611, allocations: 106.5 kB / 496.3 MB, free: 4.715 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.635e-05/0.1611, allocations: 4.219 kB / 496.3 MB, free: 4.711 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.631e-05/0.1612, allocations: 42.44 kB / 496.4 MB, free: 4.66 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 3.386e-06/0.1612, allocations: 0 / 496.4 MB, free: 4.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.001809/0.163, allocations: 459.8 kB / 496.8 MB, free: 4.203 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.373e-05/0.1631, allocations: 55.36 kB / 496.9 MB, free: 4.137 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001027/0.1641, allocations: 0.5525 MB / 497.4 MB, free: 3.57 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.195e-05/0.1642, allocations: 25.7 kB / 497.4 MB, free: 3.539 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002046/0.1644, allocations: 238.8 kB / 497.7 MB, free: 3.305 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.2e-05/0.1645, allocations: 55.11 kB / 497.7 MB, free: 3.25 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.459e-05/0.1646, allocations: 4 kB / 497.7 MB, free: 3.246 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.1647, allocations: 322.8 kB / 498 MB, free: 2.922 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002787/0.165, allocations: 67.91 kB / 498.1 MB, free: 2.855 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002377/0.1653, allocations: 75.39 kB / 498.2 MB, free: 2.785 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002688/0.1655, allocations: 71.97 kB / 498.2 MB, free: 2.715 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1656, allocations: 0 / 498.2 MB, free: 2.715 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0006631/0.1662, allocations: 217.3 kB / 498.5 MB, free: 2.496 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.493e-05/0.1663, allocations: 4 kB / 498.5 MB, free: 2.492 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.1663, allocations: 0 / 498.5 MB, free: 2.492 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.258e-05/0.1663, allocations: 4 kB / 498.5 MB, free: 2.488 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002829/0.1666, allocations: 35.97 kB / 498.5 MB, free: 2.453 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.1667, allocations: 4 kB / 498.5 MB, free: 2.449 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001946/0.1669, allocations: 15.95 kB / 498.5 MB, free: 2.434 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.259e-05/0.1669, allocations: 4 kB / 498.5 MB, free: 2.43 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 (17): * Single equations (assignments): 17 * 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.000317/0.1672, allocations: 185.7 kB / 498.7 MB, free: 2.238 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.1673, allocations: 35.53 kB / 498.7 MB, free: 2.203 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009233/0.1683, allocations: 292.8 kB / 499 MB, free: 1.918 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/0.1683, allocations: 4 kB / 499 MB, free: 1.914 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/0.1683, allocations: 0 / 499 MB, free: 1.914 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.1683, allocations: 0 / 499 MB, free: 1.914 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001568/0.1699, allocations: 0.6817 MB / 499.7 MB, free: 1.176 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-06/0.17, allocations: 0 / 499.7 MB, free: 1.176 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002522/0.1703, allocations: 39.92 kB / 499.8 MB, free: 1.137 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.086e-06/0.1703, allocations: 0 / 499.8 MB, free: 1.137 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.409e-05/0.1703, allocations: 7.953 kB / 499.8 MB, free: 1.129 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.364e-06/0.1703, allocations: 8 kB / 499.8 MB, free: 1.121 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.1703, allocations: 0 / 499.8 MB, free: 1.121 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008045/0.1712, allocations: 338.8 kB / 0.4884 GB, free: 0.7734 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001559/0.1713, allocations: 124.6 kB / 0.4885 GB, free: 0.6328 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.27e-05/0.1714, allocations: 0 / 0.4885 GB, free: 0.6328 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001867/0.1716, allocations: 19.95 kB / 0.4885 GB, free: 0.6133 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.011e-05/0.1717, allocations: 11.92 kB / 0.4885 GB, free: 0.6016 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.434e-05/0.1717, allocations: 8 kB / 0.4885 GB, free: 0.5938 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007623/0.1725, allocations: 419 kB / 0.4889 GB, free: 188 kB / 378.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.1725, allocations: 0 / 0.4889 GB, free: 188 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004982/0.173, allocations: 44 kB / 0.489 GB, free: 144 kB / 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 (17): * Single equations (assignments): 17 * 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.3349/0.5079, allocations: 1.468 MB / 0.4904 GB, free: 42.24 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007299/0.5087, allocations: 175.5 kB / 0.4906 GB, free: 42.24 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.5088, allocations: 0 / 0.4906 GB, free: 42.24 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002868/0.5091, allocations: 96.78 kB / 0.4907 GB, free: 42.24 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007228/0.5098, allocations: 69.75 kB / 0.4907 GB, free: 42.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005078/0.5149, allocations: 2.1 MB / 0.4928 GB, free: 41.55 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004395/0.5154, allocations: 0.8215 MB / 0.4936 GB, free: 40.86 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003819/0.5158, allocations: 128.8 kB / 0.4937 GB, free: 40.85 MB / 378.7 MB Notification: Performance of SimCode: time 2.044e-06/0.5158, allocations: 1.781 kB / 0.4937 GB, free: 40.85 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.837/3.352, allocations: 6.42 MB / 0.5 GB, free: 40.15 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test20_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test20.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat does not exist to compare? outputFormat=mat