Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.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.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008514/0.0008512, allocations: 99.55 kB / 17 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009387/0.0009387, allocations: 192.7 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.433/1.433, allocations: 227.4 MB / 246 MB, free: 11.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2201/0.2201, allocations: 45.92 MB / 344.1 MB, free: 12.29 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003147/0.0003148, allocations: 11.94 kB / 418.2 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1391, allocations: 63.48 MB / 481.7 MB, free: 5.262 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.002361/0.1415, allocations: 1.342 MB / 483 MB, free: 3.906 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00104/0.1426, allocations: 491.3 kB / 483.5 MB, free: 3.422 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.682e-05/0.1427, allocations: 0 / 483.5 MB, free: 3.422 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002748/0.143, allocations: 95.73 kB / 483.6 MB, free: 3.328 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002616/0.1433, allocations: 87.78 kB / 483.7 MB, free: 3.242 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002712/0.1436, allocations: 79.83 kB / 483.7 MB, free: 3.164 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001614/0.1437, allocations: 87.73 kB / 483.8 MB, free: 3.078 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.1438, allocations: 19.98 kB / 483.8 MB, free: 3.059 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.18e-05/0.1439, allocations: 35.84 kB / 483.9 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.7e-05/0.144, allocations: 55.7 kB / 483.9 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.469e-05/0.144, allocations: 4 kB / 483.9 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.1441, allocations: 35.98 kB / 484 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.31e-05/0.1442, allocations: 27.91 kB / 484 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.221e-05/0.1442, allocations: 37.64 kB / 484 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001486/0.1444, allocations: 92.12 kB / 484.1 MB, free: 2.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.1444, allocations: 0 / 484.1 MB, free: 2.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1444, allocations: 4 kB / 484.1 MB, free: 2.766 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.1444, allocations: 0 / 484.1 MB, free: 2.766 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004564/0.1449, allocations: 410.8 kB / 484.5 MB, free: 2.316 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.1449, allocations: 8.031 kB / 484.5 MB, free: 2.309 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.972e-05/0.145, allocations: 38.55 kB / 484.6 MB, free: 2.262 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.439e-05/0.145, allocations: 15.81 kB / 484.6 MB, free: 2.246 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002287/0.1452, allocations: 207.2 kB / 484.8 MB, free: 2.004 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.654e-05/0.1453, allocations: 8 kB / 484.8 MB, free: 1.996 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.53e-05/0.1453, allocations: 11.91 kB / 484.8 MB, free: 1.984 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001595/0.1455, allocations: 69.66 kB / 484.9 MB, free: 1.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.1455, allocations: 0 / 484.9 MB, free: 1.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.1455, allocations: 4 kB / 484.9 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.1455, allocations: 0 / 484.9 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001133/0.1456, allocations: 43.91 kB / 484.9 MB, free: 1.863 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004432/0.1461, allocations: 336.6 kB / 485.2 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/0.1462, allocations: 62.55 kB / 485.3 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001223/0.1464, allocations: 28.8 kB / 485.3 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.1464, allocations: 0 / 485.3 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.015e-05/0.1464, allocations: 38.55 kB / 485.4 MB, free: 1.336 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 9.42e-07/0.1464, allocations: 0 / 485.4 MB, free: 1.336 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009789/0.1474, allocations: 345.5 kB / 485.7 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.986e-05/0.1475, allocations: 59.41 kB / 485.8 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002323/0.1477, allocations: 236.3 kB / 486 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.1477, allocations: 25.7 kB / 486 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.409e-05/0.1478, allocations: 112 kB / 486.1 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.932e-05/0.1478, allocations: 43.36 kB / 486.2 MB, free: 500 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.531e-06/0.1478, allocations: 0 / 486.2 MB, free: 500 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.148, allocations: 330.8 kB / 486.5 MB, free: 160 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.803e-05/0.1481, allocations: 39.98 kB / 486.5 MB, free: 120 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.237e-05/0.1482, allocations: 47.91 kB / 486.6 MB, free: 72 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.634e-05/0.1482, allocations: 39.75 kB / 486.6 MB, free: 36 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1483, allocations: 4 kB / 486.6 MB, free: 32 kB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000265/0.1485, allocations: 141.5 kB / 486.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.1486, allocations: 15.94 kB / 486.8 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.1486, allocations: 0 / 486.8 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.1486, allocations: 3.938 kB / 486.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.1487, allocations: 31.98 kB / 486.8 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.1487, allocations: 240 / 486.8 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.372e-05/0.1488, allocations: 7.938 kB / 486.8 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.1488, allocations: 8 kB / 486.8 MB, free: 15.82 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.000106/0.1489, allocations: 129.8 kB / 487 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.733e-05/0.149, allocations: 15.81 kB / 487 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003397/0.1493, allocations: 179 kB / 487.2 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.1493, allocations: 4 kB / 487.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1493, allocations: 0 / 487.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.1493, allocations: 3.984 kB / 487.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000889/0.1502, allocations: 494.9 kB / 487.6 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.1503, allocations: 0 / 487.6 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001374/0.1504, allocations: 27.98 kB / 487.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.1504, allocations: 0 / 487.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.1504, allocations: 0 / 487.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.1504, allocations: 4 kB / 487.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.1505, allocations: 0 / 487.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004716/0.1509, allocations: 256.1 kB / 487.9 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.125e-05/0.151, allocations: 89.02 kB / 488 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.999e-05/0.1511, allocations: 4 kB / 488 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001374/0.1512, allocations: 7.984 kB / 488 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.275e-05/0.1513, allocations: 15.98 kB / 488 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.32e-05/0.1513, allocations: 4 kB / 488 MB, free: 14.5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002351/0.1516, allocations: 181.2 kB / 488.2 MB, free: 14.33 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.1516, allocations: 0 / 488.2 MB, free: 14.33 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004691/0.152, allocations: 31.91 kB / 488.3 MB, free: 14.3 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.002125/0.1542, allocations: 1.125 MB / 489.4 MB, free: 13.31 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003574/0.1546, allocations: 103.9 kB / 489.5 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1546, allocations: 0 / 489.5 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001675/0.1548, allocations: 59.97 kB / 489.5 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004984/0.1553, allocations: 19 kB / 489.6 MB, free: 13.13 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001618/0.1569, allocations: 0.9273 MB / 490.5 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004013/0.1573, allocations: 0.7235 MB / 491.2 MB, free: 11.41 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.361e-05/0.1574, allocations: 12.55 kB / 491.2 MB, free: 11.39 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.288e-05/0.1575, allocations: 43.42 kB / 491.3 MB, free: 11.35 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1575, allocations: 0 / 491.3 MB, free: 11.35 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02092/0.1784, allocations: 3.043 MB / 494.3 MB, free: 8.414 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000296/0.1788, allocations: 218.6 kB / 494.5 MB, free: 8.172 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.804/1.982, allocations: 3 kB / 494.5 MB, free: 8.172 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test6_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test6.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat does not exist to compare? outputFormat=mat