Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.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.Test22,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test22,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test22",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.0009582/0.0009583, 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.001107/0.001107, allocations: 172.9 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.564/1.564, allocations: 205.4 MB / 222.7 MB, free: 5.668 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.3948/0.3948, allocations: 43.54 MB / 314.6 MB, free: 8.766 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.0005485/0.0005486, allocations: 18.97 kB / 384 MB, free: 7.926 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1197, allocations: 58.86 MB / 442.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test22): time 0.002399/0.1222, allocations: 1.606 MB / 444.5 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001442/0.1236, allocations: 0.9176 MB / 445.4 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001064/0.1238, allocations: 0 / 445.4 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001964/0.124, allocations: 31.84 kB / 445.4 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002914/0.1243, allocations: 127.5 kB / 445.6 MB, free: 10.26 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008934/0.1252, allocations: 363.4 kB / 445.9 MB, free: 9.906 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003262/0.1255, allocations: 211.3 kB / 446.1 MB, free: 9.699 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001547/0.1257, allocations: 56.69 kB / 446.2 MB, free: 9.645 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002041/0.1259, allocations: 99.53 kB / 446.3 MB, free: 9.547 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002259/0.1261, allocations: 163.3 kB / 446.4 MB, free: 9.387 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.335e-05/0.1262, allocations: 4 kB / 446.4 MB, free: 9.383 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.79e-05/0.1263, allocations: 28 kB / 446.5 MB, free: 9.355 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001418/0.1264, allocations: 123.6 kB / 446.6 MB, free: 9.234 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.252e-05/0.1265, allocations: 81.39 kB / 446.7 MB, free: 9.148 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002597/0.1268, allocations: 263.5 kB / 446.9 MB, free: 8.891 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.1268, allocations: 4 kB / 446.9 MB, free: 8.887 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.91e-07/0.1268, allocations: 0 / 446.9 MB, free: 8.887 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.336e-06/0.1268, allocations: 0 / 446.9 MB, free: 8.887 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0008446/0.1277, allocations: 0.7114 MB / 447.6 MB, free: 8.125 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.1277, allocations: 8.031 kB / 447.6 MB, free: 8.117 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.07e-05/0.1277, allocations: 42.55 kB / 447.7 MB, free: 8.066 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.251e-05/0.1278, allocations: 51.34 kB / 447.7 MB, free: 8.016 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004862/0.1283, allocations: 423.2 kB / 448.1 MB, free: 7.562 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.1283, allocations: 7.938 kB / 448.2 MB, free: 7.555 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.621e-05/0.1284, allocations: 12 kB / 448.2 MB, free: 7.543 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002435/0.1286, allocations: 135.3 kB / 448.3 MB, free: 7.398 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.1286, allocations: 3.906 kB / 448.3 MB, free: 7.395 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.1287, allocations: 7.953 kB / 448.3 MB, free: 7.387 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.1287, allocations: 4 kB / 448.3 MB, free: 7.383 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001924/0.1289, allocations: 83.94 kB / 448.4 MB, free: 7.301 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000826/0.1297, allocations: 0.6837 MB / 449.1 MB, free: 6.562 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001941/0.1299, allocations: 113.2 kB / 449.2 MB, free: 6.434 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.178e-05/0.13, allocations: 53.77 kB / 449.2 MB, free: 6.375 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.404e-05/0.13, allocations: 0 / 449.2 MB, free: 6.375 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.1301, allocations: 38.56 kB / 449.3 MB, free: 6.328 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 9.32e-07/0.1301, allocations: 0 / 449.3 MB, free: 6.328 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001267/0.1313, allocations: 0.541 MB / 449.8 MB, free: 5.777 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.235e-05/0.1314, allocations: 77.11 kB / 449.9 MB, free: 5.684 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009017/0.1323, allocations: 0.874 MB / 450.8 MB, free: 4.797 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.1323, allocations: 25.7 kB / 450.8 MB, free: 4.766 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000166/0.1325, allocations: 252.2 kB / 451 MB, free: 4.512 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.566e-05/0.1326, allocations: 51.27 kB / 451.1 MB, free: 4.461 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.985e-06/0.1326, allocations: 0 / 451.1 MB, free: 4.461 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.1327, allocations: 370.8 kB / 451.5 MB, free: 4.09 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001591/0.1329, allocations: 67.91 kB / 451.5 MB, free: 4.023 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001491/0.133, allocations: 77.67 kB / 451.6 MB, free: 3.941 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001518/0.1332, allocations: 71.95 kB / 451.7 MB, free: 3.871 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1332, allocations: 3.938 kB / 451.7 MB, free: 3.867 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004109/0.1336, allocations: 233 kB / 451.9 MB, free: 3.633 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.1336, allocations: 4 kB / 451.9 MB, free: 3.629 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1337, allocations: 0.75 kB / 451.9 MB, free: 3.629 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.1337, allocations: 7.938 kB / 451.9 MB, free: 3.621 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001993/0.1339, allocations: 51.86 kB / 452 MB, free: 3.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.1339, allocations: 0 / 452 MB, free: 3.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001363/0.134, allocations: 19.98 kB / 452 MB, free: 3.551 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.681e-05/0.1341, allocations: 7.984 kB / 452 MB, free: 3.543 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.0001774/0.1343, allocations: 206 kB / 452.2 MB, free: 3.332 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.794e-05/0.1343, allocations: 59.25 kB / 452.2 MB, free: 3.273 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005297/0.1349, allocations: 290.3 kB / 452.5 MB, free: 2.98 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.1349, allocations: 4 kB / 452.5 MB, free: 2.977 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.1349, allocations: 3.953 kB / 452.5 MB, free: 2.973 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1349, allocations: 0 / 452.5 MB, free: 2.973 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009892/0.1359, allocations: 0.7903 MB / 453.3 MB, free: 2.125 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.1359, allocations: 0 / 453.3 MB, free: 2.125 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001504/0.1361, allocations: 39.97 kB / 453.4 MB, free: 2.086 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.263e-06/0.1361, allocations: 7.953 kB / 453.4 MB, free: 2.078 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.752e-05/0.1361, allocations: 8 kB / 453.4 MB, free: 2.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.1361, allocations: 0 / 453.4 MB, free: 2.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1361, allocations: 0 / 453.4 MB, free: 2.07 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004937/0.1366, allocations: 410 kB / 453.8 MB, free: 1.652 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000135/0.1368, allocations: 156.4 kB / 453.9 MB, free: 1.48 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.607e-05/0.1368, allocations: 7.953 kB / 453.9 MB, free: 1.473 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001786/0.137, allocations: 15.98 kB / 454 MB, free: 1.457 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.746e-05/0.1371, allocations: 15.98 kB / 454 MB, free: 1.441 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.1371, allocations: 8 kB / 454 MB, free: 1.434 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006449/0.1377, allocations: 0.6354 MB / 454.6 MB, free: 0.8008 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1377, allocations: 0 / 454.6 MB, free: 0.8008 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000369/0.1381, allocations: 51.91 kB / 454.7 MB, free: 0.75 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.195/0.3331, allocations: 1.253 MB / 455.9 MB, free: 46.14 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000513/0.3337, allocations: 153.6 kB / 456.1 MB, free: 46.14 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.3337, allocations: 0 / 456.1 MB, free: 46.14 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001963/0.3339, allocations: 84.48 kB / 456.2 MB, free: 46.14 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007437/0.3347, allocations: 71.02 kB / 456.2 MB, free: 46.14 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00406/0.3388, allocations: 3.099 MB / 459.3 MB, free: 45.32 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002442/0.339, allocations: 0.8568 MB / 460.2 MB, free: 44.62 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001756/0.3392, allocations: 77.84 kB / 460.3 MB, free: 44.62 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001832/0.3394, allocations: 166.2 kB / 460.4 MB, free: 44.61 MB / 382.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3394, allocations: 0 / 460.4 MB, free: 44.61 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01928/0.3587, allocations: 8.566 MB / 469 MB, free: 43.82 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001652/0.3589, allocations: 223 kB / 469.2 MB, free: 43.57 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.865/2.224, allocations: 0 / 469.2 MB, free: 43.57 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test22_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test22.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22_res.mat does not exist to compare? outputFormat=mat