Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.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.Test18,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test18,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test18",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009544/0.0009544, allocations: 96.94 kB / 17 MB, free: 6.793 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001169/0.001169, allocations: 197.9 kB / 17.91 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.442/1.442, 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.2964/0.2964, allocations: 45.91 MB / 344.1 MB, free: 11.99 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002994/0.0002998, allocations: 8 kB / 418.2 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1403, allocations: 63.47 MB / 481.6 MB, free: 5.242 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.001935/0.1422, allocations: 1.314 MB / 483 MB, free: 3.914 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001761/0.144, allocations: 1.082 MB / 484 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.88e-05/0.1441, allocations: 0 / 484 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002324/0.1444, allocations: 23.86 kB / 484.1 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000252/0.1446, allocations: 67.81 kB / 484.1 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003229/0.1449, allocations: 99.75 kB / 484.2 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001821/0.1451, allocations: 67.77 kB / 484.3 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.1453, allocations: 15.98 kB / 484.3 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.11e-05/0.1453, allocations: 23.92 kB / 484.3 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001827/0.1455, allocations: 31.84 kB / 484.4 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.638e-05/0.1456, allocations: 0 / 484.4 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001967/0.1458, allocations: 87.88 kB / 484.4 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.96e-05/0.1458, allocations: 15.92 kB / 484.5 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.153e-05/0.1459, allocations: 33.7 kB / 484.5 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00023/0.1461, allocations: 112 kB / 484.6 MB, free: 2.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.1461, allocations: 0 / 484.6 MB, free: 2.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.127e-06/0.1461, allocations: 4 kB / 484.6 MB, free: 2.246 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.1462, allocations: 3.938 kB / 484.6 MB, free: 2.242 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.0006594/0.1468, allocations: 395 kB / 485 MB, free: 1.809 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.1469, allocations: 12.03 kB / 485 MB, free: 1.797 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.055e-05/0.1469, allocations: 34.56 kB / 485 MB, free: 1.754 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.2e-05/0.147, allocations: 11.89 kB / 485.1 MB, free: 1.742 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002425/0.1472, allocations: 190.9 kB / 485.2 MB, free: 1.516 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.1472, allocations: 4 kB / 485.2 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.373e-05/0.1473, allocations: 8 kB / 485.3 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001949/0.1475, allocations: 79.33 kB / 485.3 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.1475, allocations: 0 / 485.3 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.1475, allocations: 4 kB / 485.3 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.1475, allocations: 4 kB / 485.3 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001179/0.1477, allocations: 39.97 kB / 485.4 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005191/0.1482, allocations: 328.6 kB / 485.7 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001305/0.1483, allocations: 50.56 kB / 485.7 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.319e-05/0.1484, allocations: 28.97 kB / 485.8 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.577e-05/0.1484, allocations: 0 / 485.8 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.459e-05/0.1485, allocations: 38.59 kB / 485.8 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.1485, allocations: 0 / 485.8 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007185/0.1492, allocations: 209.2 kB / 486 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.007e-05/0.1493, allocations: 81.11 kB / 486.1 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001709/0.1495, allocations: 149.9 kB / 486.2 MB, free: 404 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.1495, allocations: 25.7 kB / 486.3 MB, free: 372 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.633e-05/0.1496, allocations: 104 kB / 486.4 MB, free: 264 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.141e-05/0.1496, allocations: 27.61 kB / 486.4 MB, free: 236 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.768e-06/0.1496, allocations: 4 kB / 486.4 MB, free: 232 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.1498, allocations: 318.8 kB / 486.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.02e-05/0.1499, allocations: 31.97 kB / 486.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.945e-05/0.15, allocations: 53.67 kB / 486.8 MB, free: 15.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.541e-05/0.1501, allocations: 36.02 kB / 486.8 MB, free: 15.78 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1501, allocations: 0 / 486.8 MB, free: 15.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002071/0.1503, allocations: 113.6 kB / 486.9 MB, free: 15.66 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.1503, allocations: 9.812 kB / 486.9 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.1503, allocations: 0 / 486.9 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.1504, allocations: 7.953 kB / 487 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.1505, allocations: 23.98 kB / 487 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.1505, allocations: 3.938 kB / 487 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.063e-05/0.1506, allocations: 11.94 kB / 487 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.1506, allocations: 3.984 kB / 487 MB, free: 15.61 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 (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 0.0001057/0.1507, allocations: 117.8 kB / 487.1 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.213e-05/0.1507, allocations: 7.906 kB / 487.1 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002911/0.151, allocations: 142.6 kB / 487.3 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.808e-06/0.151, allocations: 3.953 kB / 487.3 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.1511, allocations: 0 / 487.3 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.1511, allocations: 0 / 487.3 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004929/0.1516, allocations: 414.6 kB / 487.7 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1516, allocations: 0 / 487.7 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.551e-05/0.1516, allocations: 23.92 kB / 487.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.1517, allocations: 3.953 kB / 487.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.697e-06/0.1517, allocations: 4 kB / 487.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1517, allocations: 4 kB / 487.7 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1517, allocations: 0 / 487.7 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002653/0.152, allocations: 211.4 kB / 487.9 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.734e-05/0.152, allocations: 89.38 kB / 488 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.401e-05/0.1521, allocations: 11.95 kB / 488 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.355e-05/0.1521, allocations: 8 kB / 488 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.103e-05/0.1522, allocations: 11.98 kB / 488 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.1522, allocations: 0 / 488 MB, free: 14.47 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001042/0.1523, allocations: 123.2 kB / 488.2 MB, free: 14.35 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1523, allocations: 0 / 488.2 MB, free: 14.35 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002965/0.1526, allocations: 39.98 kB / 488.2 MB, free: 14.31 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 (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.001581/0.1542, allocations: 1.126 MB / 489.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002324/0.1544, allocations: 87.88 kB / 489.4 MB, free: 13.24 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1545, allocations: 0 / 489.4 MB, free: 13.24 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.627e-05/0.1545, allocations: 43.97 kB / 489.4 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003059/0.1549, allocations: 15.95 kB / 489.5 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/0.1559, allocations: 0.6608 MB / 490.1 MB, free: 12.47 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002469/0.1562, allocations: 0.6965 MB / 490.8 MB, free: 11.75 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.555e-05/0.1563, allocations: 20.72 kB / 490.8 MB, free: 11.73 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.238e-05/0.1564, allocations: 31.42 kB / 490.9 MB, free: 11.7 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1564, allocations: 0 / 490.9 MB, free: 11.7 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01483/0.1712, allocations: 2.98 MB / 493.8 MB, free: 8.832 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001847/0.1714, allocations: 238.2 kB / 494.1 MB, free: 8.574 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.86/2.032, allocations: 0 / 494.1 MB, free: 8.574 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test18_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test18.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat does not exist to compare? outputFormat=mat