Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008091/0.0008093, allocations: 99.55 kB / 17 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008751/0.0008751, allocations: 192.7 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.402/1.402, allocations: 227.4 MB / 246 MB, free: 12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2122/0.2122, allocations: 45.91 MB / 344.1 MB, free: 12.32 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002901/0.0002902, allocations: 11.94 kB / 418.2 MB, free: 20.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1195, allocations: 63.46 MB / 481.6 MB, free: 5.312 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.001829/0.1213, allocations: 1.307 MB / 482.9 MB, free: 3.988 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007829/0.1221, allocations: 0.507 MB / 483.5 MB, free: 3.477 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.39e-05/0.1222, allocations: 0 / 483.5 MB, free: 3.477 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005956/0.1228, allocations: 447.2 kB / 483.9 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004172/0.1232, allocations: 271.4 kB / 484.2 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004286/0.1237, allocations: 151.4 kB / 484.3 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002097/0.1239, allocations: 127.7 kB / 484.4 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.791e-05/0.124, allocations: 19.98 kB / 484.5 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001058/0.1241, allocations: 103.7 kB / 484.6 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002073/0.1243, allocations: 163.7 kB / 484.7 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.391e-05/0.1243, allocations: 7.938 kB / 484.7 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.227e-05/0.1244, allocations: 19.98 kB / 484.7 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.1245, allocations: 87.69 kB / 484.8 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.042e-05/0.1246, allocations: 61.52 kB / 484.9 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002106/0.1248, allocations: 187.7 kB / 485.1 MB, free: 1.859 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.977e-06/0.1248, allocations: 0 / 485.1 MB, free: 1.859 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.1248, allocations: 0 / 485.1 MB, free: 1.859 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.1248, allocations: 0 / 485.1 MB, free: 1.859 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007559/0.1256, allocations: 0.5951 MB / 485.7 MB, free: 1.215 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.1256, allocations: 12.03 kB / 485.7 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.913e-05/0.1257, allocations: 34.56 kB / 485.7 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.51e-05/0.1258, allocations: 35.53 kB / 485.7 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003121/0.1261, allocations: 287.2 kB / 486 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.1261, allocations: 8 kB / 486 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.07e-05/0.1261, allocations: 0 / 486 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.1263, allocations: 53.67 kB / 486.1 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.1263, allocations: 0 / 486.1 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.898e-06/0.1263, allocations: 0 / 486.1 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.844e-06/0.1263, allocations: 4 kB / 486.1 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.661e-05/0.1264, allocations: 23.98 kB / 486.1 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005081/0.1269, allocations: 400.7 kB / 486.5 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.523e-05/0.127, allocations: 34.52 kB / 486.5 MB, free: 228 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.681e-05/0.1271, allocations: 16.91 kB / 486.6 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/0.1271, allocations: 8 kB / 486.6 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.1272, allocations: 30.56 kB / 486.6 MB, free: 160 kB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.1272, allocations: 0 / 486.6 MB, free: 160 kB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002755/0.1274, allocations: 105.1 kB / 486.7 MB, free: 48 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.229e-05/0.1275, allocations: 59.36 kB / 486.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008811/0.1284, allocations: 0.8817 MB / 487.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.1284, allocations: 25.7 kB / 487.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001926/0.1286, allocations: 227.9 kB / 487.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.633e-05/0.1287, allocations: 7.938 kB / 487.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.088e-06/0.1287, allocations: 4 kB / 487.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.1288, allocations: 358.8 kB / 488.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.429e-05/0.1289, allocations: 15.98 kB / 488.3 MB, free: 14.44 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.385e-05/0.1289, allocations: 12 kB / 488.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.302e-05/0.129, allocations: 15.98 kB / 488.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.129, allocations: 0 / 488.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001477/0.1291, allocations: 97.06 kB / 488.4 MB, free: 14.31 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.1292, allocations: 8 kB / 488.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.1292, allocations: 0 / 488.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.1292, allocations: 4.094 kB / 488.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.226e-05/0.1293, allocations: 7.984 kB / 488.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.1293, allocations: 3.984 kB / 488.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.767e-05/0.1293, allocations: 7.953 kB / 488.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.1293, allocations: 0 / 488.4 MB, free: 14.28 MB / 366.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 (2): * Single equations (assignments): 2 * 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.0001861/0.1295, allocations: 213.8 kB / 488.6 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.941e-05/0.1296, allocations: 39.44 kB / 488.7 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001974/0.1298, allocations: 116.7 kB / 488.8 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.1298, allocations: 0 / 488.8 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.1298, allocations: 0 / 488.8 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.1298, allocations: 4 kB / 488.8 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002655/0.1301, allocations: 289.5 kB / 489.1 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.1301, allocations: 4 kB / 489.1 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.245e-05/0.1301, allocations: 4 kB / 489.1 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1302, allocations: 0 / 489.1 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.1302, allocations: 4 kB / 489.1 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1302, allocations: 7.969 kB / 489.1 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1302, allocations: 0 / 489.1 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000179/0.1304, allocations: 198.9 kB / 489.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.215e-05/0.1304, allocations: 108.5 kB / 489.4 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.643e-05/0.1305, allocations: 7.984 kB / 489.4 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.828e-05/0.1306, allocations: 4.031 kB / 489.4 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.063e-05/0.1306, allocations: 4 kB / 489.4 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-06/0.1306, allocations: 0 / 489.4 MB, free: 13.2 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007113/0.1313, allocations: 0.6667 MB / 490.1 MB, free: 12.53 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1313, allocations: 0 / 490.1 MB, free: 12.53 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002437/0.1316, allocations: 19.98 kB / 490.1 MB, free: 12.51 MB / 366.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 (2): * Single equations (assignments): 2 * 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.001156/0.1327, allocations: 0.9707 MB / 491.1 MB, free: 11.63 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001227/0.1329, allocations: 31.98 kB / 491.1 MB, free: 11.6 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1329, allocations: 0 / 491.1 MB, free: 11.6 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.177e-05/0.1329, allocations: 15.92 kB / 491.1 MB, free: 11.59 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003295/0.1333, allocations: 29.27 kB / 491.1 MB, free: 11.56 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002691/0.136, allocations: 2.285 MB / 493.4 MB, free: 9.215 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003573/0.1363, allocations: 0.8262 MB / 494.2 MB, free: 8.363 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.818e-05/0.1364, allocations: 16.17 kB / 494.3 MB, free: 8.348 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.1365, allocations: 111.4 kB / 494.4 MB, free: 8.242 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1365, allocations: 0 / 494.4 MB, free: 8.242 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01531/0.1518, allocations: 5.258 MB / 499.6 MB, free: 3.086 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001986/0.1521, allocations: 217.6 kB / 499.8 MB, free: 2.844 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.987/2.14, allocations: 0 / 499.8 MB, free: 2.844 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test8_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test8.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat does not exist to compare? outputFormat=mat