Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23.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.Test23,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test23,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test23",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.00155/0.001555, allocations: 182.4 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.221/2.221, 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.001236/0.001236, allocations: 94.8 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.553/0.553, allocations: 43.55 MB / 362.7 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000692/0.000692, allocations: 8 kB / 431.5 MB, free: 6.07 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1815/0.1822, allocations: 58.86 MB / 490.3 MB, free: 11.13 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.003336/0.1856, allocations: 1.664 MB / 492 MB, free: 9.453 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002529/0.1882, allocations: 0.9177 MB / 492.9 MB, free: 8.527 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001675/0.1885, allocations: 0 / 492.9 MB, free: 8.527 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002973/0.1888, allocations: 43.7 kB / 492.9 MB, free: 8.484 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004993/0.1893, allocations: 143.6 kB / 493.1 MB, free: 8.344 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002177/0.1915, allocations: 0.5147 MB / 493.6 MB, free: 7.828 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006533/0.1922, allocations: 199.5 kB / 493.8 MB, free: 7.633 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002255/0.1924, allocations: 64.73 kB / 493.9 MB, free: 7.57 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002867/0.1927, allocations: 115.5 kB / 494 MB, free: 7.457 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003345/0.1931, allocations: 155.4 kB / 494.1 MB, free: 7.305 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.239e-05/0.1931, allocations: 8 kB / 494.1 MB, free: 7.297 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001622/0.1933, allocations: 27.92 kB / 494.2 MB, free: 7.27 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002177/0.1935, allocations: 135.6 kB / 494.3 MB, free: 7.137 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001139/0.1937, allocations: 85.38 kB / 494.4 MB, free: 7.047 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005115/0.1942, allocations: 283.5 kB / 494.6 MB, free: 6.77 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.1942, allocations: 0 / 494.6 MB, free: 6.77 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.534e-06/0.1942, allocations: 0 / 494.6 MB, free: 6.77 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.974e-06/0.1942, allocations: 0 / 494.6 MB, free: 6.77 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.00163/0.1959, allocations: 0.7464 MB / 495.4 MB, free: 5.973 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.396e-05/0.1959, allocations: 8.031 kB / 495.4 MB, free: 5.965 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.231e-05/0.196, allocations: 42.55 kB / 495.4 MB, free: 5.914 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000131/0.1962, allocations: 55.25 kB / 495.5 MB, free: 5.859 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009429/0.1971, allocations: 443 kB / 495.9 MB, free: 5.387 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.1972, allocations: 8 kB / 495.9 MB, free: 5.379 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.62e-05/0.1972, allocations: 8 kB / 495.9 MB, free: 5.371 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005722/0.1978, allocations: 167.3 kB / 496.1 MB, free: 5.195 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.878e-05/0.1979, allocations: 0 / 496.1 MB, free: 5.195 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.856e-05/0.1979, allocations: 7.953 kB / 496.1 MB, free: 5.188 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.148e-06/0.1979, allocations: 4 kB / 496.1 MB, free: 5.184 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006079/0.1985, allocations: 139.8 kB / 496.3 MB, free: 5.047 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001887/0.2004, allocations: 0.7346 MB / 497 MB, free: 4.258 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005191/0.201, allocations: 141.2 kB / 497.1 MB, free: 4.102 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.493e-05/0.2011, allocations: 4 kB / 497.1 MB, free: 4.098 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.195e-05/0.2011, allocations: 34.55 kB / 497.2 MB, free: 4.055 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 2.876e-06/0.2012, allocations: 0 / 497.2 MB, free: 4.055 MB / 378.7 MB Notification: Performance of matching and sorting (n=20): time 0.003909/0.2051, allocations: 0.818 MB / 498 MB, free: 3.227 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.357e-05/0.2052, allocations: 81.11 kB / 498.1 MB, free: 3.129 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001716/0.2069, allocations: 0.8828 MB / 498.9 MB, free: 2.238 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.224e-05/0.207, allocations: 33.7 kB / 499 MB, free: 2.199 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00027/0.2073, allocations: 266.8 kB / 499.2 MB, free: 1.934 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001179/0.2075, allocations: 74.98 kB / 499.3 MB, free: 1.859 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.416e-05/0.2075, allocations: 8 kB / 499.3 MB, free: 1.852 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.2077, allocations: 315 kB / 499.6 MB, free: 1.535 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005965/0.2083, allocations: 127.9 kB / 499.8 MB, free: 1.41 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000577/0.2089, allocations: 149.6 kB / 499.9 MB, free: 1.258 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005896/0.2095, allocations: 131.9 kB / 0.4883 GB, free: 1.129 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.2095, allocations: 0 / 0.4883 GB, free: 1.129 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.001317/0.2108, allocations: 317.5 kB / 0.4886 GB, free: 0.8125 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.073e-05/0.2109, allocations: 11.95 kB / 0.4886 GB, free: 0.8008 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.2109, allocations: 4.734 kB / 0.4886 GB, free: 0.7969 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/0.211, allocations: 0 / 0.4886 GB, free: 0.7969 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005697/0.2115, allocations: 67.89 kB / 0.4887 GB, free: 0.7305 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.2116, allocations: 0 / 0.4887 GB, free: 0.7305 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004866/0.2121, allocations: 35.91 kB / 0.4887 GB, free: 0.6953 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.746e-05/0.2121, allocations: 12 kB / 0.4887 GB, free: 0.6836 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 (20): * Single equations (assignments): 20 * 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.0004035/0.2125, allocations: 221.8 kB / 0.489 GB, free: 468 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001839/0.2127, allocations: 59.25 kB / 0.489 GB, free: 408 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3431/0.5559, allocations: 438.8 kB / 0.4894 GB, free: 43.06 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.979e-05/0.5559, allocations: 2.078 kB / 0.4894 GB, free: 43.06 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-05/0.556, allocations: 0 / 0.4894 GB, free: 43.06 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.261e-05/0.556, allocations: 3.031 kB / 0.4894 GB, free: 43.06 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003987/0.56, allocations: 0.9783 MB / 0.4904 GB, free: 42.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.746e-06/0.5601, allocations: 1.031 kB / 0.4904 GB, free: 42.69 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008671/0.561, allocations: 65.08 kB / 0.4904 GB, free: 42.69 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.181e-05/0.561, allocations: 1.125 kB / 0.4905 GB, free: 42.69 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.463e-05/0.5611, allocations: 5.234 kB / 0.4905 GB, free: 42.69 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.726e-06/0.5611, allocations: 5.125 kB / 0.4905 GB, free: 42.69 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/0.5611, allocations: 1.797 kB / 0.4905 GB, free: 42.69 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002354/0.5635, allocations: 0.548 MB / 0.491 GB, free: 42.47 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004082/0.5639, allocations: 161.6 kB / 0.4912 GB, free: 42.38 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000144/0.5641, allocations: 2.734 kB / 0.4912 GB, free: 42.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008044/0.5649, allocations: 31.27 kB / 0.4912 GB, free: 42.38 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001793/0.5651, allocations: 17.42 kB / 0.4912 GB, free: 42.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.587e-05/0.5652, allocations: 13.3 kB / 0.4912 GB, free: 42.38 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001933/0.5671, allocations: 0.652 MB / 0.4918 GB, free: 42.29 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.81e-07/0.5672, allocations: 1.438 kB / 0.4919 GB, free: 42.29 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001028/0.5682, allocations: 59.78 kB / 0.4919 GB, free: 42.29 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 (20): * Single equations (assignments): 20 * 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.00437/0.5726, allocations: 1.47 MB / 0.4933 GB, free: 41.37 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001309/0.574, allocations: 293.6 kB / 0.4936 GB, free: 41.36 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.574, allocations: 0 / 0.4936 GB, free: 41.36 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006395/0.5747, allocations: 163.3 kB / 0.4938 GB, free: 41.36 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007861/0.5755, allocations: 67.95 kB / 0.4938 GB, free: 41.36 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008593/0.5841, allocations: 3.597 MB / 0.4974 GB, free: 40.26 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005218/0.5846, allocations: 0.8837 MB / 0.4982 GB, free: 39.56 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005003/0.5852, allocations: 187.1 kB / 0.4984 GB, free: 39.55 MB / 378.7 MB Notification: Performance of SimCode: time 1.363e-06/0.5852, allocations: 0 / 0.4984 GB, free: 39.55 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.744/3.33, allocations: 8.828 MB / 0.507 GB, free: 38.68 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test23_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test23.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat does not exist to compare? outputFormat=mat