Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007956/0.0007957, allocations: 96.34 kB / 17 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008323/0.0008323, allocations: 198.5 kB / 17.91 MB, free: 5.902 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.416/1.416, allocations: 227.4 MB / 246 MB, free: 10.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2139/0.2139, allocations: 45.92 MB / 344.1 MB, free: 11.99 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003123/0.0003124, allocations: 15.94 kB / 418.2 MB, free: 20.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1444, allocations: 63.47 MB / 481.7 MB, free: 5.227 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.003218/0.1477, allocations: 1.435 MB / 483.1 MB, free: 3.777 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002655/0.1504, allocations: 0.944 MB / 484 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001/0.1505, allocations: 0 / 484 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003383/0.1509, allocations: 39.83 kB / 484.1 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003946/0.1513, allocations: 79.73 kB / 484.2 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004518/0.1518, allocations: 87.83 kB / 484.2 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002205/0.152, allocations: 87.69 kB / 484.3 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.1521, allocations: 12 kB / 484.3 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001247/0.1523, allocations: 39.78 kB / 484.4 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001642/0.1525, allocations: 35.78 kB / 484.4 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.714e-05/0.1525, allocations: 0 / 484.4 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001386/0.1527, allocations: 36 kB / 484.4 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.934e-05/0.1527, allocations: 23.91 kB / 484.5 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.551e-05/0.1528, allocations: 37.64 kB / 484.5 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002179/0.153, allocations: 84.09 kB / 484.6 MB, free: 2.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.1531, allocations: 3.938 kB / 484.6 MB, free: 2.266 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.996e-06/0.1531, allocations: 0 / 484.6 MB, free: 2.266 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.1531, allocations: 0 / 484.6 MB, free: 2.266 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.0006874/0.1538, allocations: 406.9 kB / 485 MB, free: 1.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.1538, allocations: 8.031 kB / 485 MB, free: 1.812 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.657e-05/0.1539, allocations: 46.5 kB / 485 MB, free: 1.758 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.547e-05/0.154, allocations: 7.906 kB / 485 MB, free: 1.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003314/0.1543, allocations: 203.5 kB / 485.2 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.1544, allocations: 4 kB / 485.2 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.874e-05/0.1544, allocations: 4 kB / 485.3 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002072/0.1546, allocations: 61.61 kB / 485.3 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.1547, allocations: 0 / 485.3 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.1547, allocations: 0 / 485.3 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.1547, allocations: 0 / 485.3 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001147/0.1548, allocations: 19.98 kB / 485.3 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005191/0.1554, allocations: 288.8 kB / 485.6 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002823/0.1557, allocations: 62.61 kB / 485.7 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.19e-05/0.1558, allocations: 16.86 kB / 485.7 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.265e-05/0.1558, allocations: 7.984 kB / 485.7 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002327/0.1561, allocations: 71.38 kB / 485.8 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 5.621e-06/0.1561, allocations: 0 / 485.8 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000794/0.1569, allocations: 181.1 kB / 485.9 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.68e-05/0.157, allocations: 59.34 kB / 486 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003101/0.1573, allocations: 194.9 kB / 486.2 MB, free: 464 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.499e-05/0.1573, allocations: 25.7 kB / 486.2 MB, free: 432 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.702e-05/0.1574, allocations: 100.1 kB / 486.3 MB, free: 328 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.285e-05/0.1575, allocations: 23.7 kB / 486.3 MB, free: 304 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.135e-06/0.1575, allocations: 4 kB / 486.3 MB, free: 300 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001943/0.1577, allocations: 322.8 kB / 486.7 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000103/0.1578, allocations: 23.98 kB / 486.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/0.158, allocations: 37.64 kB / 486.7 MB, free: 15.9 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001223/0.1581, allocations: 20.08 kB / 486.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1581, allocations: 0 / 486.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003433/0.1585, allocations: 117.4 kB / 486.9 MB, free: 15.76 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/0.1585, allocations: 7.984 kB / 486.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.1585, allocations: 0 / 486.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.1586, allocations: 0 / 486.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001559/0.1587, allocations: 16 kB / 486.9 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.1588, allocations: 3.953 kB / 486.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.273e-05/0.1589, allocations: 4 kB / 486.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.505e-05/0.1589, allocations: 3.984 kB / 486.9 MB, free: 15.73 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.0001601/0.1591, allocations: 134 kB / 487 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.507e-05/0.1591, allocations: 11.89 kB / 487 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.347e-05/0.1592, allocations: 21.33 kB / 487.1 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/0.1592, allocations: 4 kB / 487.1 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.1592, allocations: 0 / 487.1 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/0.1593, allocations: 3.953 kB / 487.1 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007584/0.16, allocations: 387.2 kB / 487.4 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.16, allocations: 8.406 kB / 487.4 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.14e-05/0.1601, allocations: 15.92 kB / 487.5 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.1601, allocations: 0 / 487.5 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.1602, allocations: 4 kB / 487.5 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.1602, allocations: 3.953 kB / 487.5 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.1602, allocations: 4 kB / 487.5 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003796/0.1606, allocations: 200.3 kB / 487.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.593e-05/0.1607, allocations: 96.91 kB / 487.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.301e-05/0.1607, allocations: 4 kB / 487.8 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/0.1609, allocations: 7.938 kB / 487.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.201e-05/0.161, allocations: 11.88 kB / 487.8 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.206e-05/0.161, allocations: 4 kB / 487.8 MB, free: 14.72 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002234/0.1612, allocations: 152.7 kB / 487.9 MB, free: 14.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.1613, allocations: 0 / 487.9 MB, free: 14.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00051/0.1618, allocations: 20 kB / 488 MB, free: 14.55 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.00249/0.1643, allocations: 1.081 MB / 489 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000277/0.1646, allocations: 59.89 kB / 489.1 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.1646, allocations: 0 / 489.1 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001295/0.1647, allocations: 31.92 kB / 489.1 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000599/0.1654, allocations: 31.86 kB / 489.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002013/0.1674, allocations: 0.7273 MB / 489.9 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004106/0.1678, allocations: 0.7121 MB / 490.6 MB, free: 11.96 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000106/0.168, allocations: 12.89 kB / 490.6 MB, free: 11.95 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/0.1681, allocations: 39.41 kB / 490.7 MB, free: 11.91 MB / 366.1 MB Notification: Performance of SimCode: time 7.21e-07/0.1681, allocations: 0 / 490.7 MB, free: 11.91 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02189/0.19, allocations: 3.003 MB / 493.7 MB, free: 9.035 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003732/0.1904, allocations: 231.5 kB / 493.9 MB, free: 8.785 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.891/2.081, allocations: 3.625 kB / 493.9 MB, free: 8.785 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test21_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test21.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat does not exist to compare? outputFormat=mat