Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.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.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008013/0.0008013, allocations: 98.08 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.0008701/0.0008702, allocations: 190.2 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.483/1.483, allocations: 227.4 MB / 246 MB, free: 10.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2141/0.2141, allocations: 45.92 MB / 344.1 MB, free: 12.02 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002803/0.0002805, allocations: 11.98 kB / 418.2 MB, free: 20.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1326, allocations: 63.47 MB / 481.6 MB, free: 5.262 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.002421/0.135, allocations: 1.37 MB / 483 MB, free: 3.875 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001084/0.1362, allocations: 0.5383 MB / 483.5 MB, free: 3.332 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.728e-05/0.1363, allocations: 0 / 483.5 MB, free: 3.332 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006279/0.1369, allocations: 443.2 kB / 484 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004825/0.1374, allocations: 267.5 kB / 484.2 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005293/0.138, allocations: 159.5 kB / 484.4 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003254/0.1383, allocations: 151.6 kB / 484.5 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.1384, allocations: 16.23 kB / 484.6 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001326/0.1385, allocations: 111.7 kB / 484.7 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002312/0.1388, allocations: 171.7 kB / 484.8 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.1388, allocations: 0 / 484.8 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001361/0.1389, allocations: 35.98 kB / 484.9 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001036/0.1391, allocations: 91.67 kB / 485 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.569e-05/0.1391, allocations: 69.45 kB / 485 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002556/0.1394, allocations: 211.9 kB / 485.2 MB, free: 1.633 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.1394, allocations: 4 kB / 485.2 MB, free: 1.629 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.1394, allocations: 0 / 485.2 MB, free: 1.629 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.1394, allocations: 0 / 485.2 MB, free: 1.629 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007286/0.1402, allocations: 0.6143 MB / 485.9 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.1402, allocations: 8.031 kB / 485.9 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.707e-05/0.1403, allocations: 34.56 kB / 485.9 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.873e-05/0.1403, allocations: 47.42 kB / 485.9 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002665/0.1406, allocations: 287.2 kB / 486.2 MB, free: 0.543 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.758e-06/0.1406, allocations: 7.938 kB / 486.2 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.163e-05/0.1406, allocations: 8 kB / 486.2 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001751/0.1408, allocations: 69.66 kB / 486.3 MB, free: 464 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.1408, allocations: 0 / 486.3 MB, free: 464 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-06/0.1408, allocations: 4 kB / 486.3 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.1409, allocations: 0 / 486.3 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000144/0.141, allocations: 47.97 kB / 486.4 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005587/0.1416, allocations: 424.7 kB / 486.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002149/0.1418, allocations: 62.55 kB / 486.8 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.682e-05/0.1419, allocations: 37 kB / 486.9 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/0.1419, allocations: 3.938 kB / 486.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.072e-05/0.142, allocations: 34.56 kB / 486.9 MB, free: 15.78 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.142, allocations: 0 / 486.9 MB, free: 15.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.001562/0.1435, allocations: 0.5663 MB / 487.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.62e-05/0.1436, allocations: 51.41 kB / 487.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008609/0.1444, allocations: 0.8698 MB / 488.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.517e-05/0.1445, allocations: 33.7 kB / 488.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001792/0.1447, allocations: 216.1 kB / 488.6 MB, free: 14.01 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.621e-05/0.1447, allocations: 35.45 kB / 488.7 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.152e-06/0.1447, allocations: 0 / 488.7 MB, free: 13.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.1449, allocations: 362.8 kB / 489 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001414/0.145, allocations: 63.95 kB / 489.1 MB, free: 13.55 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000136/0.1452, allocations: 59.97 kB / 489.1 MB, free: 13.49 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001443/0.1453, allocations: 75.83 kB / 489.2 MB, free: 13.42 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1453, allocations: 4 kB / 489.2 MB, free: 13.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003664/0.1457, allocations: 205.1 kB / 489.4 MB, free: 13.21 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.1457, allocations: 7.953 kB / 489.4 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.1458, allocations: 4 kB / 489.4 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.1458, allocations: 0 / 489.4 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.1459, allocations: 31.97 kB / 489.5 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.303e-06/0.1459, allocations: 4.062 kB / 489.5 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.621e-05/0.146, allocations: 19.98 kB / 489.5 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.146, allocations: 4 kB / 489.5 MB, free: 13.14 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 (11): * Single equations (assignments): 11 * 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.0002083/0.1462, allocations: 221.7 kB / 489.7 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.788e-05/0.1463, allocations: 47.44 kB / 489.8 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004775/0.1468, allocations: 257.7 kB / 490 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.1468, allocations: 3.938 kB / 490 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.227e-06/0.1468, allocations: 0 / 490 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.391e-06/0.1468, allocations: 3.984 kB / 490 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008476/0.1477, allocations: 0.617 MB / 490.6 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.1477, allocations: 4 kB / 490.6 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/0.1478, allocations: 39.97 kB / 490.7 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.1478, allocations: 0 / 490.7 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.1478, allocations: 4 kB / 490.7 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1478, allocations: 0 / 490.7 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1478, allocations: 0 / 490.7 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004152/0.1482, allocations: 324.5 kB / 491 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.191e-05/0.1484, allocations: 116.5 kB / 491.1 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.783e-05/0.1484, allocations: 0 / 491.1 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/0.1485, allocations: 23.98 kB / 491.1 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.532e-05/0.1486, allocations: 11.92 kB / 491.1 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.305e-06/0.1486, allocations: 4 kB / 491.2 MB, free: 11.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006442/0.1492, allocations: 0.6589 MB / 491.8 MB, free: 10.7 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1492, allocations: 0 / 491.8 MB, free: 10.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002736/0.1495, allocations: 35.98 kB / 491.8 MB, free: 10.67 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001592/0.1511, allocations: 1.196 MB / 493 MB, free: 9.605 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003657/0.1515, allocations: 147.8 kB / 493.2 MB, free: 9.461 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1515, allocations: 0 / 493.2 MB, free: 9.461 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001593/0.1517, allocations: 79.89 kB / 493.3 MB, free: 9.383 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003757/0.1521, allocations: 30.23 kB / 493.3 MB, free: 9.352 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003818/0.1559, allocations: 2.571 MB / 495.9 MB, free: 6.723 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004984/0.1564, allocations: 0.838 MB / 496.7 MB, free: 5.855 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001127/0.1565, allocations: 44.38 kB / 496.7 MB, free: 5.812 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001587/0.1567, allocations: 127.4 kB / 496.9 MB, free: 5.688 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1567, allocations: 0 / 496.9 MB, free: 5.688 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01873/0.1754, allocations: 6.024 MB / 0.4911 GB, free: 15.77 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001909/0.1757, allocations: 224.5 kB / 0.4913 GB, free: 15.53 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.948/2.123, allocations: 0 / 0.4913 GB, free: 15.53 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test3_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test3.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat does not exist to compare? outputFormat=mat