Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.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.Test28,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test28,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test28",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.0007568/0.0007568, allocations: 96.7 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.00105/0.00105, allocations: 174.2 kB / 16.58 MB, free: 6.844 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.483/1.483, 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.4077/0.4077, allocations: 43.55 MB / 314.6 MB, free: 9.004 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.0005164/0.0005164, allocations: 14.97 kB / 384 MB, free: 8.152 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1334, allocations: 58.86 MB / 442.9 MB, free: 13.19 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test28): time 0.001778/0.1352, allocations: 1.321 MB / 444.2 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004556/0.1357, allocations: 291.9 kB / 444.5 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.693e-05/0.1357, allocations: 0 / 444.5 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001905/0.1359, allocations: 51.86 kB / 444.5 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001324/0.1361, allocations: 51.83 kB / 444.6 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002759/0.1364, allocations: 99.86 kB / 444.7 MB, free: 11.37 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001117/0.1365, allocations: 55.83 kB / 444.7 MB, free: 11.31 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.171e-05/0.1366, allocations: 12.17 kB / 444.7 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.194e-05/0.1366, allocations: 27.86 kB / 444.8 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.216e-05/0.1367, allocations: 43.77 kB / 444.8 MB, free: 11.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.1367, allocations: 0 / 444.8 MB, free: 11.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.685e-05/0.1368, allocations: 27.98 kB / 444.8 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.083e-05/0.1369, allocations: 23.92 kB / 444.9 MB, free: 11.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.162e-05/0.1369, allocations: 29.7 kB / 444.9 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001193/0.137, allocations: 80.03 kB / 445 MB, free: 11.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.137, allocations: 0 / 445 MB, free: 11.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.137, allocations: 4 kB / 445 MB, free: 11.06 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.1371, allocations: 0 / 445 MB, free: 11.06 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.0004455/0.1375, allocations: 394.9 kB / 445.4 MB, free: 10.63 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.1375, allocations: 8.031 kB / 445.4 MB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.852e-05/0.1376, allocations: 42.55 kB / 445.4 MB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.552e-05/0.1376, allocations: 11.86 kB / 445.4 MB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/0.1378, allocations: 183 kB / 445.6 MB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.1378, allocations: 4 kB / 445.6 MB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.455e-05/0.1378, allocations: 3.984 kB / 445.6 MB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.138, allocations: 65.61 kB / 445.7 MB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.138, allocations: 0 / 445.7 MB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.744e-06/0.138, allocations: 0 / 445.7 MB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.138, allocations: 4 kB / 445.7 MB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001188/0.1382, allocations: 51.84 kB / 445.7 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003305/0.1385, allocations: 292.8 kB / 446 MB, free: 9.871 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001173/0.1386, allocations: 50.5 kB / 446.1 MB, free: 9.812 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.483e-05/0.1387, allocations: 24.94 kB / 446.1 MB, free: 9.785 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/0.1387, allocations: 7.938 kB / 446.1 MB, free: 9.777 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.1388, allocations: 38.52 kB / 446.1 MB, free: 9.73 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.1388, allocations: 4 kB / 446.1 MB, free: 9.727 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007199/0.1395, allocations: 237.1 kB / 446.4 MB, free: 9.488 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.009e-05/0.1395, allocations: 51.41 kB / 446.4 MB, free: 9.426 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001765/0.1397, allocations: 194.1 kB / 446.6 MB, free: 9.223 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/0.1397, allocations: 29.7 kB / 446.6 MB, free: 9.188 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.623e-05/0.1398, allocations: 104.1 kB / 446.7 MB, free: 9.082 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.267e-05/0.1398, allocations: 23.7 kB / 446.8 MB, free: 9.059 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.037e-06/0.1398, allocations: 0 / 446.8 MB, free: 9.059 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.1399, allocations: 326.8 kB / 447.1 MB, free: 8.73 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001056/0.1401, allocations: 39.97 kB / 447.1 MB, free: 8.691 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001021/0.1402, allocations: 35.97 kB / 447.2 MB, free: 8.656 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001045/0.1403, allocations: 47.97 kB / 447.2 MB, free: 8.609 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.1403, allocations: 0 / 447.2 MB, free: 8.609 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002472/0.1405, allocations: 129.5 kB / 447.3 MB, free: 8.477 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.1406, allocations: 7.984 kB / 447.3 MB, free: 8.469 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.1406, allocations: 0 / 447.3 MB, free: 8.469 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.1406, allocations: 4 kB / 447.3 MB, free: 8.465 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.1407, allocations: 27.98 kB / 447.4 MB, free: 8.438 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.1407, allocations: 320 / 447.4 MB, free: 8.438 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.878e-05/0.1408, allocations: 19.98 kB / 447.4 MB, free: 8.418 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.1408, allocations: 0 / 447.4 MB, free: 8.418 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 (7): * Single equations (assignments): 7 * 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 7.83e-05/0.1409, allocations: 125.8 kB / 447.5 MB, free: 8.285 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.081e-05/0.1409, allocations: 15.77 kB / 447.5 MB, free: 8.27 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002974/0.1412, allocations: 150.2 kB / 447.7 MB, free: 8.121 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.1412, allocations: 3.984 kB / 447.7 MB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.1412, allocations: 0 / 447.7 MB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1412, allocations: 288 / 447.7 MB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005358/0.1418, allocations: 410.5 kB / 448.1 MB, free: 7.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.1418, allocations: 0 / 448.1 MB, free: 7.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.7e-05/0.1419, allocations: 27.92 kB / 448.1 MB, free: 7.633 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.287e-06/0.1419, allocations: 7.984 kB / 448.1 MB, free: 7.625 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.1419, allocations: 0 / 448.1 MB, free: 7.625 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.1419, allocations: 0 / 448.1 MB, free: 7.625 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1419, allocations: 3.938 kB / 448.1 MB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002784/0.1422, allocations: 231.4 kB / 448.3 MB, free: 7.379 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.769e-05/0.1423, allocations: 96.88 kB / 448.4 MB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/0.1423, allocations: 3.938 kB / 448.4 MB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.372e-05/0.1424, allocations: 11.98 kB / 448.5 MB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.221e-05/0.1424, allocations: 11.98 kB / 448.5 MB, free: 7.238 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-06/0.1424, allocations: 0 / 448.5 MB, free: 7.238 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001148/0.1426, allocations: 156 kB / 448.6 MB, free: 7.086 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1426, allocations: 3.938 kB / 448.6 MB, free: 7.082 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002397/0.1428, allocations: 12 kB / 448.6 MB, free: 7.07 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 (7): * Single equations (assignments): 7 * 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.001281/0.1441, allocations: 1.05 MB / 449.7 MB, free: 6.031 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002589/0.1444, allocations: 99.88 kB / 449.8 MB, free: 5.934 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1444, allocations: 0 / 449.8 MB, free: 5.934 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001169/0.1445, allocations: 55.91 kB / 449.8 MB, free: 5.879 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000312/0.1448, allocations: 15.98 kB / 449.9 MB, free: 5.863 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001234/0.1461, allocations: 0.7528 MB / 450.6 MB, free: 5.062 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003186/0.1464, allocations: 0.7004 MB / 451.3 MB, free: 4.336 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.48e-05/0.1465, allocations: 16.97 kB / 451.3 MB, free: 4.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.044e-05/0.1465, allocations: 31.42 kB / 451.4 MB, free: 4.289 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1465, allocations: 0 / 451.4 MB, free: 4.289 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01154/0.1581, allocations: 2.487 MB / 453.8 MB, free: 1.809 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001579/0.1583, allocations: 211.1 kB / 454 MB, free: 1.574 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.725/1.884, allocations: 0 / 454 MB, free: 1.574 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test28_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test28.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28_res.mat does not exist to compare? outputFormat=mat