Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.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.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009406/0.0009405, allocations: 99.67 kB / 17 MB, free: 6.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001142/0.001142, allocations: 194.5 kB / 17.9 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.52/1.52, allocations: 227.3 MB / 246 MB, free: 11.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2336/0.2336, allocations: 45.92 MB / 344.1 MB, free: 12.23 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002888/0.0002891, allocations: 8 kB / 418.2 MB, free: 20.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1363, allocations: 63.48 MB / 481.6 MB, free: 5.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.001932/0.1383, allocations: 1.307 MB / 482.9 MB, free: 3.957 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008274/0.1391, allocations: 487.2 kB / 483.4 MB, free: 3.477 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.481e-05/0.1392, allocations: 8 kB / 483.4 MB, free: 3.469 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002551/0.1395, allocations: 71.78 kB / 483.5 MB, free: 3.398 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002295/0.1397, allocations: 87.77 kB / 483.6 MB, free: 3.312 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002352/0.14, allocations: 75.84 kB / 483.7 MB, free: 3.238 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001497/0.1401, allocations: 63.83 kB / 483.7 MB, free: 3.176 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.1402, allocations: 15.98 kB / 483.7 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.938e-05/0.1403, allocations: 35.84 kB / 483.8 MB, free: 3.125 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001081/0.1404, allocations: 47.81 kB / 483.8 MB, free: 3.078 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.28e-05/0.1404, allocations: 0 / 483.8 MB, free: 3.078 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.508e-05/0.1405, allocations: 39.98 kB / 483.9 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.754e-05/0.1406, allocations: 19.92 kB / 483.9 MB, free: 3.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.607e-05/0.1406, allocations: 37.64 kB / 483.9 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001457/0.1408, allocations: 76.16 kB / 484 MB, free: 2.902 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.1408, allocations: 3.938 kB / 484 MB, free: 2.898 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1408, allocations: 3.938 kB / 484 MB, free: 2.895 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.1408, allocations: 0 / 484 MB, free: 2.895 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.0005569/0.1414, allocations: 398.9 kB / 484.4 MB, free: 2.457 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.1414, allocations: 12.03 kB / 484.4 MB, free: 2.445 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.685e-05/0.1415, allocations: 30.56 kB / 484.4 MB, free: 2.406 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.515e-05/0.1415, allocations: 7.906 kB / 484.4 MB, free: 2.398 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002044/0.1417, allocations: 203.5 kB / 484.6 MB, free: 2.156 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.1417, allocations: 4 kB / 484.6 MB, free: 2.152 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.895e-05/0.1418, allocations: 4 kB / 484.6 MB, free: 2.148 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.1419, allocations: 57.67 kB / 484.7 MB, free: 2.086 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.1419, allocations: 4 kB / 484.7 MB, free: 2.082 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.614e-06/0.1419, allocations: 0 / 484.7 MB, free: 2.082 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.142, allocations: 0 / 484.7 MB, free: 2.082 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9e-05/0.1421, allocations: 27.98 kB / 484.7 MB, free: 2.055 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003932/0.1425, allocations: 300.6 kB / 485 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/0.1426, allocations: 50.56 kB / 485.1 MB, free: 1.652 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.591e-05/0.1426, allocations: 16.86 kB / 485.1 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/0.1427, allocations: 0 / 485.1 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/0.1427, allocations: 34.56 kB / 485.1 MB, free: 1.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.1427, allocations: 0 / 485.1 MB, free: 1.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008233/0.1435, allocations: 265.3 kB / 485.4 MB, free: 1.324 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.837e-05/0.1436, allocations: 55.34 kB / 485.4 MB, free: 1.258 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000195/0.1438, allocations: 214.8 kB / 485.6 MB, free: 1.039 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/0.1438, allocations: 25.7 kB / 485.7 MB, free: 1.008 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.416e-05/0.1439, allocations: 116.1 kB / 485.8 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.514e-05/0.1439, allocations: 19.72 kB / 485.8 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.867e-06/0.1439, allocations: 0 / 485.8 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.144, allocations: 322.8 kB / 486.1 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.588e-05/0.1441, allocations: 31.97 kB / 486.2 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.908e-05/0.1442, allocations: 23.98 kB / 486.2 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.29e-05/0.1442, allocations: 35.98 kB / 486.2 MB, free: 468 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.1443, allocations: 0 / 486.2 MB, free: 468 kB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002173/0.1445, allocations: 109.4 kB / 486.3 MB, free: 352 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.1445, allocations: 8 kB / 486.3 MB, free: 344 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.1445, allocations: 4 kB / 486.3 MB, free: 340 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.1445, allocations: 3.953 kB / 486.3 MB, free: 336 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.772e-05/0.1446, allocations: 19.98 kB / 486.4 MB, free: 316 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.1446, allocations: 0 / 486.4 MB, free: 316 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.099e-05/0.1447, allocations: 7.984 kB / 486.4 MB, free: 308 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/0.1447, allocations: 4 kB / 486.4 MB, free: 304 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.979e-05/0.1448, allocations: 121.8 kB / 486.5 MB, free: 172 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.057e-05/0.1448, allocations: 19.84 kB / 486.5 MB, free: 152 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002567/0.1451, allocations: 134.8 kB / 486.6 MB, free: 16 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.1451, allocations: 3.953 kB / 486.6 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.1451, allocations: 4 kB / 486.6 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.1451, allocations: 0 / 486.6 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005119/0.1457, allocations: 415.3 kB / 487 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1457, allocations: 0 / 487 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.704e-05/0.1457, allocations: 23.94 kB / 487.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.1457, allocations: 0 / 487.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.1458, allocations: 4.031 kB / 487.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.1458, allocations: 4.469 kB / 487.1 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1458, allocations: 0 / 487.1 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002978/0.1461, allocations: 224.1 kB / 487.3 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.442e-05/0.1462, allocations: 89 kB / 487.4 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.026e-05/0.1462, allocations: 7.953 kB / 487.4 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.954e-05/0.1463, allocations: 7.938 kB / 487.4 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.451e-05/0.1463, allocations: 11.98 kB / 487.4 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.1463, allocations: 4 kB / 487.4 MB, free: 15.14 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001343/0.1465, allocations: 160.7 kB / 487.6 MB, free: 14.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1465, allocations: 0 / 487.6 MB, free: 14.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002619/0.1468, allocations: 31.98 kB / 487.6 MB, free: 14.95 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.001459/0.1482, allocations: 1.081 MB / 488.7 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002122/0.1485, allocations: 71.95 kB / 488.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.1485, allocations: 4 kB / 488.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.325e-05/0.1486, allocations: 35.92 kB / 488.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003328/0.1489, allocations: 23.92 kB / 488.8 MB, free: 13.87 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/0.1501, allocations: 0.7669 MB / 489.6 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003581/0.1505, allocations: 0.7082 MB / 490.3 MB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.537e-05/0.1506, allocations: 16.97 kB / 490.3 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.826e-05/0.1506, allocations: 31.42 kB / 490.3 MB, free: 12.27 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1506, allocations: 0 / 490.3 MB, free: 12.27 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01391/0.1646, allocations: 2.667 MB / 493 MB, free: 9.719 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001847/0.1648, allocations: 214.8 kB / 493.2 MB, free: 9.48 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.942/2.107, allocations: 0 / 493.2 MB, free: 9.48 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test30_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test30.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat does not exist to compare? outputFormat=mat