Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test9,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000824/0.000824, allocations: 99.86 kB / 17 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001412/0.001412, allocations: 192.5 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.455/1.455, allocations: 227.4 MB / 246 MB, free: 10.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2047/0.2047, allocations: 45.92 MB / 344.1 MB, free: 11.96 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002597/0.0002598, allocations: 12 kB / 418.2 MB, free: 20.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1522, allocations: 63.48 MB / 481.7 MB, free: 5.219 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.00204/0.1543, allocations: 1.423 MB / 483.1 MB, free: 3.781 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001457/0.1558, allocations: 0.9479 MB / 484 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.736e-05/0.1559, allocations: 0 / 484 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003255/0.1563, allocations: 79.75 kB / 484.1 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002998/0.1566, allocations: 95.7 kB / 484.2 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003011/0.1569, allocations: 99.77 kB / 484.3 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001826/0.1571, allocations: 95.69 kB / 484.4 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.161e-05/0.1572, allocations: 11.98 kB / 484.4 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.1573, allocations: 55.75 kB / 484.5 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.1574, allocations: 43.83 kB / 484.5 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.594e-05/0.1574, allocations: 4 kB / 484.5 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001003/0.1575, allocations: 31.98 kB / 484.5 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.478e-05/0.1576, allocations: 19.92 kB / 484.6 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.057e-05/0.1576, allocations: 45.58 kB / 484.6 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001646/0.1578, allocations: 100.1 kB / 484.7 MB, free: 2.152 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1578, allocations: 0 / 484.7 MB, free: 2.152 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1578, allocations: 0 / 484.7 MB, free: 2.152 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.1578, allocations: 0 / 484.7 MB, free: 2.152 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.0004908/0.1583, allocations: 414.8 kB / 485.1 MB, free: 1.699 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.1584, allocations: 8.031 kB / 485.1 MB, free: 1.691 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.938e-05/0.1584, allocations: 34.56 kB / 485.1 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.662e-05/0.1585, allocations: 11.81 kB / 485.2 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002452/0.1587, allocations: 219.3 kB / 485.4 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.1587, allocations: 4 kB / 485.4 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.48e-05/0.1587, allocations: 0 / 485.4 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.1589, allocations: 57.67 kB / 485.4 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.1589, allocations: 3.938 kB / 485.4 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.1589, allocations: 3.984 kB / 485.4 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.1589, allocations: 4 kB / 485.4 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.767e-05/0.159, allocations: 15.98 kB / 485.5 MB, free: 1.289 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003791/0.1594, allocations: 296.8 kB / 485.7 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001481/0.1596, allocations: 54.67 kB / 485.8 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.739e-05/0.1596, allocations: 20.8 kB / 485.8 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.1596, allocations: 4 kB / 485.8 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001571/0.1598, allocations: 71.3 kB / 485.9 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.1598, allocations: 0 / 485.9 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000538/0.1604, allocations: 181.2 kB / 486.1 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.639e-05/0.1604, allocations: 55.36 kB / 486.1 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002177/0.1606, allocations: 220.3 kB / 486.3 MB, free: 304 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/0.1607, allocations: 29.7 kB / 486.4 MB, free: 268 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.562e-05/0.1607, allocations: 108 kB / 486.5 MB, free: 156 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.98e-05/0.1608, allocations: 23.73 kB / 486.5 MB, free: 132 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.601e-06/0.1608, allocations: 8 kB / 486.5 MB, free: 124 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.1609, allocations: 322.8 kB / 486.8 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.623e-05/0.161, allocations: 20 kB / 486.8 MB, free: 15.78 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.124e-05/0.1611, allocations: 33.7 kB / 486.9 MB, free: 15.74 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.372e-05/0.1611, allocations: 27.92 kB / 486.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1612, allocations: 3.938 kB / 486.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001758/0.1613, allocations: 101.5 kB / 487 MB, free: 15.6 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.1614, allocations: 4.188 kB / 487 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1614, allocations: 0 / 487 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.1614, allocations: 7.938 kB / 487 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.1615, allocations: 23.92 kB / 487 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.1615, allocations: 3.953 kB / 487 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.679e-05/0.1616, allocations: 4 kB / 487 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.1616, allocations: 4 kB / 487 MB, free: 15.55 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.0001053/0.1617, allocations: 128.1 kB / 487.2 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.186e-05/0.1617, allocations: 19.84 kB / 487.2 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.177e-05/0.1618, allocations: 17.39 kB / 487.2 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.1618, allocations: 4 kB / 487.2 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.1618, allocations: 0 / 487.2 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.1618, allocations: 3.953 kB / 487.2 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004316/0.1622, allocations: 391.3 kB / 487.6 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.1622, allocations: 3.984 kB / 487.6 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.439e-05/0.1623, allocations: 12.36 kB / 487.6 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.1623, allocations: 4.031 kB / 487.6 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.1623, allocations: 12 kB / 487.6 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.192e-06/0.1623, allocations: 7.891 kB / 487.6 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1623, allocations: 240 / 487.6 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002285/0.1626, allocations: 204.2 kB / 487.8 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.055e-05/0.1626, allocations: 93 kB / 487.9 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.99e-05/0.1627, allocations: 8 kB / 487.9 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.916e-05/0.1628, allocations: 0 / 487.9 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.494e-05/0.1628, allocations: 15.94 kB / 488 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.1628, allocations: 4 kB / 488 MB, free: 14.54 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001612/0.163, allocations: 165.2 kB / 488.1 MB, free: 14.38 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.163, allocations: 0 / 488.1 MB, free: 14.38 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000271/0.1633, allocations: 27.89 kB / 488.1 MB, free: 14.36 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.001573/0.1649, allocations: 1.074 MB / 489.2 MB, free: 13.42 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001806/0.1651, allocations: 63.91 kB / 489.3 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1651, allocations: 0 / 489.3 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.334e-05/0.1652, allocations: 27.98 kB / 489.3 MB, free: 13.33 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000361/0.1655, allocations: 28.12 kB / 489.3 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001347/0.1669, allocations: 0.8007 MB / 490.1 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/0.1672, allocations: 0.7157 MB / 490.9 MB, free: 11.71 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.528e-05/0.1673, allocations: 13.19 kB / 490.9 MB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.994e-05/0.1674, allocations: 43.41 kB / 490.9 MB, free: 11.66 MB / 366.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1674, allocations: 0 / 490.9 MB, free: 11.66 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0192/0.1866, allocations: 3.105 MB / 494 MB, free: 8.668 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003699/0.1871, allocations: 222.2 kB / 494.2 MB, free: 8.426 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.921/2.108, allocations: 0 / 494.2 MB, free: 8.426 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test9_fmu --startTime=0 --stopTime=3.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test9.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat does not exist to compare? outputFormat=mat