Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_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.0009696/0.0009734, allocations: 93.72 kB / 16.98 MB, free: 5.938 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.0008482/0.0008483, allocations: 182.2 kB / 17.87 MB, free: 5.598 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.292/1.292, allocations: 223.2 MB / 241.8 MB, free: 14.66 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.2046/0.2046, allocations: 44.22 MB / 337.1 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003559/0.0003563, allocations: 9.469 kB / 409.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1183, allocations: 61.92 MB / 471.5 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test15): time 0.001877/0.1202, allocations: 1.314 MB / 472.9 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007265/0.1209, allocations: 0.6369 MB / 473.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.092e-05/0.121, allocations: 4 kB / 473.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001622/0.1211, allocations: 23.91 kB / 473.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001558/0.1213, allocations: 23.91 kB / 473.5 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.815e-06/0.1213, allocations: 0 / 473.5 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001185/0.1214, allocations: 27.91 kB / 473.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.865e-05/0.1215, allocations: 4 kB / 473.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.284e-05/0.1215, allocations: 7.984 kB / 473.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.755e-05/0.1216, allocations: 15.92 kB / 473.6 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.488e-06/0.1216, allocations: 4 kB / 473.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.696e-05/0.1216, allocations: 4 kB / 473.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.303e-05/0.1217, allocations: 19.92 kB / 473.6 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.59e-05/0.1217, allocations: 37.64 kB / 473.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001023/0.1218, allocations: 48.14 kB / 473.7 MB, free: 11.44 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.1218, allocations: 0 / 473.7 MB, free: 11.44 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.539e-06/0.1219, allocations: 4 kB / 473.7 MB, free: 11.44 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.1219, allocations: 3.938 kB / 473.7 MB, free: 11.43 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003401/0.1222, allocations: 351.2 kB / 474.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.1223, allocations: 8.031 kB / 474.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.904e-05/0.1223, allocations: 46.55 kB / 474.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.404e-05/0.1223, allocations: 7.906 kB / 474.1 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.1224, allocations: 170.9 kB / 474.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.1225, allocations: 0 / 474.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.1225, allocations: 11.88 kB / 474.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/0.1227, allocations: 114.8 kB / 474.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.061e-06/0.1227, allocations: 4 kB / 474.4 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.1227, allocations: 7.984 kB / 474.4 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.304e-05/0.1227, allocations: 27.92 kB / 474.4 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.686e-05/0.1228, allocations: 39.86 kB / 474.5 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006588/0.1235, allocations: 0.8945 MB / 475.4 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001184/0.1236, allocations: 173.1 kB / 475.6 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.678e-05/0.1236, allocations: 75.28 kB / 475.6 MB, free: 9.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.785e-05/0.1237, allocations: 113.9 kB / 475.7 MB, free: 9.199 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.1237, allocations: 3.938 kB / 475.7 MB, free: 9.195 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 8.617e-05/0.1238, allocations: 37.59 kB / 475.8 MB, free: 9.152 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/0.1239, allocations: 126.7 kB / 475.9 MB, free: 9.016 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000199/0.1241, allocations: 186.1 kB / 476.1 MB, free: 8.824 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.1242, allocations: 25.7 kB / 476.1 MB, free: 8.793 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.1243, allocations: 147.1 kB / 476.3 MB, free: 8.645 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.207e-06/0.1243, allocations: 0 / 476.3 MB, free: 8.645 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.695e-06/0.1243, allocations: 8 kB / 476.3 MB, free: 8.637 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.1245, allocations: 322.8 kB / 476.6 MB, free: 8.312 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.938e-05/0.1245, allocations: 31.98 kB / 476.6 MB, free: 8.281 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001526/0.1247, allocations: 155.3 kB / 476.8 MB, free: 8.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000106/0.1248, allocations: 67.91 kB / 476.8 MB, free: 8.004 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.1248, allocations: 0 / 476.8 MB, free: 8.004 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003427/0.1252, allocations: 193.8 kB / 477 MB, free: 7.809 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.1252, allocations: 11.94 kB / 477 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.1252, allocations: 8 kB / 477 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.1252, allocations: 8 kB / 477 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.1254, allocations: 39.86 kB / 477.1 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.35e-05/0.1254, allocations: 7.984 kB / 477.1 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.486e-05/0.1255, allocations: 23.78 kB / 477.1 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.1255, allocations: 15.95 kB / 477.1 MB, free: 7.695 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001591/0.1257, allocations: 209.5 kB / 477.3 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.668e-05/0.1258, allocations: 112.9 kB / 477.4 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.196e-05/0.1258, allocations: 120.8 kB / 477.6 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.143e-05/0.1259, allocations: 180.3 kB / 477.7 MB, free: 7.055 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-05/0.126, allocations: 188.2 kB / 477.9 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.508e-05/0.1261, allocations: 180.2 kB / 478.1 MB, free: 6.68 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002477/0.1263, allocations: 421.2 kB / 478.5 MB, free: 6.211 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.961e-05/0.1264, allocations: 116.9 kB / 478.6 MB, free: 6.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.22e-05/0.1264, allocations: 105 kB / 478.7 MB, free: 5.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.787e-05/0.1265, allocations: 180.2 kB / 478.9 MB, free: 5.797 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.045e-05/0.1265, allocations: 176.3 kB / 479.1 MB, free: 5.617 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.881e-05/0.1266, allocations: 184.2 kB / 479.3 MB, free: 5.43 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.113e-05/0.1267, allocations: 184.2 kB / 479.4 MB, free: 5.242 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001397/0.1268, allocations: 319.5 kB / 479.7 MB, free: 4.906 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.759e-05/0.1269, allocations: 186 kB / 479.9 MB, free: 4.699 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.817e-05/0.127, allocations: 188.1 kB / 480.1 MB, free: 4.508 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.186e-05/0.1271, allocations: 109 kB / 480.2 MB, free: 4.395 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.597e-05/0.1272, allocations: 180.3 kB / 480.4 MB, free: 4.211 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.474e-05/0.1272, allocations: 104.9 kB / 480.5 MB, free: 4.102 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001056/0.1273, allocations: 132 kB / 480.6 MB, free: 3.973 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1273, allocations: 0 / 480.6 MB, free: 3.973 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000319/0.1277, allocations: 16 kB / 480.6 MB, free: 3.957 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 (0): * Single equations (assignments): 0 * 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.0007537/0.1284, allocations: 0.9099 MB / 481.5 MB, free: 3.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001379/0.1286, allocations: 75.78 kB / 481.6 MB, free: 2.996 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1286, allocations: 1.25 kB / 481.6 MB, free: 2.996 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.142e-06/0.1286, allocations: 3.938 kB / 481.6 MB, free: 2.992 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002922/0.1289, allocations: 0.5341 MB / 482.2 MB, free: 2.453 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002011/0.1309, allocations: 3.622 MB / 485.8 MB, free: 14.69 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003165/0.1312, allocations: 0.7048 MB / 486.5 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001746/0.1314, allocations: 57 kB / 486.5 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.186e-05/0.1315, allocations: 27.36 kB / 486.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1315, allocations: 0 / 486.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0126/0.1441, allocations: 1.887 MB / 488.5 MB, free: 12.11 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001695/0.1443, allocations: 219.7 kB / 488.7 MB, free: 11.86 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.77/1.914, allocations: 0 / 488.7 MB, free: 11.86 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test15_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test15.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15_res.mat does not exist to compare? outputFormat=mat