Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.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.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test2",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.0007884/0.0007886, allocations: 88.19 kB / 15.7 MB, free: 460 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.001004/0.001004, allocations: 171.8 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.49/1.49, allocations: 205.4 MB / 222.8 MB, free: 5.641 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.3562/0.3562, allocations: 43.55 MB / 314.6 MB, free: 8.773 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.0004739/0.000474, allocations: 16 kB / 384 MB, free: 7.91 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1358, allocations: 58.86 MB / 442.9 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.002631/0.1385, allocations: 1.302 MB / 444.2 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008459/0.1394, allocations: 323.9 kB / 444.5 MB, free: 11.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001014/0.1395, allocations: 4 kB / 444.5 MB, free: 11.31 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007698/0.1403, allocations: 447.1 kB / 444.9 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004362/0.1408, allocations: 235.5 kB / 445.2 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005972/0.1414, allocations: 139.8 kB / 445.3 MB, free: 10.51 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003372/0.1418, allocations: 131.7 kB / 445.4 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.1419, allocations: 20.44 kB / 445.5 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002059/0.1421, allocations: 99.8 kB / 445.6 MB, free: 10.26 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002998/0.1424, allocations: 167.7 kB / 445.7 MB, free: 10.1 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.78e-05/0.1425, allocations: 3.984 kB / 445.7 MB, free: 10.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001158/0.1426, allocations: 20 kB / 445.7 MB, free: 10.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001334/0.1427, allocations: 87.69 kB / 445.8 MB, free: 9.988 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.224e-05/0.1428, allocations: 61.52 kB / 445.9 MB, free: 9.922 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003031/0.1431, allocations: 191.7 kB / 446.1 MB, free: 9.734 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.1432, allocations: 8 kB / 446.1 MB, free: 9.727 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.245e-06/0.1432, allocations: 0 / 446.1 MB, free: 9.727 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.057e-06/0.1432, allocations: 0 / 446.1 MB, free: 9.727 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.0009432/0.1441, allocations: 0.5987 MB / 446.7 MB, free: 9.078 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.437e-05/0.1442, allocations: 8.031 kB / 446.7 MB, free: 9.07 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.999e-05/0.1443, allocations: 38.55 kB / 446.7 MB, free: 9.023 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001023/0.1444, allocations: 47.39 kB / 446.8 MB, free: 8.977 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003879/0.1448, allocations: 271.4 kB / 447 MB, free: 8.672 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.1448, allocations: 4 kB / 447 MB, free: 8.668 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.642e-05/0.1448, allocations: 7.984 kB / 447 MB, free: 8.66 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001901/0.145, allocations: 57.66 kB / 447.1 MB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.145, allocations: 4 kB / 447.1 MB, free: 8.594 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.1451, allocations: 4 kB / 447.1 MB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.1451, allocations: 0 / 447.1 MB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001375/0.1452, allocations: 35.88 kB / 447.1 MB, free: 8.555 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006722/0.1459, allocations: 400.6 kB / 447.5 MB, free: 8.113 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002481/0.1462, allocations: 50.55 kB / 447.6 MB, free: 8.055 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.61e-05/0.1463, allocations: 16.8 kB / 447.6 MB, free: 8.035 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.1463, allocations: 4 kB / 447.6 MB, free: 8.031 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.1463, allocations: 42.59 kB / 447.7 MB, free: 7.98 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.643e-06/0.1463, allocations: 0 / 447.7 MB, free: 7.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0008044/0.1472, allocations: 252 kB / 447.9 MB, free: 7.727 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.1472, allocations: 51.41 kB / 447.9 MB, free: 7.664 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001191/0.1484, allocations: 0.8652 MB / 448.8 MB, free: 6.789 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.1484, allocations: 29.7 kB / 448.8 MB, free: 6.754 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002228/0.1487, allocations: 220.1 kB / 449.1 MB, free: 6.535 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.824e-05/0.1487, allocations: 19.66 kB / 449.1 MB, free: 6.516 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.749e-06/0.1487, allocations: 4 kB / 449.1 MB, free: 6.512 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.1489, allocations: 366.8 kB / 449.4 MB, free: 6.145 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.72e-05/0.149, allocations: 19.98 kB / 449.5 MB, free: 6.125 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.825e-05/0.1491, allocations: 27.98 kB / 449.5 MB, free: 6.098 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.863e-05/0.1492, allocations: 31.92 kB / 449.5 MB, free: 6.066 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.1492, allocations: 0 / 449.5 MB, free: 6.066 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003214/0.1496, allocations: 133.1 kB / 449.6 MB, free: 5.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.1496, allocations: 7.938 kB / 449.7 MB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.1496, allocations: 0 / 449.7 MB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.1496, allocations: 0 / 449.7 MB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.54e-05/0.1497, allocations: 19.98 kB / 449.7 MB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.1497, allocations: 0 / 449.7 MB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.962e-05/0.1498, allocations: 8 kB / 449.7 MB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.555e-06/0.1499, allocations: 0 / 449.7 MB, free: 5.895 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.000256/0.1501, allocations: 217.8 kB / 449.9 MB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.554e-05/0.1502, allocations: 47.39 kB / 449.9 MB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003877/0.1506, allocations: 153 kB / 450.1 MB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.1506, allocations: 0 / 450.1 MB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.1506, allocations: 0 / 450.1 MB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.1507, allocations: 4 kB / 450.1 MB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007386/0.1514, allocations: 482.5 kB / 450.6 MB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.1514, allocations: 0 / 450.6 MB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.315e-05/0.1515, allocations: 16.36 kB / 450.6 MB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.591e-06/0.1515, allocations: 0 / 450.6 MB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.1515, allocations: 4 kB / 450.6 MB, free: 4.918 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.1515, allocations: 0 / 450.6 MB, free: 4.918 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.1516, allocations: 3.938 kB / 450.6 MB, free: 4.914 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003459/0.1519, allocations: 231 kB / 450.8 MB, free: 4.672 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.152, allocations: 112.5 kB / 450.9 MB, free: 4.543 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.173e-05/0.1521, allocations: 7.984 kB / 450.9 MB, free: 4.535 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/0.1522, allocations: 8 kB / 450.9 MB, free: 4.527 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.189e-05/0.1523, allocations: 4.281 kB / 450.9 MB, free: 4.523 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.337e-06/0.1523, allocations: 4 kB / 450.9 MB, free: 4.52 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000888/0.1532, allocations: 0.655 MB / 451.6 MB, free: 3.867 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1532, allocations: 0 / 451.6 MB, free: 3.867 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004541/0.1537, allocations: 24 kB / 451.6 MB, free: 3.844 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.001766/0.1555, allocations: 1.069 MB / 452.7 MB, free: 2.789 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002586/0.1557, allocations: 63.97 kB / 452.8 MB, free: 2.727 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.1557, allocations: 0 / 452.8 MB, free: 2.727 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001056/0.1559, allocations: 31.92 kB / 452.8 MB, free: 2.695 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005298/0.1564, allocations: 30.28 kB / 452.8 MB, free: 2.66 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004797/0.1612, allocations: 2.338 MB / 455.2 MB, free: 260 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2192/0.3804, allocations: 0.8255 MB / 456 MB, free: 45.94 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.108e-05/0.3806, allocations: 12.56 kB / 456 MB, free: 45.94 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001422/0.3807, allocations: 110.8 kB / 456.1 MB, free: 45.93 MB / 382.1 MB Notification: Performance of SimCode: time 8.51e-07/0.3807, allocations: 0 / 456.1 MB, free: 45.93 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01625/0.397, allocations: 5.438 MB / 461.5 MB, free: 45.57 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001646/0.3972, allocations: 218.5 kB / 461.8 MB, free: 45.32 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.792/2.189, allocations: 4 kB / 461.8 MB, free: 45.32 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test2_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test2.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat does not exist to compare? outputFormat=mat