Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.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.CombiTimeTable.Test51,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test51,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009538/0.0009537, allocations: 96.58 kB / 17 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001055/0.001055, allocations: 193 kB / 17.9 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.423/1.423, allocations: 227.4 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.1999/0.1999, allocations: 45.92 MB / 344.1 MB, free: 12.22 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002685/0.0002686, allocations: 8 kB / 418.2 MB, free: 20.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1472, allocations: 63.48 MB / 481.7 MB, free: 5.266 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.00234/0.1496, allocations: 1.423 MB / 483.1 MB, free: 3.828 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001581/0.1512, allocations: 0.9518 MB / 484 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.909e-05/0.1513, allocations: 0 / 484 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003321/0.1517, allocations: 55.8 kB / 484.1 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002688/0.152, allocations: 79.73 kB / 484.2 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003142/0.1523, allocations: 91.77 kB / 484.2 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001727/0.1525, allocations: 91.69 kB / 484.3 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.1526, allocations: 8 kB / 484.3 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.921e-05/0.1527, allocations: 43.77 kB / 484.4 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.72e-05/0.1528, allocations: 31.86 kB / 484.4 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.478e-05/0.1528, allocations: 4 kB / 484.4 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001143/0.1529, allocations: 35.98 kB / 484.5 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.21e-05/0.153, allocations: 27.84 kB / 484.5 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.808e-05/0.153, allocations: 41.64 kB / 484.5 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001629/0.1532, allocations: 92.08 kB / 484.6 MB, free: 2.273 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1532, allocations: 0 / 484.6 MB, free: 2.273 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1532, allocations: 0 / 484.6 MB, free: 2.273 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.1532, allocations: 0 / 484.6 MB, free: 2.273 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005544/0.1538, allocations: 422.8 kB / 485 MB, free: 1.812 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.1539, allocations: 8.031 kB / 485 MB, free: 1.805 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.195e-05/0.1539, allocations: 34.56 kB / 485.1 MB, free: 1.762 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.534e-05/0.1539, allocations: 15.81 kB / 485.1 MB, free: 1.746 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002504/0.1542, allocations: 212.4 kB / 485.3 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.1542, allocations: 4 kB / 485.3 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.906e-05/0.1542, allocations: 7.984 kB / 485.3 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.1544, allocations: 53.67 kB / 485.4 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.1544, allocations: 3.906 kB / 485.4 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.1544, allocations: 0 / 485.4 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.1544, allocations: 11.94 kB / 485.4 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.47e-05/0.1545, allocations: 15.98 kB / 485.4 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000378/0.1549, allocations: 292.9 kB / 485.7 MB, free: 1.059 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000167/0.1551, allocations: 54.67 kB / 485.7 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.342e-05/0.1552, allocations: 24.8 kB / 485.8 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.367e-05/0.1552, allocations: 0 / 485.8 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001725/0.1554, allocations: 71.38 kB / 485.8 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.1554, allocations: 0 / 485.8 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005516/0.1559, allocations: 177.1 kB / 486 MB, free: 0.707 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.488e-05/0.156, allocations: 55.36 kB / 486 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002459/0.1562, allocations: 242.1 kB / 486.3 MB, free: 404 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.1563, allocations: 29.7 kB / 486.3 MB, free: 368 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.84e-05/0.1564, allocations: 104.1 kB / 486.4 MB, free: 260 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.899e-05/0.1564, allocations: 23.66 kB / 486.4 MB, free: 236 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.643e-06/0.1564, allocations: 4 kB / 486.4 MB, free: 232 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.1566, allocations: 326.8 kB / 486.8 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.128e-05/0.1566, allocations: 19.98 kB / 486.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.966e-05/0.1567, allocations: 37.7 kB / 486.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.874e-05/0.1568, allocations: 27.94 kB / 486.8 MB, free: 15.81 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1568, allocations: 3.938 kB / 486.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001698/0.1569, allocations: 105.7 kB / 487 MB, free: 15.7 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.157, allocations: 10.34 kB / 487 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.157, allocations: 3.938 kB / 487 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.157, allocations: 0 / 487 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.596e-05/0.1571, allocations: 19.92 kB / 487 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.1571, allocations: 7.953 kB / 487 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.538e-05/0.1572, allocations: 4.031 kB / 487 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.1572, allocations: 4.375 kB / 487 MB, free: 15.65 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001137/0.1573, allocations: 129.8 kB / 487.1 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.12e-05/0.1573, allocations: 15.81 kB / 487.1 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.074e-05/0.1574, allocations: 13.41 kB / 487.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.1574, allocations: 0 / 487.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.375e-06/0.1574, allocations: 15.97 kB / 487.2 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.1574, allocations: 3.953 kB / 487.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004424/0.1579, allocations: 399.3 kB / 487.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.1579, allocations: 0 / 487.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.307e-05/0.1579, allocations: 11.98 kB / 487.6 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.1579, allocations: 0 / 487.6 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.208e-06/0.1579, allocations: 4 kB / 487.6 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.1579, allocations: 3.953 kB / 487.6 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.158, allocations: 3.938 kB / 487.6 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002238/0.1582, allocations: 204.2 kB / 487.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.676e-05/0.1583, allocations: 89 kB / 487.9 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.169e-05/0.1583, allocations: 4 kB / 487.9 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.085e-05/0.1584, allocations: 8 kB / 487.9 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.733e-05/0.1584, allocations: 7.938 kB / 487.9 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/0.1584, allocations: 4 kB / 487.9 MB, free: 14.64 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001525/0.1586, allocations: 176.4 kB / 488.1 MB, free: 14.47 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1586, allocations: 0 / 488.1 MB, free: 14.47 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002669/0.1589, allocations: 32 kB / 488.1 MB, free: 14.44 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001422/0.1603, allocations: 1.094 MB / 489.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001696/0.1605, allocations: 55.92 kB / 489.3 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1605, allocations: 0 / 489.3 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.418e-05/0.1606, allocations: 27.98 kB / 489.3 MB, free: 13.4 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003362/0.1609, allocations: 32.06 kB / 489.3 MB, free: 13.37 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001264/0.1622, allocations: 0.8123 MB / 490.1 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003092/0.1625, allocations: 0.7121 MB / 490.8 MB, free: 11.77 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.657e-05/0.1626, allocations: 13.19 kB / 490.8 MB, free: 11.75 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.769e-05/0.1626, allocations: 43.42 kB / 490.9 MB, free: 11.71 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1626, allocations: 0 / 490.9 MB, free: 11.71 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01401/0.1767, allocations: 3.165 MB / 494.1 MB, free: 8.672 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001824/0.1769, allocations: 223.7 kB / 494.3 MB, free: 8.434 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.855/2.032, allocations: 0 / 494.3 MB, free: 8.434 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test51_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test51.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat does not exist to compare? outputFormat=mat