Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.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.Test22,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test22",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.001815/0.00182, allocations: 181.4 kB / 16.4 MB, free: 5.746 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.195/2.195, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001803/0.001802, allocations: 92.44 kB / 270.9 MB, free: 8.359 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.5697/0.5697, allocations: 43.56 MB / 362.7 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006933/0.0006934, allocations: 12 kB / 431.5 MB, free: 6.066 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1849/0.1857, allocations: 58.85 MB / 490.3 MB, free: 11.13 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.004307/0.1901, allocations: 1.605 MB / 491.9 MB, free: 9.512 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003118/0.1932, allocations: 0.8982 MB / 492.8 MB, free: 8.605 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001846/0.1935, allocations: 4 kB / 492.8 MB, free: 8.602 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003481/0.1938, allocations: 39.72 kB / 492.9 MB, free: 8.562 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005724/0.1944, allocations: 131.6 kB / 493 MB, free: 8.434 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003052/0.1975, allocations: 0.5146 MB / 493.5 MB, free: 7.918 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007032/0.1982, allocations: 175.6 kB / 493.7 MB, free: 7.746 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002771/0.1985, allocations: 68.73 kB / 493.7 MB, free: 7.68 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000332/0.1989, allocations: 99.59 kB / 493.8 MB, free: 7.582 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003907/0.1993, allocations: 139.5 kB / 494 MB, free: 7.445 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.054e-05/0.1994, allocations: 4 kB / 494 MB, free: 7.441 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001992/0.1996, allocations: 27.94 kB / 494 MB, free: 7.414 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002773/0.1999, allocations: 127.6 kB / 494.1 MB, free: 7.289 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001239/0.2001, allocations: 73.45 kB / 494.2 MB, free: 7.211 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006465/0.2007, allocations: 283.4 kB / 494.5 MB, free: 6.934 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.2007, allocations: 0 / 494.5 MB, free: 6.934 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.2008, allocations: 0 / 494.5 MB, free: 6.934 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.2008, allocations: 0 / 494.5 MB, free: 6.934 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001919/0.2027, allocations: 0.7153 MB / 495.2 MB, free: 6.168 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.138e-05/0.2028, allocations: 8.031 kB / 495.2 MB, free: 6.16 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.801e-05/0.2029, allocations: 42.56 kB / 495.2 MB, free: 6.109 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001656/0.2031, allocations: 55.25 kB / 495.3 MB, free: 6.055 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001228/0.2043, allocations: 443 kB / 495.7 MB, free: 5.582 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.606e-05/0.2044, allocations: 8 kB / 495.7 MB, free: 5.574 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.85e-05/0.2045, allocations: 12 kB / 495.8 MB, free: 5.562 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006425/0.2051, allocations: 143.3 kB / 495.9 MB, free: 5.41 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.171e-05/0.2052, allocations: 0 / 495.9 MB, free: 5.41 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.316e-05/0.2052, allocations: 7.953 kB / 495.9 MB, free: 5.402 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.194e-05/0.2053, allocations: 4 kB / 495.9 MB, free: 5.398 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005903/0.2059, allocations: 103.9 kB / 496 MB, free: 5.297 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002088/0.208, allocations: 0.6994 MB / 496.7 MB, free: 4.543 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005178/0.2085, allocations: 129.2 kB / 496.8 MB, free: 4.398 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.127e-05/0.2086, allocations: 7.984 kB / 496.8 MB, free: 4.391 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.812e-05/0.2087, allocations: 38.5 kB / 496.9 MB, free: 4.344 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 3.557e-06/0.2087, allocations: 0 / 496.9 MB, free: 4.344 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.003506/0.2122, allocations: 0.5723 MB / 497.4 MB, free: 3.762 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.214e-05/0.2123, allocations: 81.11 kB / 497.5 MB, free: 3.664 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002406/0.2148, allocations: 0.8818 MB / 498.4 MB, free: 2.77 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.344e-05/0.2149, allocations: 33.92 kB / 498.4 MB, free: 2.73 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003397/0.2152, allocations: 266.7 kB / 498.7 MB, free: 2.465 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000117/0.2154, allocations: 55.14 kB / 498.8 MB, free: 2.41 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.306e-05/0.2154, allocations: 4 kB / 498.8 MB, free: 2.406 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000188/0.2156, allocations: 318.8 kB / 499.1 MB, free: 2.086 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004865/0.2161, allocations: 75.95 kB / 499.1 MB, free: 2.012 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000481/0.2166, allocations: 93.47 kB / 499.2 MB, free: 1.918 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000527/0.2172, allocations: 83.94 kB / 499.3 MB, free: 1.836 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.2172, allocations: 0 / 499.3 MB, free: 1.836 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.001156/0.2184, allocations: 205.8 kB / 499.5 MB, free: 1.629 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.232e-05/0.2184, allocations: 8 kB / 499.5 MB, free: 1.621 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.2184, allocations: 0 / 499.5 MB, free: 1.621 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.39e-05/0.2185, allocations: 3.984 kB / 499.5 MB, free: 1.617 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000518/0.219, allocations: 47.91 kB / 499.6 MB, free: 1.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.284e-05/0.219, allocations: 3.953 kB / 499.6 MB, free: 1.566 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004552/0.2195, allocations: 19.91 kB / 499.6 MB, free: 1.547 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.68e-05/0.2196, allocations: 7.984 kB / 499.6 MB, free: 1.539 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.0005072/0.2201, allocations: 213.8 kB / 499.8 MB, free: 1.32 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002319/0.2203, allocations: 51.34 kB / 499.9 MB, free: 1.27 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001561/0.2219, allocations: 310.8 kB / 0.4884 GB, free: 0.9531 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/0.222, allocations: 4 kB / 0.4885 GB, free: 0.9492 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.222, allocations: 0 / 0.4885 GB, free: 0.9492 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.222, allocations: 3.953 kB / 0.4885 GB, free: 0.9453 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00283/0.2248, allocations: 0.8219 MB / 0.4893 GB, free: 68 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.939e-06/0.2249, allocations: 0 / 0.4893 GB, free: 68 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004621/0.2254, allocations: 43.91 kB / 0.4893 GB, free: 24 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.347e-05/0.2255, allocations: 7.953 kB / 0.4893 GB, free: 16 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.626e-05/0.2255, allocations: 4 kB / 0.4893 GB, free: 12 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.713e-06/0.2255, allocations: 0 / 0.4893 GB, free: 12 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.2255, allocations: 0 / 0.4893 GB, free: 12 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3986/0.6241, allocations: 445.8 kB / 0.4897 GB, free: 42.76 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002327/0.6244, allocations: 155.9 kB / 0.4899 GB, free: 42.67 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.873e-05/0.6245, allocations: 3.484 kB / 0.4899 GB, free: 42.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003457/0.6249, allocations: 19.12 kB / 0.4899 GB, free: 42.67 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/0.625, allocations: 15.31 kB / 0.4899 GB, free: 42.67 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.023e-05/0.625, allocations: 7.141 kB / 0.4899 GB, free: 42.67 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001229/0.6263, allocations: 0.6487 MB / 0.4906 GB, free: 42.58 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.6263, allocations: 1.125 kB / 0.4906 GB, free: 42.58 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000597/0.6269, allocations: 51.61 kB / 0.4906 GB, free: 42.58 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.002296/0.6292, allocations: 1.348 MB / 0.4919 GB, free: 41.67 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008017/0.6301, allocations: 179.4 kB / 0.4921 GB, free: 41.66 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.6301, allocations: 0 / 0.4921 GB, free: 41.66 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003731/0.6305, allocations: 103.6 kB / 0.4922 GB, free: 41.66 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007796/0.6313, allocations: 68.48 kB / 0.4923 GB, free: 41.66 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007842/0.6391, allocations: 3.317 MB / 0.4955 GB, free: 40.63 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005417/0.6397, allocations: 0.8824 MB / 0.4964 GB, free: 39.93 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004304/0.6402, allocations: 169.6 kB / 0.4965 GB, free: 39.92 MB / 378.7 MB Notification: Performance of SimCode: time 1.163e-06/0.6402, allocations: 1.031 kB / 0.4965 GB, free: 39.92 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.806/3.446, allocations: 8.278 MB / 0.5046 GB, free: 39.09 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test22_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test22.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat does not exist to compare? outputFormat=mat