Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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 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.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_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.0007218/0.0007218, allocations: 94.41 kB / 17 MB, free: 6.402 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.0008421/0.0008423, allocations: 180.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.359/1.359, allocations: 223.3 MB / 241.9 MB, free: 332 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.1979/0.1979, allocations: 44.23 MB / 337.2 MB, free: 2.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000356/0.0003561, allocations: 8 kB / 409.7 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1188, allocations: 61.92 MB / 471.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.00216/0.121, allocations: 1.322 MB / 473 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007446/0.1218, allocations: 391.7 kB / 473.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.718e-05/0.1218, allocations: 0 / 473.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000576/0.1224, allocations: 451.1 kB / 473.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003264/0.1227, allocations: 239.5 kB / 474 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000341/0.1231, allocations: 115.4 kB / 474.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001851/0.1233, allocations: 131.7 kB / 474.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.363e-05/0.1234, allocations: 12 kB / 474.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001109/0.1235, allocations: 107.8 kB / 474.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001825/0.1237, allocations: 163.7 kB / 474.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.665e-05/0.1237, allocations: 4 kB / 474.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.093e-05/0.1238, allocations: 39.94 kB / 474.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.1239, allocations: 79.75 kB / 474.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.492e-05/0.124, allocations: 69.45 kB / 474.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002608/0.1243, allocations: 195.9 kB / 474.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.1243, allocations: 7.938 kB / 474.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1243, allocations: 0 / 474.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.1243, allocations: 4 kB / 474.9 MB, free: 10.31 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000673/0.125, allocations: 0.595 MB / 475.5 MB, free: 9.668 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.125, allocations: 8.031 kB / 475.5 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.485e-05/0.1251, allocations: 30.56 kB / 475.6 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.085e-05/0.1251, allocations: 43.44 kB / 475.6 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002556/0.1254, allocations: 287.3 kB / 475.9 MB, free: 9.258 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.897e-06/0.1254, allocations: 0 / 475.9 MB, free: 9.258 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.773e-05/0.1254, allocations: 19.8 kB / 475.9 MB, free: 9.238 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.1256, allocations: 57.67 kB / 476 MB, free: 9.176 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.1256, allocations: 0 / 476 MB, free: 9.176 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.417e-06/0.1256, allocations: 4 kB / 476 MB, free: 9.172 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.1256, allocations: 3.984 kB / 476 MB, free: 9.168 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.559e-05/0.1257, allocations: 27.98 kB / 476 MB, free: 9.141 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005207/0.1262, allocations: 408.5 kB / 476.4 MB, free: 8.691 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001096/0.1264, allocations: 42.56 kB / 476.4 MB, free: 8.641 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.968e-05/0.1264, allocations: 20.94 kB / 476.5 MB, free: 8.617 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.559e-05/0.1265, allocations: 0 / 476.5 MB, free: 8.617 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.1265, allocations: 38.59 kB / 476.5 MB, free: 8.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.1265, allocations: 0 / 476.5 MB, free: 8.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009431/0.1274, allocations: 327.9 kB / 476.8 MB, free: 8.242 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/0.1275, allocations: 55.41 kB / 476.9 MB, free: 8.176 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008423/0.1284, allocations: 0.8652 MB / 477.7 MB, free: 7.301 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.1284, allocations: 25.7 kB / 477.8 MB, free: 7.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000177/0.1286, allocations: 235.9 kB / 478 MB, free: 7.035 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.778e-05/0.1286, allocations: 19.72 kB / 478 MB, free: 7.016 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-06/0.1286, allocations: 0 / 478 MB, free: 7.016 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.1288, allocations: 362.8 kB / 478.4 MB, free: 6.652 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.428e-05/0.1288, allocations: 23.98 kB / 478.4 MB, free: 6.629 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.606e-05/0.1289, allocations: 31.98 kB / 478.4 MB, free: 6.598 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.544e-05/0.129, allocations: 32.22 kB / 478.5 MB, free: 6.566 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.129, allocations: 0 / 478.5 MB, free: 6.566 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002365/0.1293, allocations: 153 kB / 478.6 MB, free: 6.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.1293, allocations: 6.5 kB / 478.6 MB, free: 6.406 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.1293, allocations: 3.984 kB / 478.6 MB, free: 6.402 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.1293, allocations: 3.938 kB / 478.6 MB, free: 6.398 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.745e-05/0.1294, allocations: 16 kB / 478.6 MB, free: 6.383 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.299e-06/0.1294, allocations: 0 / 478.6 MB, free: 6.383 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.494e-05/0.1295, allocations: 23.88 kB / 478.7 MB, free: 6.359 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.1295, allocations: 0 / 478.7 MB, free: 6.359 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 (8): * Single equations (assignments): 8 * 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.0001937/0.1297, allocations: 218.3 kB / 478.9 MB, free: 6.137 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.47e-05/0.1298, allocations: 43.44 kB / 478.9 MB, free: 6.094 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003119/0.1301, allocations: 165.3 kB / 479.1 MB, free: 5.922 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.1301, allocations: 8 kB / 479.1 MB, free: 5.914 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.1301, allocations: 0 / 479.1 MB, free: 5.914 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.1301, allocations: 0 / 479.1 MB, free: 5.914 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000617/0.1307, allocations: 0.5031 MB / 479.6 MB, free: 5.352 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.523e-06/0.1308, allocations: 12.03 kB / 479.6 MB, free: 5.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.66e-05/0.1308, allocations: 19.98 kB / 479.6 MB, free: 5.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.1309, allocations: 0 / 479.6 MB, free: 5.32 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.1309, allocations: 0 / 479.6 MB, free: 5.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.1309, allocations: 3.953 kB / 479.6 MB, free: 5.316 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.1309, allocations: 4 kB / 479.6 MB, free: 5.312 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002705/0.1312, allocations: 244.2 kB / 479.9 MB, free: 5.055 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.881e-05/0.1312, allocations: 120.5 kB / 480 MB, free: 4.918 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.598e-05/0.1313, allocations: 0 / 480 MB, free: 4.918 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.355e-05/0.1314, allocations: 4 kB / 480 MB, free: 4.914 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.263e-05/0.1314, allocations: 19.92 kB / 480 MB, free: 4.895 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.1314, allocations: 8 kB / 480 MB, free: 4.887 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006274/0.1321, allocations: 0.6511 MB / 480.7 MB, free: 4.238 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1321, allocations: 0 / 480.7 MB, free: 4.238 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002805/0.1324, allocations: 32 kB / 480.7 MB, free: 4.207 MB / 350.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 (8): * Single equations (assignments): 8 * 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.00146/0.1338, allocations: 1.137 MB / 481.8 MB, free: 3.227 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002093/0.1341, allocations: 71.94 kB / 481.9 MB, free: 3.156 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.1341, allocations: 0 / 481.9 MB, free: 3.156 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.68e-05/0.1342, allocations: 39.92 kB / 481.9 MB, free: 3.117 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003665/0.1345, allocations: 29.97 kB / 482 MB, free: 3.09 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002905/0.1374, allocations: 2.372 MB / 484.3 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004268/0.1379, allocations: 0.8301 MB / 485.2 MB, free: 15.79 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.595e-05/0.138, allocations: 16.73 kB / 485.2 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001505/0.1381, allocations: 107.4 kB / 485.3 MB, free: 15.67 MB / 366.1 MB Notification: Performance of SimCode: time 2.535e-06/0.1381, allocations: 0 / 485.3 MB, free: 15.67 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01629/0.1544, allocations: 5.672 MB / 491 MB, free: 10.12 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002944/0.1548, allocations: 237.8 kB / 491.2 MB, free: 9.863 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.933/2.087, allocations: 0 / 491.2 MB, free: 9.863 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test2_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat does not exist to compare? outputFormat=mat