Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.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.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test24",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.001137/0.001137, allocations: 95.27 kB / 16.98 MB, free: 5.934 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.0009848/0.0009849, allocations: 186.2 kB / 17.88 MB, free: 5.594 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.43/1.43, allocations: 223.2 MB / 241.8 MB, free: 400 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.2402/0.2402, allocations: 44.23 MB / 337.1 MB, free: 2.91 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003526/0.0003527, allocations: 13.78 kB / 409.6 MB, free: 27.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1237, allocations: 61.92 MB / 471.5 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test24): time 0.002098/0.1258, allocations: 1.334 MB / 472.9 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007154/0.1266, allocations: 367.5 kB / 473.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.873e-05/0.1266, allocations: 4 kB / 473.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002134/0.1268, allocations: 35.88 kB / 473.3 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001388/0.127, allocations: 43.83 kB / 473.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000295/0.1273, allocations: 119.1 kB / 473.4 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001145/0.1274, allocations: 47.88 kB / 473.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.16e-05/0.1275, allocations: 15.98 kB / 473.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.097e-05/0.1276, allocations: 19.92 kB / 473.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.877e-05/0.1277, allocations: 31.84 kB / 473.5 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.194e-05/0.1277, allocations: 7.938 kB / 473.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.766e-05/0.1278, allocations: 27.98 kB / 473.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.041e-05/0.1278, allocations: 19.92 kB / 473.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.414e-05/0.1279, allocations: 33.7 kB / 473.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001328/0.128, allocations: 84.03 kB / 473.7 MB, free: 11.47 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.128, allocations: 7.938 kB / 473.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.128, allocations: 0 / 473.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.573e-06/0.1281, allocations: 0 / 473.7 MB, free: 11.46 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.0004726/0.1285, allocations: 395 kB / 474.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.1286, allocations: 8.031 kB / 474.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.665e-05/0.1286, allocations: 42.55 kB / 474.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.582e-05/0.1287, allocations: 7.906 kB / 474.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001806/0.1288, allocations: 187.5 kB / 474.4 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.1289, allocations: 8 kB / 474.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.142e-05/0.1289, allocations: 3.953 kB / 474.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001762/0.1291, allocations: 69.61 kB / 474.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.1291, allocations: 0 / 474.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-06/0.1291, allocations: 0 / 474.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.1291, allocations: 4 kB / 474.4 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001456/0.1293, allocations: 47.97 kB / 474.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004063/0.1297, allocations: 312.6 kB / 474.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002259/0.1299, allocations: 62.55 kB / 474.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.252e-05/0.13, allocations: 0 / 474.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.13, allocations: 30.56 kB / 474.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 7.71e-07/0.13, allocations: 0 / 474.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001456/0.1314, allocations: 465.4 kB / 475.3 MB, free: 9.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/0.1315, allocations: 51.41 kB / 475.4 MB, free: 9.617 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001851/0.1317, allocations: 180.4 kB / 475.6 MB, free: 9.426 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.326e-05/0.1317, allocations: 29.69 kB / 475.6 MB, free: 9.391 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.213e-05/0.1318, allocations: 104 kB / 475.7 MB, free: 9.285 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.595e-05/0.1318, allocations: 31.55 kB / 475.7 MB, free: 9.254 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.975e-06/0.1319, allocations: 4 kB / 475.7 MB, free: 9.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.132, allocations: 322.8 kB / 476 MB, free: 8.926 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.1321, allocations: 51.97 kB / 476.1 MB, free: 8.875 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001143/0.1323, allocations: 51.97 kB / 476.1 MB, free: 8.824 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001254/0.1324, allocations: 55.97 kB / 476.2 MB, free: 8.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1324, allocations: 3.938 kB / 476.2 MB, free: 8.766 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003002/0.1327, allocations: 161.3 kB / 476.4 MB, free: 8.602 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.1327, allocations: 4 kB / 476.4 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1327, allocations: 0 / 476.4 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.1328, allocations: 4 kB / 476.4 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.1329, allocations: 31.98 kB / 476.4 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/0.1329, allocations: 7.969 kB / 476.4 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.657e-05/0.133, allocations: 15.98 kB / 476.4 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.848e-06/0.133, allocations: 7.953 kB / 476.4 MB, free: 8.531 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 (11): * Single equations (assignments): 11 * 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.0001091/0.1331, allocations: 126.4 kB / 476.6 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.065e-05/0.1331, allocations: 7.906 kB / 476.6 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00036/0.1335, allocations: 182.2 kB / 476.7 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.1335, allocations: 0 / 476.7 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.1335, allocations: 0 / 476.7 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.1335, allocations: 0 / 476.7 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005941/0.1341, allocations: 491.9 kB / 477.2 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.1341, allocations: 0 / 477.2 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000127/0.1343, allocations: 36.03 kB / 477.3 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.1343, allocations: 4 kB / 477.3 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.347e-06/0.1343, allocations: 0 / 477.3 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.1343, allocations: 3.953 kB / 477.3 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1343, allocations: 4 kB / 477.3 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003773/0.1347, allocations: 296.9 kB / 477.6 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.883e-05/0.1348, allocations: 96.88 kB / 477.6 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.955e-05/0.1348, allocations: 0 / 477.6 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.1349, allocations: 19.98 kB / 477.7 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.659e-05/0.1349, allocations: 7.984 kB / 477.7 MB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.565e-06/0.135, allocations: 4.188 kB / 477.7 MB, free: 7.148 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001036/0.1351, allocations: 133.7 kB / 477.8 MB, free: 7.02 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1351, allocations: 4 kB / 477.8 MB, free: 7.016 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002605/0.1353, allocations: 24 kB / 477.8 MB, free: 6.992 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001565/0.1369, allocations: 1.313 MB / 479.2 MB, free: 5.828 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000362/0.1373, allocations: 123.9 kB / 479.3 MB, free: 5.707 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1373, allocations: 0 / 479.3 MB, free: 5.707 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001594/0.1375, allocations: 68.03 kB / 479.3 MB, free: 5.641 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002438/0.1377, allocations: 19.92 kB / 479.4 MB, free: 5.621 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001253/0.139, allocations: 0.8077 MB / 480.2 MB, free: 4.766 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002589/0.1393, allocations: 0.7082 MB / 480.9 MB, free: 4.031 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.062e-05/0.1393, allocations: 24.39 kB / 480.9 MB, free: 4.004 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.482e-05/0.1394, allocations: 35.42 kB / 480.9 MB, free: 3.969 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1394, allocations: 0 / 480.9 MB, free: 3.969 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01273/0.1521, allocations: 2.72 MB / 483.7 MB, free: 1.367 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001698/0.1523, allocations: 218.2 kB / 483.9 MB, free: 1.125 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.77/1.923, allocations: 0 / 483.9 MB, free: 1.125 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test24_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test24.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24_res.mat does not exist to compare? outputFormat=mat