Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.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.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test4",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.0006792/0.0006792, allocations: 97.09 kB / 15.7 MB, free: 468 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.000916/0.000916, allocations: 173.2 kB / 16.58 MB, free: 5.648 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.446/1.446, allocations: 205.4 MB / 222.7 MB, free: 5.625 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.3785/0.3785, allocations: 43.55 MB / 314.6 MB, free: 9.023 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.0008161/0.0008163, allocations: 16 kB / 384 MB, free: 8.156 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1419, allocations: 58.86 MB / 442.9 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test4): time 0.002313/0.1442, allocations: 1.314 MB / 444.2 MB, free: 11.87 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006607/0.1449, allocations: 291.9 kB / 444.5 MB, free: 11.58 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.362e-05/0.145, allocations: 4 kB / 444.5 MB, free: 11.58 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005815/0.1456, allocations: 443.2 kB / 444.9 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003545/0.146, allocations: 235.6 kB / 445.1 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003632/0.1464, allocations: 107.7 kB / 445.2 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002415/0.1466, allocations: 119.7 kB / 445.4 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.1467, allocations: 20.17 kB / 445.4 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001493/0.1469, allocations: 99.78 kB / 445.5 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002469/0.1471, allocations: 163.7 kB / 445.6 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.134e-05/0.1472, allocations: 4 kB / 445.6 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.1473, allocations: 31.88 kB / 445.7 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001079/0.1474, allocations: 79.75 kB / 445.8 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.708e-05/0.1475, allocations: 69.52 kB / 445.8 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002292/0.1477, allocations: 183.9 kB / 446 MB, free: 10.05 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.167e-05/0.1477, allocations: 4 kB / 446 MB, free: 10.04 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.1477, allocations: 0 / 446 MB, free: 10.04 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.008e-05/0.1477, allocations: 0 / 446 MB, free: 10.04 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.0007786/0.1485, allocations: 0.5909 MB / 446.6 MB, free: 9.402 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.1486, allocations: 12.03 kB / 446.6 MB, free: 9.391 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.377e-05/0.1486, allocations: 38.5 kB / 446.6 MB, free: 9.344 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.298e-05/0.1487, allocations: 43.48 kB / 446.7 MB, free: 9.301 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003122/0.149, allocations: 275.3 kB / 447 MB, free: 8.992 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.149, allocations: 0 / 447 MB, free: 8.992 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.339e-05/0.1491, allocations: 8 kB / 447 MB, free: 8.984 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.1492, allocations: 53.67 kB / 447 MB, free: 8.926 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.1493, allocations: 3.938 kB / 447 MB, free: 8.922 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.1493, allocations: 0 / 447 MB, free: 8.922 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.1493, allocations: 0 / 447 MB, free: 8.922 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.88e-05/0.1494, allocations: 35.94 kB / 447.1 MB, free: 8.887 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004927/0.1499, allocations: 388.6 kB / 447.4 MB, free: 8.457 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002292/0.1501, allocations: 50.48 kB / 447.5 MB, free: 8.398 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.054e-05/0.1502, allocations: 20.86 kB / 447.5 MB, free: 8.375 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.588e-05/0.1502, allocations: 4.078 kB / 447.5 MB, free: 8.371 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.1503, allocations: 38.52 kB / 447.5 MB, free: 8.324 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.1503, allocations: 3.938 kB / 447.5 MB, free: 8.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006306/0.1509, allocations: 240 kB / 447.8 MB, free: 8.078 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.711e-05/0.1509, allocations: 55.41 kB / 447.8 MB, free: 8.012 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008413/0.1518, allocations: 0.8574 MB / 448.7 MB, free: 7.145 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.1518, allocations: 25.7 kB / 448.7 MB, free: 7.113 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001589/0.152, allocations: 228.1 kB / 448.9 MB, free: 6.887 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.551e-05/0.152, allocations: 15.73 kB / 449 MB, free: 6.871 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-06/0.152, allocations: 0 / 449 MB, free: 6.871 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.1522, allocations: 362.8 kB / 449.3 MB, free: 6.508 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.36e-05/0.1523, allocations: 19.98 kB / 449.3 MB, free: 6.488 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.66e-05/0.1523, allocations: 23.98 kB / 449.4 MB, free: 6.465 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.334e-05/0.1524, allocations: 27.98 kB / 449.4 MB, free: 6.438 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.1524, allocations: 0 / 449.4 MB, free: 6.438 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000205/0.1526, allocations: 125 kB / 449.5 MB, free: 6.309 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.1526, allocations: 4 kB / 449.5 MB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.1527, allocations: 0 / 449.5 MB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.1527, allocations: 8 kB / 449.5 MB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.265e-05/0.1527, allocations: 11.98 kB / 449.5 MB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.1528, allocations: 4 kB / 449.5 MB, free: 6.281 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.423e-05/0.1528, allocations: 11.98 kB / 449.5 MB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.1529, allocations: 0 / 449.5 MB, free: 6.27 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.0001779/0.153, allocations: 209.8 kB / 449.7 MB, free: 6.055 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.413e-05/0.1531, allocations: 47.39 kB / 449.8 MB, free: 6.008 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000272/0.1534, allocations: 149 kB / 449.9 MB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.1534, allocations: 0 / 449.9 MB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1534, allocations: 0 / 449.9 MB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.1534, allocations: 4 kB / 449.9 MB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005847/0.154, allocations: 470.4 kB / 450.4 MB, free: 5.332 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.154, allocations: 384 / 450.4 MB, free: 5.332 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.855e-05/0.1541, allocations: 19.92 kB / 450.4 MB, free: 5.312 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.1541, allocations: 0 / 450.4 MB, free: 5.312 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.699e-06/0.1541, allocations: 8 kB / 450.4 MB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1541, allocations: 0 / 450.4 MB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1541, allocations: 4 kB / 450.4 MB, free: 5.301 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002681/0.1544, allocations: 223 kB / 450.7 MB, free: 5.066 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.033e-05/0.1545, allocations: 112.5 kB / 450.8 MB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.854e-05/0.1545, allocations: 0 / 450.8 MB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.687e-05/0.1546, allocations: 15.98 kB / 450.8 MB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.633e-05/0.1547, allocations: 4 kB / 450.8 MB, free: 4.918 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.1547, allocations: 4 kB / 450.8 MB, free: 4.914 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000725/0.1554, allocations: 0.6511 MB / 451.4 MB, free: 4.266 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1554, allocations: 0 / 451.4 MB, free: 4.266 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002859/0.1557, allocations: 31.89 kB / 451.5 MB, free: 4.234 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.001451/0.1572, allocations: 1.039 MB / 452.5 MB, free: 3.207 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002195/0.1574, allocations: 55.97 kB / 452.6 MB, free: 3.152 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1574, allocations: 0 / 452.6 MB, free: 3.152 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.576e-05/0.1575, allocations: 31.92 kB / 452.6 MB, free: 3.121 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000376/0.1579, allocations: 21.95 kB / 452.6 MB, free: 3.098 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00336/0.1613, allocations: 2.313 MB / 454.9 MB, free: 0.7227 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2344/0.3957, allocations: 0.819 MB / 455.7 MB, free: 45.83 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.893e-05/0.3958, allocations: 11.11 kB / 455.8 MB, free: 45.83 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001571/0.396, allocations: 103 kB / 455.9 MB, free: 45.82 MB / 382.1 MB Notification: Performance of SimCode: time 1.273e-06/0.396, allocations: 0 / 455.9 MB, free: 45.82 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01686/0.4129, allocations: 5.369 MB / 461.2 MB, free: 45.45 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000161/0.4131, allocations: 225.1 kB / 461.4 MB, free: 45.2 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.804/2.217, allocations: 0 / 461.4 MB, free: 45.2 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test4_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test4.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4_res.mat does not exist to compare? outputFormat=mat