Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.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.CombiTable1Ds.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test15",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.0008751/0.0008751, allocations: 98.62 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.0007891/0.0007892, allocations: 177.7 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.388/1.388, allocations: 223.3 MB / 241.9 MB, free: 336 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.2243/0.2243, allocations: 44.22 MB / 337.2 MB, free: 2.801 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000319/0.0003191, allocations: 8 kB / 409.7 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1194, allocations: 61.93 MB / 471.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test15): time 0.001947/0.1214, allocations: 1.274 MB / 472.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007281/0.1221, allocations: 375.5 kB / 473.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.682e-05/0.1222, allocations: 0 / 473.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002561/0.1224, allocations: 71.83 kB / 473.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001391/0.1226, allocations: 55.88 kB / 473.4 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002232/0.1228, allocations: 74.84 kB / 473.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001213/0.1229, allocations: 59.81 kB / 473.5 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.337e-05/0.123, allocations: 16.19 kB / 473.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001211/0.1232, allocations: 35.84 kB / 473.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.118e-05/0.1233, allocations: 35.89 kB / 473.6 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.1233, allocations: 0 / 473.6 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.936e-05/0.1234, allocations: 43.91 kB / 473.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.802e-05/0.1234, allocations: 19.92 kB / 473.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.927e-05/0.1235, allocations: 33.7 kB / 473.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001233/0.1236, allocations: 76.11 kB / 473.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1236, allocations: 4 kB / 473.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1236, allocations: 0 / 473.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.284e-05/0.1236, allocations: 0 / 473.8 MB, free: 11.45 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.0004309/0.1241, allocations: 394.9 kB / 474.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.1241, allocations: 8.031 kB / 474.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.446e-05/0.1242, allocations: 34.5 kB / 474.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.525e-05/0.1242, allocations: 11.91 kB / 474.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001863/0.1244, allocations: 194.9 kB / 474.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.1244, allocations: 8 kB / 474.4 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.875e-05/0.1244, allocations: 7.859 kB / 474.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.1246, allocations: 49.69 kB / 474.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.1246, allocations: 11.91 kB / 474.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.1246, allocations: 4 kB / 474.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.1246, allocations: 0 / 474.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.211e-05/0.1247, allocations: 31.98 kB / 474.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003454/0.1251, allocations: 288.8 kB / 474.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000112/0.1252, allocations: 50.5 kB / 474.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.74e-05/0.1253, allocations: 16.94 kB / 474.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.254e-05/0.1253, allocations: 4 kB / 474.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.1253, allocations: 34.56 kB / 474.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.1253, allocations: 0 / 474.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000799/0.1261, allocations: 249 kB / 475.2 MB, free: 9.902 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.45e-05/0.1262, allocations: 55.41 kB / 475.2 MB, free: 9.836 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001967/0.1264, allocations: 210.2 kB / 475.4 MB, free: 9.621 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.1264, allocations: 25.7 kB / 475.5 MB, free: 9.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.812e-05/0.1265, allocations: 104 kB / 475.6 MB, free: 9.484 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.556e-05/0.1265, allocations: 23.66 kB / 475.6 MB, free: 9.461 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.54e-06/0.1265, allocations: 4 kB / 475.6 MB, free: 9.457 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001978/0.1267, allocations: 326.8 kB / 475.9 MB, free: 9.129 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001022/0.1268, allocations: 31.97 kB / 475.9 MB, free: 9.098 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.463e-05/0.1269, allocations: 32.05 kB / 476 MB, free: 9.066 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.514e-05/0.127, allocations: 31.92 kB / 476 MB, free: 9.035 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.127, allocations: 4 kB / 476 MB, free: 9.031 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001977/0.1272, allocations: 113.5 kB / 476.1 MB, free: 8.914 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.1272, allocations: 4 kB / 476.1 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.1272, allocations: 0 / 476.1 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.1273, allocations: 0 / 476.1 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.964e-05/0.1273, allocations: 19.98 kB / 476.1 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.962e-06/0.1274, allocations: 0 / 476.1 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.357e-05/0.1274, allocations: 19.98 kB / 476.2 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.1274, allocations: 0 / 476.2 MB, free: 8.871 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.0001183/0.1276, allocations: 130.3 kB / 476.3 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.059e-05/0.1276, allocations: 7.906 kB / 476.3 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002581/0.1279, allocations: 122.4 kB / 476.4 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.1279, allocations: 4 kB / 476.4 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.1279, allocations: 0 / 476.4 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.1279, allocations: 0 / 476.4 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004919/0.1284, allocations: 423.1 kB / 476.8 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.1284, allocations: 0 / 476.8 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.384e-05/0.1285, allocations: 19.98 kB / 476.9 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.313e-06/0.1285, allocations: 4 kB / 476.9 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.1285, allocations: 3.938 kB / 476.9 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.1285, allocations: 4 kB / 476.9 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.1285, allocations: 3.953 kB / 476.9 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002347/0.1287, allocations: 213.1 kB / 477.1 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.16e-05/0.1288, allocations: 88.92 kB / 477.2 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.956e-05/0.1288, allocations: 4 kB / 477.2 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.741e-05/0.1289, allocations: 7.984 kB / 477.2 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.232e-05/0.129, allocations: 27.91 kB / 477.2 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.94e-06/0.129, allocations: 0 / 477.2 MB, free: 7.719 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001387/0.1291, allocations: 155.2 kB / 477.4 MB, free: 7.566 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1291, allocations: 0 / 477.4 MB, free: 7.566 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002418/0.1294, allocations: 20 kB / 477.4 MB, free: 7.547 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.001499/0.1309, allocations: 1.09 MB / 478.5 MB, free: 6.617 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001869/0.1311, allocations: 67.91 kB / 478.5 MB, free: 6.551 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1311, allocations: 0 / 478.5 MB, free: 6.551 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.794e-05/0.1312, allocations: 44.03 kB / 478.6 MB, free: 6.508 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003176/0.1315, allocations: 16 kB / 478.6 MB, free: 6.492 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001143/0.1326, allocations: 0.7559 MB / 479.3 MB, free: 5.676 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003877/0.133, allocations: 0.7119 MB / 480.1 MB, free: 4.938 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.836e-05/0.1331, allocations: 8.969 kB / 480.1 MB, free: 4.93 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.459e-05/0.1332, allocations: 35.36 kB / 480.1 MB, free: 4.895 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1332, allocations: 0 / 480.1 MB, free: 4.895 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01372/0.1469, allocations: 2.567 MB / 482.7 MB, free: 2.445 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002223/0.1472, allocations: 220.4 kB / 482.9 MB, free: 2.207 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.904/2.051, allocations: 3.938 kB / 482.9 MB, free: 2.203 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test15_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test15.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat does not exist to compare? outputFormat=mat