Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008558/0.0008558, allocations: 96.05 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008835/0.0008835, allocations: 179 kB / 16.57 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.542/1.542, allocations: 205.4 MB / 222.7 MB, free: 5.902 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4237/0.4237, allocations: 43.55 MB / 314.5 MB, free: 8.629 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005535/0.0005536, allocations: 16 kB / 384 MB, free: 7.973 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1275, allocations: 58.85 MB / 442.8 MB, free: 13.01 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test5): time 0.001761/0.1293, allocations: 1.314 MB / 444.2 MB, free: 11.69 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004743/0.1298, allocations: 275.9 kB / 444.4 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.616e-05/0.1298, allocations: 3.938 kB / 444.4 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004601/0.1303, allocations: 431.3 kB / 444.9 MB, free: 10.99 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002596/0.1306, allocations: 239.5 kB / 445.1 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002502/0.1308, allocations: 99.81 kB / 445.2 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001681/0.131, allocations: 115.8 kB / 445.3 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.554e-05/0.1311, allocations: 8.172 kB / 445.3 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.263e-05/0.1312, allocations: 103.8 kB / 445.4 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001834/0.1314, allocations: 143.7 kB / 445.5 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.1314, allocations: 4 kB / 445.6 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.143e-05/0.1315, allocations: 19.94 kB / 445.6 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.327e-05/0.1316, allocations: 75.75 kB / 445.6 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.029e-05/0.1316, allocations: 73.45 kB / 445.7 MB, free: 10.12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001886/0.1318, allocations: 191.8 kB / 445.9 MB, free: 9.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.1318, allocations: 0 / 445.9 MB, free: 9.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1318, allocations: 3.938 kB / 445.9 MB, free: 9.926 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.1318, allocations: 4 kB / 445.9 MB, free: 9.922 MB / 382.1 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.0005913/0.1324, allocations: 0.5871 MB / 446.5 MB, free: 9.285 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.1325, allocations: 8.031 kB / 446.5 MB, free: 9.277 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.147e-05/0.1325, allocations: 30.56 kB / 446.5 MB, free: 9.238 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.603e-05/0.1326, allocations: 43.48 kB / 446.6 MB, free: 9.195 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002593/0.1328, allocations: 279.3 kB / 446.9 MB, free: 8.883 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.1328, allocations: 8 kB / 446.9 MB, free: 8.875 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.94e-05/0.1329, allocations: 0 / 446.9 MB, free: 8.875 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.133, allocations: 61.62 kB / 446.9 MB, free: 8.809 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.133, allocations: 3.938 kB / 446.9 MB, free: 8.805 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.133, allocations: 3.984 kB / 446.9 MB, free: 8.801 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.133, allocations: 0 / 446.9 MB, free: 8.801 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.79e-05/0.1331, allocations: 27.94 kB / 447 MB, free: 8.773 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004321/0.1336, allocations: 392.6 kB / 447.3 MB, free: 8.34 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001937/0.1338, allocations: 50.5 kB / 447.4 MB, free: 8.281 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/0.1338, allocations: 0 / 447.4 MB, free: 8.281 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.799e-05/0.1338, allocations: 34.52 kB / 447.4 MB, free: 8.238 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.1338, allocations: 0 / 447.4 MB, free: 8.238 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005484/0.1344, allocations: 236.1 kB / 447.7 MB, free: 8 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/0.1344, allocations: 55.41 kB / 447.7 MB, free: 7.934 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007268/0.1352, allocations: 0.8691 MB / 448.6 MB, free: 7.055 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.172e-05/0.1352, allocations: 25.7 kB / 448.6 MB, free: 7.023 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001426/0.1353, allocations: 220.1 kB / 448.8 MB, free: 6.805 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.076e-05/0.1354, allocations: 15.75 kB / 448.8 MB, free: 6.789 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.487e-06/0.1354, allocations: 0 / 448.8 MB, free: 6.789 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.1355, allocations: 366.8 kB / 449.2 MB, free: 6.422 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.324e-05/0.1356, allocations: 15.98 kB / 449.2 MB, free: 6.406 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.211e-05/0.1356, allocations: 32.05 kB / 449.2 MB, free: 6.375 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.547e-05/0.1357, allocations: 27.98 kB / 449.3 MB, free: 6.348 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.1357, allocations: 3.938 kB / 449.3 MB, free: 6.344 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001853/0.1359, allocations: 121.1 kB / 449.4 MB, free: 6.219 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.1359, allocations: 7.953 kB / 449.4 MB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.1359, allocations: 0 / 449.4 MB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.987e-06/0.136, allocations: 0 / 449.4 MB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.812e-05/0.136, allocations: 15.98 kB / 449.4 MB, free: 6.195 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/0.136, allocations: 0 / 449.4 MB, free: 6.195 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.37e-05/0.1361, allocations: 8 kB / 449.4 MB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.1361, allocations: 0 / 449.4 MB, free: 6.188 MB / 382.1 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 (5): * Single equations (assignments): 5 * 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.000161/0.1363, allocations: 221.8 kB / 449.6 MB, free: 5.961 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.069e-05/0.1363, allocations: 43.44 kB / 449.7 MB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002401/0.1366, allocations: 145 kB / 449.8 MB, free: 5.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.1366, allocations: 3.938 kB / 449.8 MB, free: 5.766 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.1366, allocations: 4 kB / 449.8 MB, free: 5.762 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.1366, allocations: 3.984 kB / 449.8 MB, free: 5.758 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004609/0.1371, allocations: 470.4 kB / 450.3 MB, free: 5.242 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.1371, allocations: 3.953 kB / 450.3 MB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.628e-05/0.1371, allocations: 16 kB / 450.3 MB, free: 5.223 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.1372, allocations: 3.984 kB / 450.3 MB, free: 5.219 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.1372, allocations: 4 kB / 450.3 MB, free: 5.215 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1372, allocations: 320 / 450.3 MB, free: 5.215 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.1372, allocations: 3.984 kB / 450.3 MB, free: 5.211 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000213/0.1374, allocations: 219 kB / 450.5 MB, free: 4.98 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.763e-05/0.1375, allocations: 120.6 kB / 450.7 MB, free: 4.844 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.199e-05/0.1375, allocations: 0 / 450.7 MB, free: 4.844 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.147e-05/0.1376, allocations: 4 kB / 450.7 MB, free: 4.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.203e-05/0.1376, allocations: 7.984 kB / 450.7 MB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.1376, allocations: 0 / 450.7 MB, free: 4.832 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005408/0.1382, allocations: 0.6589 MB / 451.3 MB, free: 4.176 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1382, allocations: 3.938 kB / 451.3 MB, free: 4.172 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002369/0.1384, allocations: 27.91 kB / 451.4 MB, free: 4.145 MB / 382.1 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 (5): * Single equations (assignments): 5 * 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.001243/0.1397, allocations: 1.047 MB / 452.4 MB, free: 3.109 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001732/0.1399, allocations: 55.91 kB / 452.5 MB, free: 3.055 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.1399, allocations: 3.938 kB / 452.5 MB, free: 3.051 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.946e-05/0.14, allocations: 27.97 kB / 452.5 MB, free: 3.023 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002532/0.1402, allocations: 29.95 kB / 452.5 MB, free: 2.992 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002501/0.1427, allocations: 2.212 MB / 454.7 MB, free: 0.7148 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2242/0.367, allocations: 0.8294 MB / 455.6 MB, free: 46.12 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.911e-05/0.3671, allocations: 6.625 kB / 455.6 MB, free: 46.12 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001281/0.3672, allocations: 99.83 kB / 455.7 MB, free: 46.12 MB / 382.1 MB Notification: Performance of SimCode: time 1.402e-06/0.3672, allocations: 0 / 455.7 MB, free: 46.12 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08972/0.457, allocations: 5.35 MB / 461 MB, free: 45.77 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001312/0.4571, allocations: 212.8 kB / 461.2 MB, free: 45.53 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.021/2.478, allocations: 3.938 kB / 461.2 MB, free: 45.52 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test5_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test5.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5_res.mat does not exist to compare? outputFormat=mat