Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.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.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001107/0.001113, allocations: 97.41 kB / 17 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001773/0.001773, allocations: 194.1 kB / 17.91 MB, free: 5.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.478/1.478, allocations: 227.4 MB / 246 MB, free: 10.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2288/0.2288, allocations: 45.92 MB / 344.1 MB, free: 12 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003079/0.000308, allocations: 11.94 kB / 418.2 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1283, allocations: 63.47 MB / 481.6 MB, free: 5.258 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.002099/0.1304, allocations: 1.345 MB / 483 MB, free: 3.898 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009054/0.1313, allocations: 0.4953 MB / 483.5 MB, free: 3.398 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.95e-05/0.1314, allocations: 0 / 483.5 MB, free: 3.398 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003141/0.1317, allocations: 91.73 kB / 483.6 MB, free: 3.309 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002197/0.132, allocations: 99.7 kB / 483.7 MB, free: 3.211 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002687/0.1322, allocations: 99.75 kB / 483.8 MB, free: 3.113 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000157/0.1324, allocations: 79.81 kB / 483.8 MB, free: 3.035 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.1325, allocations: 23.98 kB / 483.9 MB, free: 3.012 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.296e-05/0.1326, allocations: 39.83 kB / 483.9 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001138/0.1327, allocations: 51.81 kB / 484 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.1327, allocations: 4 kB / 484 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.267e-05/0.1329, allocations: 35.94 kB / 484 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.331e-05/0.1329, allocations: 27.91 kB / 484 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.774e-05/0.133, allocations: 41.64 kB / 484.1 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001499/0.1331, allocations: 84.14 kB / 484.1 MB, free: 2.727 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.1331, allocations: 0 / 484.1 MB, free: 2.727 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1331, allocations: 0 / 484.1 MB, free: 2.727 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.1331, allocations: 3.938 kB / 484.1 MB, free: 2.723 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005058/0.1337, allocations: 418.8 kB / 484.6 MB, free: 2.266 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.1337, allocations: 12.03 kB / 484.6 MB, free: 2.254 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.361e-05/0.1338, allocations: 38.55 kB / 484.6 MB, free: 2.207 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.255e-05/0.1338, allocations: 19.75 kB / 484.6 MB, free: 2.188 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002063/0.134, allocations: 215.2 kB / 484.8 MB, free: 1.938 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.858e-06/0.134, allocations: 4 kB / 484.8 MB, free: 1.934 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.345e-05/0.1341, allocations: 8 kB / 484.8 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/0.1342, allocations: 77.66 kB / 484.9 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.1343, allocations: 0 / 484.9 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.377e-06/0.1343, allocations: 0 / 484.9 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.1343, allocations: 4 kB / 484.9 MB, free: 1.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001169/0.1344, allocations: 47.91 kB / 485 MB, free: 1.793 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004583/0.1349, allocations: 352.6 kB / 485.3 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001351/0.135, allocations: 70.48 kB / 485.4 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.158e-05/0.1351, allocations: 32.84 kB / 485.4 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.63e-05/0.1351, allocations: 0 / 485.4 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.1352, allocations: 34.56 kB / 485.5 MB, free: 1.242 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 9.22e-07/0.1352, allocations: 0 / 485.5 MB, free: 1.242 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001041/0.1362, allocations: 364.8 kB / 485.8 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.473e-05/0.1363, allocations: 51.41 kB / 485.9 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002309/0.1365, allocations: 248.3 kB / 486.1 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.1365, allocations: 29.7 kB / 486.1 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.217e-05/0.1366, allocations: 112 kB / 486.2 MB, free: 424 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.511e-05/0.1366, allocations: 39.39 kB / 486.3 MB, free: 384 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.187e-06/0.1367, allocations: 4 kB / 486.3 MB, free: 380 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.1368, allocations: 322.8 kB / 486.6 MB, free: 48 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/0.1369, allocations: 51.95 kB / 486.6 MB, free: 15.99 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.147e-05/0.137, allocations: 51.92 kB / 486.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001/0.1371, allocations: 47.98 kB / 486.7 MB, free: 15.9 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1371, allocations: 4 kB / 486.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002737/0.1374, allocations: 173.5 kB / 486.9 MB, free: 15.72 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.1375, allocations: 4 kB / 486.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.545e-06/0.1375, allocations: 3.984 kB / 486.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.1375, allocations: 0 / 486.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/0.1376, allocations: 35.92 kB / 487 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.1376, allocations: 0 / 487 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.37e-05/0.1377, allocations: 8 kB / 487 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.1377, allocations: 8 kB / 487 MB, free: 15.66 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 (13): * Single equations (assignments): 13 * 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.0001175/0.1378, allocations: 133.8 kB / 487.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.761e-05/0.1379, allocations: 15.77 kB / 487.1 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003461/0.1382, allocations: 195.1 kB / 487.3 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.1382, allocations: 7.938 kB / 487.3 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.1383, allocations: 3.938 kB / 487.3 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1383, allocations: 0 / 487.3 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006018/0.1389, allocations: 0.503 MB / 487.8 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.1389, allocations: 4 kB / 487.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.273e-05/0.139, allocations: 27.92 kB / 487.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.139, allocations: 4 kB / 487.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.139, allocations: 0 / 487.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.139, allocations: 0 / 487.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.139, allocations: 0 / 487.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003065/0.1393, allocations: 279.2 kB / 488.1 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.684e-05/0.1394, allocations: 88.92 kB / 488.2 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.148e-05/0.1394, allocations: 4 kB / 488.2 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.228e-05/0.1395, allocations: 7.984 kB / 488.2 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.697e-05/0.1396, allocations: 19.98 kB / 488.3 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.1396, allocations: 4 kB / 488.3 MB, free: 14.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001444/0.1397, allocations: 181.2 kB / 488.4 MB, free: 14.1 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1397, allocations: 0 / 488.4 MB, free: 14.1 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002524/0.14, allocations: 28 kB / 488.5 MB, free: 14.07 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 (13): * Single equations (assignments): 13 * 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.001439/0.1414, allocations: 1.13 MB / 489.6 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002582/0.1417, allocations: 127.9 kB / 489.7 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1417, allocations: 0 / 489.7 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001122/0.1418, allocations: 71.91 kB / 489.8 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003167/0.1422, allocations: 15.94 kB / 489.8 MB, free: 12.87 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001412/0.1436, allocations: 0.9822 MB / 490.8 MB, free: 11.84 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002587/0.1438, allocations: 0.7235 MB / 491.5 MB, free: 11.09 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.387e-05/0.1439, allocations: 28.52 kB / 491.5 MB, free: 11.05 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.145e-05/0.144, allocations: 43.42 kB / 491.6 MB, free: 11.01 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.144, allocations: 0 / 491.6 MB, free: 11.01 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01384/0.1579, allocations: 3.138 MB / 494.7 MB, free: 7.992 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002068/0.1581, allocations: 218.6 kB / 494.9 MB, free: 7.75 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.866/2.024, allocations: 4 kB / 494.9 MB, free: 7.746 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test4.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat does not exist to compare? outputFormat=mat