Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.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.CombiTable2Ds.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test5",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.0008744/0.0008744, allocations: 98.11 kB / 17 MB, free: 6.414 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.0008021/0.0008021, allocations: 189.2 kB / 17.89 MB, free: 5.945 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.372/1.372, allocations: 223.3 MB / 241.9 MB, free: 14.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2135/0.2135, allocations: 44.22 MB / 337.2 MB, free: 2.559 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003489/0.0003492, allocations: 12 kB / 409.7 MB, free: 27.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1245, allocations: 61.92 MB / 471.6 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.001872/0.1264, allocations: 1.31 MB / 473 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006272/0.127, allocations: 387.6 kB / 473.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.759e-05/0.1271, allocations: 0 / 473.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005076/0.1276, allocations: 447.2 kB / 473.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003051/0.1279, allocations: 231.6 kB / 474 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002965/0.1282, allocations: 106.9 kB / 474.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001751/0.1284, allocations: 131.7 kB / 474.2 MB, free: 11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.297e-05/0.1285, allocations: 16.17 kB / 474.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.1286, allocations: 103.7 kB / 474.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001848/0.1288, allocations: 167.7 kB / 474.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.517e-05/0.1288, allocations: 0 / 474.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.498e-05/0.1289, allocations: 20 kB / 474.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.493e-05/0.129, allocations: 83.75 kB / 474.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.793e-05/0.129, allocations: 65.45 kB / 474.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001923/0.1292, allocations: 195.9 kB / 474.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.1292, allocations: 4 kB / 474.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.1292, allocations: 0 / 474.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.1293, allocations: 0 / 474.9 MB, free: 10.35 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.0006178/0.1299, allocations: 0.5872 MB / 475.5 MB, free: 9.711 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.1299, allocations: 8.031 kB / 475.5 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.596e-05/0.13, allocations: 38.56 kB / 475.5 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.002e-05/0.13, allocations: 39.44 kB / 475.5 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002606/0.1303, allocations: 283.3 kB / 475.8 MB, free: 9.301 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.205e-06/0.1303, allocations: 7.984 kB / 475.8 MB, free: 9.293 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.336e-05/0.1303, allocations: 7.953 kB / 475.8 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001293/0.1305, allocations: 49.69 kB / 475.9 MB, free: 9.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.1305, allocations: 0 / 475.9 MB, free: 9.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.1305, allocations: 0 / 475.9 MB, free: 9.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.1305, allocations: 4 kB / 475.9 MB, free: 9.227 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.933e-05/0.1306, allocations: 23.98 kB / 475.9 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004098/0.131, allocations: 396.6 kB / 476.3 MB, free: 8.766 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001738/0.1312, allocations: 42.56 kB / 476.3 MB, free: 8.715 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.585e-05/0.1313, allocations: 12.86 kB / 476.4 MB, free: 8.699 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.1313, allocations: 12.02 kB / 476.4 MB, free: 8.688 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.857e-05/0.1313, allocations: 38.56 kB / 476.4 MB, free: 8.641 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.1313, allocations: 0 / 476.4 MB, free: 8.641 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005811/0.1319, allocations: 239.9 kB / 476.6 MB, free: 8.398 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/0.132, allocations: 51.41 kB / 476.7 MB, free: 8.336 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000825/0.1328, allocations: 0.8652 MB / 477.6 MB, free: 7.461 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.1328, allocations: 25.7 kB / 477.6 MB, free: 7.43 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001693/0.133, allocations: 228 kB / 477.8 MB, free: 7.203 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.559e-05/0.133, allocations: 27.72 kB / 477.8 MB, free: 7.176 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-06/0.133, allocations: 0 / 477.8 MB, free: 7.176 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.1332, allocations: 366.8 kB / 478.2 MB, free: 6.809 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.724e-05/0.1333, allocations: 19.98 kB / 478.2 MB, free: 6.789 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.486e-05/0.1333, allocations: 19.98 kB / 478.2 MB, free: 6.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.517e-05/0.1334, allocations: 27.98 kB / 478.3 MB, free: 6.742 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.1334, allocations: 4 kB / 478.3 MB, free: 6.738 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001962/0.1336, allocations: 117.2 kB / 478.4 MB, free: 6.617 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.1336, allocations: 4 kB / 478.4 MB, free: 6.613 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1337, allocations: 0 / 478.4 MB, free: 6.613 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.668e-06/0.1337, allocations: 0 / 478.4 MB, free: 6.613 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.048e-05/0.1337, allocations: 16.23 kB / 478.4 MB, free: 6.598 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.1338, allocations: 4 kB / 478.4 MB, free: 6.594 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.886e-05/0.1338, allocations: 19.92 kB / 478.4 MB, free: 6.574 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.531e-06/0.1338, allocations: 0 / 478.4 MB, free: 6.574 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 (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.0001824/0.134, allocations: 214.3 kB / 478.6 MB, free: 6.355 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.426e-05/0.1341, allocations: 39.44 kB / 478.7 MB, free: 6.316 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002671/0.1343, allocations: 149 kB / 478.8 MB, free: 6.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.1344, allocations: 0 / 478.8 MB, free: 6.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.1344, allocations: 0 / 478.8 MB, free: 6.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.1344, allocations: 0 / 478.8 MB, free: 6.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004724/0.1349, allocations: 470.4 kB / 479.3 MB, free: 5.645 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1349, allocations: 0 / 479.3 MB, free: 5.645 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.436e-05/0.1349, allocations: 15.98 kB / 479.3 MB, free: 5.629 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1349, allocations: 0 / 479.3 MB, free: 5.629 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.1349, allocations: 0 / 479.3 MB, free: 5.629 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.1349, allocations: 0 / 479.3 MB, free: 5.629 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.135, allocations: 0 / 479.3 MB, free: 5.629 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000224/0.1352, allocations: 230.8 kB / 479.5 MB, free: 5.387 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.526e-05/0.1353, allocations: 116.5 kB / 479.6 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.509e-05/0.1353, allocations: 0 / 479.6 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001527/0.1355, allocations: 7.984 kB / 479.6 MB, free: 5.246 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.41e-05/0.1356, allocations: 4.281 kB / 479.6 MB, free: 5.242 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.201e-06/0.1356, allocations: 4 kB / 479.6 MB, free: 5.238 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009278/0.1365, allocations: 0.6588 MB / 480.3 MB, free: 4.582 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.1365, allocations: 3.938 kB / 480.3 MB, free: 4.578 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004383/0.137, allocations: 23.98 kB / 480.3 MB, free: 4.555 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 (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.001926/0.1389, allocations: 1.054 MB / 481.4 MB, free: 3.633 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002717/0.1392, allocations: 51.91 kB / 481.4 MB, free: 3.582 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1392, allocations: 4 kB / 481.4 MB, free: 3.578 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.196e-05/0.1393, allocations: 27.98 kB / 481.5 MB, free: 3.551 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003635/0.1397, allocations: 25.95 kB / 481.5 MB, free: 3.527 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003559/0.1433, allocations: 2.32 MB / 483.8 MB, free: 1.137 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004466/0.1437, allocations: 0.8224 MB / 484.6 MB, free: 296 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.888e-05/0.1438, allocations: 16.22 kB / 484.6 MB, free: 280 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000177/0.144, allocations: 99.41 kB / 484.7 MB, free: 180 kB / 350.1 MB Notification: Performance of SimCode: time 6.71e-07/0.144, allocations: 0 / 484.7 MB, free: 180 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02601/0.17, allocations: 5.383 MB / 490.1 MB, free: 10.92 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.001021/0.1711, allocations: 227.5 kB / 490.3 MB, free: 10.67 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.93/2.101, allocations: 3.25 kB / 490.3 MB, free: 10.67 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test5_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test5.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat does not exist to compare? outputFormat=mat