Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test26.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.CombiTable1Ds.Test26,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test26,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test26",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009531/0.0009533, allocations: 99.06 kB / 17 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001234/0.001234, allocations: 190.3 kB / 17.9 MB, free: 5.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.557/1.557, allocations: 227.4 MB / 246 MB, free: 10.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2388/0.2388, allocations: 45.92 MB / 344.1 MB, free: 12.01 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002837/0.0002838, allocations: 8 kB / 418.2 MB, free: 20.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1208, allocations: 63.47 MB / 481.6 MB, free: 5.262 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test26): time 0.001627/0.1224, allocations: 1.318 MB / 483 MB, free: 3.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007294/0.1232, allocations: 483.2 kB / 483.4 MB, free: 3.453 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.212e-05/0.1232, allocations: 0 / 483.4 MB, free: 3.453 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002229/0.1235, allocations: 79.78 kB / 483.5 MB, free: 3.375 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001935/0.1237, allocations: 83.77 kB / 483.6 MB, free: 3.293 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001993/0.1239, allocations: 71.86 kB / 483.7 MB, free: 3.223 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001238/0.124, allocations: 71.81 kB / 483.7 MB, free: 3.152 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.77e-05/0.1241, allocations: 15.98 kB / 483.7 MB, free: 3.137 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.01e-05/0.1242, allocations: 31.86 kB / 483.8 MB, free: 3.105 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.245e-05/0.1242, allocations: 43.81 kB / 483.8 MB, free: 3.062 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.085e-05/0.1243, allocations: 0 / 483.8 MB, free: 3.062 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.954e-05/0.1243, allocations: 47.97 kB / 483.9 MB, free: 3.016 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.234e-05/0.1244, allocations: 15.92 kB / 483.9 MB, free: 3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.617e-05/0.1244, allocations: 37.58 kB / 483.9 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001191/0.1246, allocations: 76.17 kB / 484 MB, free: 2.883 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.1246, allocations: 8 kB / 484 MB, free: 2.875 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1246, allocations: 0 / 484 MB, free: 2.875 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.1246, allocations: 0 / 484 MB, free: 2.875 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.0003996/0.125, allocations: 402.8 kB / 484.4 MB, free: 2.434 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.125, allocations: 12.03 kB / 484.4 MB, free: 2.422 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.182e-05/0.1251, allocations: 34.5 kB / 484.4 MB, free: 2.379 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.29e-05/0.1251, allocations: 7.906 kB / 484.4 MB, free: 2.371 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001592/0.1253, allocations: 195.5 kB / 484.6 MB, free: 2.137 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.957e-06/0.1253, allocations: 4 kB / 484.6 MB, free: 2.133 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.784e-05/0.1253, allocations: 8 kB / 484.6 MB, free: 2.125 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/0.1254, allocations: 53.67 kB / 484.7 MB, free: 2.066 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.1254, allocations: 4 kB / 484.7 MB, free: 2.062 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.094e-06/0.1255, allocations: 0 / 484.7 MB, free: 2.062 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.1255, allocations: 0 / 484.7 MB, free: 2.062 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.54e-05/0.1256, allocations: 35.95 kB / 484.7 MB, free: 2.027 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003395/0.1259, allocations: 308.6 kB / 485 MB, free: 1.676 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.336e-05/0.126, allocations: 42.56 kB / 485.1 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.337e-05/0.1261, allocations: 16.86 kB / 485.1 MB, free: 1.605 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.1261, allocations: 0 / 485.1 MB, free: 1.605 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/0.1261, allocations: 46.58 kB / 485.1 MB, free: 1.551 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.41e-07/0.1261, allocations: 0 / 485.1 MB, free: 1.551 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007894/0.1269, allocations: 241.1 kB / 485.4 MB, free: 1.309 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/0.127, allocations: 51.41 kB / 485.4 MB, free: 1.246 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002139/0.1272, allocations: 222.8 kB / 485.6 MB, free: 1.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.1272, allocations: 25.7 kB / 485.7 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.54e-05/0.1273, allocations: 108.1 kB / 485.8 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.33e-05/0.1274, allocations: 15.72 kB / 485.8 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.674e-06/0.1274, allocations: 8 kB / 485.8 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.1275, allocations: 322.8 kB / 486.1 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.694e-05/0.1276, allocations: 32.03 kB / 486.1 MB, free: 0.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.44e-05/0.1277, allocations: 31.98 kB / 486.2 MB, free: 480 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.502e-05/0.1278, allocations: 31.98 kB / 486.2 MB, free: 448 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1278, allocations: 3.938 kB / 486.2 MB, free: 444 kB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001965/0.128, allocations: 109.7 kB / 486.3 MB, free: 328 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.128, allocations: 4 kB / 486.3 MB, free: 324 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.128, allocations: 4 kB / 486.3 MB, free: 320 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.128, allocations: 3.953 kB / 486.3 MB, free: 316 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.814e-05/0.1281, allocations: 19.98 kB / 486.3 MB, free: 296 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.1281, allocations: 4.062 kB / 486.4 MB, free: 292 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.116e-05/0.1282, allocations: 11.98 kB / 486.4 MB, free: 280 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/0.1282, allocations: 11.94 kB / 486.4 MB, free: 268 kB / 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 8.645e-05/0.1283, allocations: 117.8 kB / 486.5 MB, free: 140 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.044e-05/0.1283, allocations: 11.91 kB / 486.5 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002633/0.1286, allocations: 134.9 kB / 486.6 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.1286, allocations: 3.953 kB / 486.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.1286, allocations: 4 kB / 486.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1286, allocations: 0 / 486.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004728/0.1291, allocations: 407.3 kB / 487 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.1291, allocations: 4.031 kB / 487 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.528e-05/0.1292, allocations: 23.94 kB / 487.1 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1292, allocations: 0 / 487.1 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.325e-06/0.1292, allocations: 4 kB / 487.1 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.1292, allocations: 4 kB / 487.1 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.1292, allocations: 3.984 kB / 487.1 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002283/0.1295, allocations: 216.1 kB / 487.3 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.653e-05/0.1295, allocations: 89 kB / 487.4 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.253e-05/0.1295, allocations: 15.95 kB / 487.4 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.761e-05/0.1296, allocations: 4 kB / 487.4 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.615e-05/0.1297, allocations: 7.984 kB / 487.4 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.1297, allocations: 4 kB / 487.4 MB, free: 15.12 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001432/0.1298, allocations: 168.7 kB / 487.6 MB, free: 14.96 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1298, allocations: 0 / 487.6 MB, free: 14.96 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000255/0.1301, allocations: 27.98 kB / 487.6 MB, free: 14.93 MB / 366.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.001501/0.1316, allocations: 1.086 MB / 488.7 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002105/0.1318, allocations: 71.95 kB / 488.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.1318, allocations: 4 kB / 488.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.433e-05/0.1319, allocations: 39.92 kB / 488.8 MB, free: 13.87 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003196/0.1323, allocations: 20.05 kB / 488.8 MB, free: 13.85 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001247/0.1335, allocations: 0.7629 MB / 489.6 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002791/0.1338, allocations: 0.716 MB / 490.3 MB, free: 12.29 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.131e-05/0.1339, allocations: 8.672 kB / 490.3 MB, free: 12.29 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.181e-05/0.1339, allocations: 31.42 kB / 490.3 MB, free: 12.25 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1339, allocations: 0 / 490.3 MB, free: 12.25 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01286/0.1468, allocations: 2.669 MB / 493 MB, free: 9.695 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001799/0.147, allocations: 217.5 kB / 493.2 MB, free: 9.457 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.849/1.996, allocations: 0 / 493.2 MB, free: 9.457 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test26_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test26_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test26.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test26_res.mat does not exist to compare? outputFormat=mat