Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.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.CombiTable1D.Test15,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test15,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test15",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.00109/0.00109, allocations: 96.98 kB / 15.69 MB, free: 480 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.0009255/0.0009255, allocations: 176.1 kB / 16.57 MB, free: 6.848 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.596/1.596, allocations: 205.4 MB / 222.7 MB, free: 5.66 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.3316/0.3316, allocations: 43.55 MB / 314.5 MB, free: 8.758 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.0005825/0.0005826, allocations: 16 kB / 384 MB, free: 7.941 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1424, allocations: 58.85 MB / 442.8 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test15): time 0.002029/0.1445, allocations: 1.261 MB / 444.1 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006603/0.1452, allocations: 287.9 kB / 444.4 MB, free: 11.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.656e-05/0.1452, allocations: 0 / 444.4 MB, free: 11.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002549/0.1455, allocations: 75.77 kB / 444.5 MB, free: 11.36 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001535/0.1457, allocations: 47.88 kB / 444.5 MB, free: 11.31 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002684/0.146, allocations: 87.77 kB / 444.6 MB, free: 11.22 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001352/0.1461, allocations: 43.92 kB / 444.6 MB, free: 11.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.1462, allocations: 16.27 kB / 444.7 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.693e-05/0.1463, allocations: 27.84 kB / 444.7 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/0.1464, allocations: 39.89 kB / 444.7 MB, free: 11.1 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.324e-05/0.1464, allocations: 0 / 444.7 MB, free: 11.1 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.477e-05/0.1465, allocations: 12 kB / 444.7 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.201e-05/0.1465, allocations: 23.92 kB / 444.8 MB, free: 11.06 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.448e-05/0.1466, allocations: 37.64 kB / 444.8 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001392/0.1467, allocations: 71.77 kB / 444.9 MB, free: 10.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.1467, allocations: 0 / 444.9 MB, free: 10.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.524e-06/0.1467, allocations: 0 / 444.9 MB, free: 10.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.191e-06/0.1468, allocations: 0 / 444.9 MB, free: 10.95 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004829/0.1472, allocations: 383 kB / 445.2 MB, free: 10.53 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.1473, allocations: 8.031 kB / 445.2 MB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.467e-05/0.1473, allocations: 38.55 kB / 445.3 MB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.698e-05/0.1474, allocations: 19.8 kB / 445.3 MB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002125/0.1476, allocations: 186.9 kB / 445.5 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.1476, allocations: 7.938 kB / 445.5 MB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.1476, allocations: 4 kB / 445.5 MB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001632/0.1478, allocations: 49.67 kB / 445.5 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.1478, allocations: 0 / 445.5 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.1479, allocations: 4 kB / 445.5 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.1479, allocations: 3.953 kB / 445.5 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.634e-05/0.148, allocations: 35.97 kB / 445.6 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000444/0.1484, allocations: 281 kB / 445.9 MB, free: 9.797 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000192/0.1486, allocations: 50.5 kB / 445.9 MB, free: 9.738 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.769e-05/0.1487, allocations: 4 kB / 445.9 MB, free: 9.734 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.1487, allocations: 30.56 kB / 445.9 MB, free: 9.695 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 2.815e-06/0.1487, allocations: 0 / 445.9 MB, free: 9.695 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005728/0.1493, allocations: 185.1 kB / 446.1 MB, free: 9.508 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/0.1493, allocations: 55.41 kB / 446.2 MB, free: 9.441 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001875/0.1495, allocations: 198.2 kB / 446.4 MB, free: 9.238 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/0.1495, allocations: 25.7 kB / 446.4 MB, free: 9.207 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.116e-05/0.1496, allocations: 108.1 kB / 446.5 MB, free: 9.098 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.163e-05/0.1496, allocations: 15.7 kB / 446.5 MB, free: 9.082 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-06/0.1497, allocations: 4 kB / 446.5 MB, free: 9.078 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.1498, allocations: 318.8 kB / 446.8 MB, free: 8.758 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.77e-05/0.1499, allocations: 27.97 kB / 446.9 MB, free: 8.73 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.233e-05/0.1499, allocations: 23.98 kB / 446.9 MB, free: 8.707 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.462e-05/0.15, allocations: 31.98 kB / 446.9 MB, free: 8.676 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.15, allocations: 0 / 446.9 MB, free: 8.676 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001868/0.1502, allocations: 93.52 kB / 447 MB, free: 8.578 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.1502, allocations: 11.95 kB / 447 MB, free: 8.566 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.1503, allocations: 3.984 kB / 447 MB, free: 8.562 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.1503, allocations: 0 / 447 MB, free: 8.562 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.099e-05/0.1503, allocations: 16 kB / 447 MB, free: 8.547 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.1504, allocations: 0 / 447 MB, free: 8.547 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.305e-05/0.1504, allocations: 11.92 kB / 447 MB, free: 8.535 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.1504, allocations: 4 kB / 447.1 MB, free: 8.531 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.0001092/0.1505, allocations: 125.8 kB / 447.2 MB, free: 8.398 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.905e-05/0.1506, allocations: 7.906 kB / 447.2 MB, free: 8.391 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002492/0.1508, allocations: 114.1 kB / 447.3 MB, free: 8.273 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.1508, allocations: 0 / 447.3 MB, free: 8.273 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.1509, allocations: 4.062 kB / 447.3 MB, free: 8.27 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.644e-06/0.1509, allocations: 4 kB / 447.3 MB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000442/0.1513, allocations: 370.5 kB / 447.7 MB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.1513, allocations: 7.922 kB / 447.7 MB, free: 7.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.218e-05/0.1514, allocations: 15.89 kB / 447.7 MB, free: 7.824 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.1514, allocations: 4 kB / 447.7 MB, free: 7.82 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.1514, allocations: 0 / 447.7 MB, free: 7.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1514, allocations: 0 / 447.7 MB, free: 7.82 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1514, allocations: 0 / 447.7 MB, free: 7.82 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002342/0.1517, allocations: 195.4 kB / 447.9 MB, free: 7.613 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.372e-05/0.1517, allocations: 85 kB / 448 MB, free: 7.512 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.1518, allocations: 11.89 kB / 448 MB, free: 7.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.664e-05/0.1518, allocations: 4 kB / 448 MB, free: 7.496 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/0.1519, allocations: 11.98 kB / 448 MB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.1519, allocations: 4 kB / 448 MB, free: 7.48 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001287/0.152, allocations: 160 kB / 448.2 MB, free: 7.324 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.673e-06/0.152, allocations: 0 / 448.2 MB, free: 7.324 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002371/0.1523, allocations: 19.94 kB / 448.2 MB, free: 7.305 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.001455/0.1537, allocations: 1.016 MB / 449.2 MB, free: 6.305 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002058/0.154, allocations: 59.97 kB / 449.2 MB, free: 6.246 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.154, allocations: 3.938 kB / 449.2 MB, free: 6.242 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.002e-05/0.1541, allocations: 27.98 kB / 449.3 MB, free: 6.215 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002393/0.1543, allocations: 15.94 kB / 449.3 MB, free: 6.199 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.1554, allocations: 0.703 MB / 450 MB, free: 5.445 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003141/0.1557, allocations: 0.7082 MB / 450.7 MB, free: 4.711 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.235e-05/0.1558, allocations: 11.98 kB / 450.7 MB, free: 4.699 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.105e-05/0.1559, allocations: 27.42 kB / 450.7 MB, free: 4.672 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1559, allocations: 0 / 450.7 MB, free: 4.672 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01276/0.1686, allocations: 2.298 MB / 453 MB, free: 2.379 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003169/0.169, allocations: 214.1 kB / 453.2 MB, free: 2.137 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.942/2.111, allocations: 3.938 kB / 453.3 MB, free: 2.133 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test15_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test15.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15_res.mat does not exist to compare? outputFormat=mat