Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test26,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test26,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_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.0007605/0.0007604, allocations: 96.92 kB / 17 MB, free: 6.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008685/0.0008685, allocations: 194 kB / 17.91 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, allocations: 227.3 MB / 246 MB, free: 11.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2185/0.2185, allocations: 45.92 MB / 344.1 MB, free: 12.3 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002826/0.0002827, allocations: 8 kB / 418.2 MB, free: 20.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1281, allocations: 63.46 MB / 481.6 MB, free: 5.285 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test26): time 0.001872/0.13, allocations: 1.31 MB / 482.9 MB, free: 3.961 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008501/0.1309, allocations: 499.2 kB / 483.4 MB, free: 3.469 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.265e-05/0.1309, allocations: 0 / 483.4 MB, free: 3.469 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000238/0.1312, allocations: 75.83 kB / 483.5 MB, free: 3.395 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002634/0.1314, allocations: 83.73 kB / 483.6 MB, free: 3.312 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002875/0.1317, allocations: 99.44 kB / 483.7 MB, free: 3.219 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001471/0.1319, allocations: 71.8 kB / 483.8 MB, free: 3.148 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.395e-05/0.132, allocations: 16 kB / 483.8 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.682e-05/0.1321, allocations: 35.83 kB / 483.8 MB, free: 3.098 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.915e-05/0.1322, allocations: 39.84 kB / 483.8 MB, free: 3.059 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.317e-05/0.1322, allocations: 0 / 483.8 MB, free: 3.059 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.96e-05/0.1323, allocations: 43.97 kB / 483.9 MB, free: 3.016 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.428e-05/0.1323, allocations: 23.86 kB / 483.9 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.125e-05/0.1324, allocations: 37.64 kB / 483.9 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001301/0.1325, allocations: 76.16 kB / 484 MB, free: 2.875 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1325, allocations: 0 / 484 MB, free: 2.875 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1325, allocations: 4 kB / 484 MB, free: 2.871 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.1325, allocations: 0 / 484 MB, free: 2.871 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.0004397/0.133, allocations: 394.9 kB / 484.4 MB, free: 2.438 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.133, allocations: 12.03 kB / 484.4 MB, free: 2.426 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.867e-05/0.1331, allocations: 38.55 kB / 484.5 MB, free: 2.379 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.084e-05/0.1331, allocations: 11.91 kB / 484.5 MB, free: 2.367 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002042/0.1333, allocations: 195.5 kB / 484.7 MB, free: 2.133 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.1333, allocations: 8 kB / 484.7 MB, free: 2.125 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.904e-05/0.1334, allocations: 4 kB / 484.7 MB, free: 2.121 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.1335, allocations: 57.67 kB / 484.7 MB, free: 2.059 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.1335, allocations: 0 / 484.7 MB, free: 2.059 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.236e-06/0.1336, allocations: 0 / 484.7 MB, free: 2.059 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.1336, allocations: 4 kB / 484.7 MB, free: 2.055 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.428e-05/0.1337, allocations: 35.89 kB / 484.8 MB, free: 2.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003978/0.1341, allocations: 320.6 kB / 485.1 MB, free: 1.656 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.1342, allocations: 38.56 kB / 485.1 MB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.403e-05/0.1342, allocations: 24.94 kB / 485.1 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.1343, allocations: 3.938 kB / 485.2 MB, free: 1.578 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.949e-05/0.1343, allocations: 34.56 kB / 485.2 MB, free: 1.535 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.1343, allocations: 0 / 485.2 MB, free: 1.535 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008496/0.1352, allocations: 269.3 kB / 485.4 MB, free: 1.266 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.169e-05/0.1352, allocations: 55.34 kB / 485.5 MB, free: 1.199 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002118/0.1354, allocations: 218.8 kB / 485.7 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.1355, allocations: 29.7 kB / 485.7 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.838e-05/0.1355, allocations: 108.1 kB / 485.9 MB, free: 0.832 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.535e-05/0.1355, allocations: 23.77 kB / 485.9 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.989e-06/0.1356, allocations: 0 / 485.9 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.205e-05/0.1357, allocations: 326.8 kB / 486.2 MB, free: 492 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.146e-05/0.1357, allocations: 31.98 kB / 486.2 MB, free: 460 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.474e-05/0.1358, allocations: 35.97 kB / 486.3 MB, free: 424 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.254e-05/0.1359, allocations: 39.98 kB / 486.3 MB, free: 384 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1359, allocations: 0 / 486.3 MB, free: 384 kB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002058/0.1361, allocations: 117.5 kB / 486.4 MB, free: 260 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.1362, allocations: 8 kB / 486.4 MB, free: 252 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.86e-06/0.1362, allocations: 0 / 486.4 MB, free: 252 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.1362, allocations: 3.953 kB / 486.4 MB, free: 248 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.815e-05/0.1363, allocations: 23.92 kB / 486.4 MB, free: 224 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.1363, allocations: 0 / 486.4 MB, free: 224 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.168e-05/0.1364, allocations: 7.984 kB / 486.5 MB, free: 216 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.1364, allocations: 12 kB / 486.5 MB, free: 204 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.962e-05/0.1365, allocations: 121.8 kB / 486.6 MB, free: 72 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.137e-05/0.1365, allocations: 7.906 kB / 486.6 MB, free: 64 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002883/0.1368, allocations: 143.3 kB / 486.7 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.1368, allocations: 11.89 kB / 486.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.1368, allocations: 7.938 kB / 486.8 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.1368, allocations: 0 / 486.8 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004961/0.1373, allocations: 427.3 kB / 487.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.1373, allocations: 4.031 kB / 487.2 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.904e-05/0.1374, allocations: 23.94 kB / 487.2 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.1374, allocations: 0 / 487.2 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.1375, allocations: 8 kB / 487.2 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.1375, allocations: 4 kB / 487.2 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1375, allocations: 0 / 487.2 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002435/0.1377, allocations: 232.1 kB / 487.4 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.564e-05/0.1378, allocations: 85.02 kB / 487.5 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.96e-05/0.1378, allocations: 3.953 kB / 487.5 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.125e-05/0.1379, allocations: 7.984 kB / 487.5 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.305e-05/0.1379, allocations: 8 kB / 487.5 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/0.1379, allocations: 8 kB / 487.5 MB, free: 15.01 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001174/0.138, allocations: 168.7 kB / 487.7 MB, free: 14.85 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1381, allocations: 0 / 487.7 MB, free: 14.85 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002575/0.1383, allocations: 24 kB / 487.7 MB, free: 14.82 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.001349/0.1397, allocations: 1.098 MB / 488.8 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002099/0.1399, allocations: 79.94 kB / 488.9 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.1399, allocations: 3.938 kB / 488.9 MB, free: 13.78 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.475e-05/0.14, allocations: 43.92 kB / 489 MB, free: 13.74 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003128/0.1403, allocations: 24.05 kB / 489 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001174/0.1415, allocations: 0.8008 MB / 489.8 MB, free: 12.87 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002251/0.1418, allocations: 0.7121 MB / 490.5 MB, free: 12.13 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.977e-05/0.1418, allocations: 20.95 kB / 490.5 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.019e-05/0.1419, allocations: 35.42 kB / 490.5 MB, free: 12.07 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1419, allocations: 0 / 490.5 MB, free: 12.07 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01377/0.1557, allocations: 2.715 MB / 493.3 MB, free: 9.469 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000187/0.1559, allocations: 226.5 kB / 493.5 MB, free: 9.223 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.866/2.022, allocations: 0 / 493.5 MB, free: 9.223 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test26_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test26.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26_res.mat does not exist to compare? outputFormat=mat