Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test18_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",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.0009601/0.0009602, allocations: 96.44 kB / 17 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000919/0.0009191, allocations: 185.6 kB / 17.89 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 223.2 MB / 241.9 MB, free: 312 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2024/0.2024, allocations: 44.23 MB / 337.2 MB, free: 2.805 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002982/0.0002983, allocations: 8 kB / 409.7 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1141, allocations: 61.92 MB / 471.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.002026/0.1162, allocations: 1.356 MB / 473 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007551/0.117, allocations: 435.5 kB / 473.4 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.202e-05/0.117, allocations: 0 / 473.4 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001842/0.1172, allocations: 15.92 kB / 473.4 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001469/0.1174, allocations: 39.83 kB / 473.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003923/0.1178, allocations: 162.8 kB / 473.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000125/0.1179, allocations: 75.75 kB / 473.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.283e-05/0.118, allocations: 16.22 kB / 473.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.645e-05/0.1181, allocations: 31.84 kB / 473.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.203e-05/0.1181, allocations: 31.83 kB / 473.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.622e-05/0.1182, allocations: 8 kB / 473.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.678e-05/0.1183, allocations: 43.98 kB / 473.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.46e-05/0.1183, allocations: 19.86 kB / 473.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.729e-05/0.1184, allocations: 33.7 kB / 473.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001513/0.1185, allocations: 96.02 kB / 474 MB, free: 11.28 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1185, allocations: 0 / 474 MB, free: 11.28 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1185, allocations: 0 / 474 MB, free: 11.28 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.176e-06/0.1185, allocations: 0 / 474 MB, free: 11.28 MB / 350.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.0005349/0.1191, allocations: 423 kB / 474.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.1191, allocations: 8.031 kB / 474.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.273e-05/0.1192, allocations: 34.55 kB / 474.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.17e-05/0.1192, allocations: 11.91 kB / 474.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001896/0.1194, allocations: 195.4 kB / 474.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.923e-06/0.1194, allocations: 4 kB / 474.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.1194, allocations: 3.953 kB / 474.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002709/0.1197, allocations: 111.3 kB / 474.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.1197, allocations: 0 / 474.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.1197, allocations: 4 kB / 474.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.1197, allocations: 0 / 474.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003129/0.1201, allocations: 103.9 kB / 474.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005782/0.1207, allocations: 344.7 kB / 475.2 MB, free: 9.902 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002315/0.1209, allocations: 94.45 kB / 475.3 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001605/0.1211, allocations: 60.94 kB / 475.4 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/0.1211, allocations: 4 kB / 475.4 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.982e-05/0.1211, allocations: 30.56 kB / 475.4 MB, free: 9.695 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.1212, allocations: 0 / 475.4 MB, free: 9.695 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001513/0.1227, allocations: 0.497 MB / 475.9 MB, free: 9.191 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/0.1227, allocations: 81.05 kB / 476 MB, free: 9.094 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.1229, allocations: 152.7 kB / 476.1 MB, free: 8.934 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.1229, allocations: 29.7 kB / 476.1 MB, free: 8.898 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.244e-05/0.123, allocations: 100.2 kB / 476.2 MB, free: 8.797 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.808e-05/0.123, allocations: 27.56 kB / 476.3 MB, free: 8.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.618e-06/0.123, allocations: 4 kB / 476.3 MB, free: 8.766 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.1231, allocations: 330.8 kB / 476.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002809/0.1234, allocations: 103.9 kB / 476.7 MB, free: 8.332 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000286/0.1237, allocations: 117.7 kB / 476.8 MB, free: 8.211 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002873/0.124, allocations: 104 kB / 476.9 MB, free: 8.109 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.124, allocations: 0 / 476.9 MB, free: 8.109 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006134/0.1246, allocations: 253.3 kB / 477.2 MB, free: 7.855 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.1247, allocations: 10.34 kB / 477.2 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1247, allocations: 0 / 477.2 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.1247, allocations: 0 / 477.2 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002223/0.1249, allocations: 59.89 kB / 477.2 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.1249, allocations: 0 / 477.2 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001426/0.1251, allocations: 35.95 kB / 477.3 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.1251, allocations: 4 kB / 477.3 MB, free: 7.75 MB / 350.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 (10): * Single equations (assignments): 10 * 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 8.698e-05/0.1252, allocations: 126.3 kB / 477.4 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.283e-05/0.1252, allocations: 7.906 kB / 477.4 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006697/0.1259, allocations: 274.1 kB / 477.7 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.1259, allocations: 4 kB / 477.7 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1259, allocations: 0 / 477.7 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.1259, allocations: 3.984 kB / 477.7 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008979/0.1268, allocations: 0.5529 MB / 478.2 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1269, allocations: 480 / 478.2 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001728/0.127, allocations: 51.91 kB / 478.3 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.127, allocations: 3.984 kB / 478.3 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.1271, allocations: 0 / 478.3 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1271, allocations: 0 / 478.3 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1271, allocations: 3.938 kB / 478.3 MB, free: 6.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006155/0.1277, allocations: 355.2 kB / 478.6 MB, free: 6.297 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.243e-05/0.1278, allocations: 89 kB / 478.7 MB, free: 6.191 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.062e-05/0.1278, allocations: 4.375 kB / 478.7 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001745/0.128, allocations: 27.97 kB / 478.8 MB, free: 6.16 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.33e-05/0.128, allocations: 23.98 kB / 478.8 MB, free: 6.137 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-06/0.128, allocations: 3.938 kB / 478.8 MB, free: 6.133 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.55e-05/0.1281, allocations: 117.9 kB / 478.9 MB, free: 6.02 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1281, allocations: 0 / 478.9 MB, free: 6.02 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002708/0.1284, allocations: 39.94 kB / 478.9 MB, free: 5.98 MB / 350.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 (9): * Single equations (assignments): 9 * 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.001739/0.1302, allocations: 1.213 MB / 480.2 MB, free: 4.918 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000612/0.1308, allocations: 219.7 kB / 480.4 MB, free: 4.703 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.1308, allocations: 4 kB / 480.4 MB, free: 4.699 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002852/0.1311, allocations: 111.8 kB / 480.5 MB, free: 4.59 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003273/0.1314, allocations: 22.22 kB / 480.5 MB, free: 4.57 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001942/0.1334, allocations: 0.9435 MB / 481.4 MB, free: 3.578 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003971/0.1338, allocations: 0.7043 MB / 482.1 MB, free: 2.848 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001224/0.1339, allocations: 36.52 kB / 482.2 MB, free: 2.812 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.604e-05/0.134, allocations: 27.42 kB / 482.2 MB, free: 2.785 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.134, allocations: 4 kB / 482.2 MB, free: 2.781 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01398/0.148, allocations: 3.26 MB / 485.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002037/0.1482, allocations: 240.4 kB / 485.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.964/2.112, allocations: 3.938 kB / 485.7 MB, free: 15.41 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat does not exist to compare? outputFormat=mat