Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.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.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000929/0.0009293, allocations: 100.4 kB / 17.01 MB, free: 6.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009582/0.0009582, allocations: 194.7 kB / 17.91 MB, free: 5.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.469/1.469, allocations: 227.4 MB / 246 MB, free: 12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1978/0.1978, allocations: 45.92 MB / 344.1 MB, free: 12.23 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002909/0.000291, allocations: 11.94 kB / 418.2 MB, free: 20.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1375, allocations: 63.47 MB / 481.6 MB, free: 5.285 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test8): time 0.001914/0.1395, allocations: 1.291 MB / 482.9 MB, free: 3.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008108/0.1403, allocations: 483.2 kB / 483.4 MB, free: 3.504 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.719e-05/0.1404, allocations: 0 / 483.4 MB, free: 3.504 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001988/0.1406, allocations: 27.92 kB / 483.4 MB, free: 3.477 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002102/0.1408, allocations: 59.77 kB / 483.5 MB, free: 3.418 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002237/0.141, allocations: 83.2 kB / 483.6 MB, free: 3.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001275/0.1412, allocations: 51.84 kB / 483.6 MB, free: 3.289 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.259e-05/0.1413, allocations: 8 kB / 483.6 MB, free: 3.281 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.84e-05/0.1413, allocations: 23.86 kB / 483.7 MB, free: 3.258 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.082e-05/0.1414, allocations: 31.84 kB / 483.7 MB, free: 3.227 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.148e-05/0.1414, allocations: 0 / 483.7 MB, free: 3.227 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.322e-05/0.1415, allocations: 16 kB / 483.7 MB, free: 3.211 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.569e-05/0.1415, allocations: 11.98 kB / 483.7 MB, free: 3.199 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.203e-05/0.1416, allocations: 37.64 kB / 483.7 MB, free: 3.156 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001166/0.1417, allocations: 68.11 kB / 483.8 MB, free: 3.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1417, allocations: 0 / 483.8 MB, free: 3.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1417, allocations: 4 kB / 483.8 MB, free: 3.086 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.1417, allocations: 0 / 483.8 MB, free: 3.086 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004411/0.1422, allocations: 379 kB / 484.2 MB, free: 2.668 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.1422, allocations: 8.031 kB / 484.2 MB, free: 2.66 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.467e-05/0.1422, allocations: 34.5 kB / 484.2 MB, free: 2.617 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.724e-05/0.1423, allocations: 7.906 kB / 484.2 MB, free: 2.609 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001777/0.1425, allocations: 187 kB / 484.4 MB, free: 2.387 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.1425, allocations: 8 kB / 484.4 MB, free: 2.379 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.45e-05/0.1425, allocations: 0 / 484.4 MB, free: 2.379 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.1426, allocations: 49.62 kB / 484.5 MB, free: 2.324 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.1427, allocations: 4 kB / 484.5 MB, free: 2.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-06/0.1427, allocations: 0 / 484.5 MB, free: 2.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.1427, allocations: 4 kB / 484.5 MB, free: 2.316 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.78e-05/0.1428, allocations: 23.98 kB / 484.5 MB, free: 2.293 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004549/0.1432, allocations: 280.7 kB / 484.8 MB, free: 1.969 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002004/0.1434, allocations: 50.56 kB / 484.8 MB, free: 1.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.122e-05/0.1435, allocations: 16.94 kB / 484.8 MB, free: 1.891 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.298e-05/0.1435, allocations: 0 / 484.8 MB, free: 1.891 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/0.1436, allocations: 34.56 kB / 484.9 MB, free: 1.848 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 3.567e-06/0.1436, allocations: 0 / 484.9 MB, free: 1.848 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005529/0.1441, allocations: 165.2 kB / 485 MB, free: 1.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.302e-05/0.1442, allocations: 51.41 kB / 485.1 MB, free: 1.617 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001662/0.1444, allocations: 170.3 kB / 485.3 MB, free: 1.441 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.1444, allocations: 25.7 kB / 485.3 MB, free: 1.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.308e-05/0.1445, allocations: 100.1 kB / 485.4 MB, free: 1.309 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.208e-05/0.1445, allocations: 19.64 kB / 485.4 MB, free: 1.289 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-06/0.1445, allocations: 0 / 485.4 MB, free: 1.289 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.1446, allocations: 322.8 kB / 485.7 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.53e-05/0.1447, allocations: 23.98 kB / 485.7 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.348e-05/0.1448, allocations: 23.98 kB / 485.8 MB, free: 0.918 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.581e-05/0.1448, allocations: 23.98 kB / 485.8 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.1448, allocations: 0 / 485.8 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003171/0.1452, allocations: 85.58 kB / 485.9 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.1452, allocations: 8 kB / 485.9 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.1452, allocations: 0 / 485.9 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.1452, allocations: 4.203 kB / 485.9 MB, free: 0.793 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.359e-05/0.1453, allocations: 19.98 kB / 485.9 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.1453, allocations: 7.938 kB / 485.9 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.591e-05/0.1454, allocations: 4 kB / 485.9 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.1454, allocations: 4 kB / 485.9 MB, free: 0.7578 MB / 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 (5): * Single equations (assignments): 5 * 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.0001006/0.1455, allocations: 121.8 kB / 486 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.024e-05/0.1455, allocations: 7.906 kB / 486 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003317/0.1458, allocations: 97.97 kB / 486.1 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1459, allocations: 0 / 486.1 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1459, allocations: 3.953 kB / 486.1 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1459, allocations: 4 kB / 486.1 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004282/0.1463, allocations: 350.5 kB / 486.5 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.1463, allocations: 0 / 486.5 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.056e-05/0.1464, allocations: 12 kB / 486.5 MB, free: 108 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.1464, allocations: 4 kB / 486.5 MB, free: 104 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.1464, allocations: 7.953 kB / 486.5 MB, free: 96 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.1464, allocations: 7.922 kB / 486.5 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.1464, allocations: 4 kB / 486.5 MB, free: 84 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002298/0.1467, allocations: 183.4 kB / 486.7 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.264e-05/0.1467, allocations: 89 kB / 486.8 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.1467, allocations: 3.938 kB / 486.8 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.066e-05/0.1468, allocations: 12.23 kB / 486.8 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.182e-05/0.1469, allocations: 3.984 kB / 486.8 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.07e-06/0.1469, allocations: 4 kB / 486.8 MB, free: 15.76 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001004/0.147, allocations: 126.8 kB / 486.9 MB, free: 15.64 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.147, allocations: 4 kB / 486.9 MB, free: 15.63 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002392/0.1472, allocations: 12 kB / 487 MB, free: 15.62 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.001379/0.1486, allocations: 1.006 MB / 488 MB, free: 14.73 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002133/0.1488, allocations: 59.95 kB / 488 MB, free: 14.67 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1488, allocations: 0 / 488 MB, free: 14.67 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.937e-05/0.1489, allocations: 27.98 kB / 488 MB, free: 14.64 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003291/0.1493, allocations: 21.8 kB / 488.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001259/0.1505, allocations: 0.5976 MB / 488.7 MB, free: 13.97 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003724/0.1509, allocations: 0.6965 MB / 489.4 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.387e-05/0.151, allocations: 16.23 kB / 489.4 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.707e-05/0.151, allocations: 23.42 kB / 489.4 MB, free: 13.21 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.151, allocations: 0 / 489.4 MB, free: 13.21 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01408/0.1651, allocations: 2.174 MB / 491.6 MB, free: 11.14 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000182/0.1653, allocations: 228.3 kB / 491.8 MB, free: 10.89 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.892/2.057, allocations: 0 / 491.8 MB, free: 10.89 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test8_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test8.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat does not exist to compare? outputFormat=mat