Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test85.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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Test85,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test85,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001317/0.001317, allocations: 105.2 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001359/0.001359, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.489/1.489, allocations: 227.4 MB / 246.8 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2578/0.2578, allocations: 46.12 MB / 344.2 MB, free: 11.55 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002264/0.002264, allocations: 79.36 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.148, allocations: 62.45 MB / 480.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.003982/0.1521, allocations: 1.688 MB / 481.9 MB, free: 3.426 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001812/0.1539, allocations: 1.005 MB / 482.9 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.585e-05/0.154, allocations: 0 / 482.9 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003077/0.1543, allocations: 55.73 kB / 483 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003201/0.1547, allocations: 99.59 kB / 483.1 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001816/0.1548, allocations: 75.67 kB / 483.1 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001855/0.155, allocations: 103.7 kB / 483.2 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.094e-05/0.1551, allocations: 4.234 kB / 483.2 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.433e-05/0.1552, allocations: 51.77 kB / 483.3 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.941e-05/0.1553, allocations: 39.83 kB / 483.3 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.1553, allocations: 4 kB / 483.3 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.78e-05/0.1554, allocations: 35.94 kB / 483.4 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.135e-05/0.1555, allocations: 15.92 kB / 483.4 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.288e-05/0.1556, allocations: 31.75 kB / 483.4 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002143/0.1558, allocations: 104 kB / 483.5 MB, free: 1.805 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/0.1558, allocations: 0 / 483.5 MB, free: 1.805 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1558, allocations: 3.938 kB / 483.5 MB, free: 1.801 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.1558, allocations: 0 / 483.5 MB, free: 1.801 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006319/0.1565, allocations: 399 kB / 483.9 MB, free: 1.363 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.1565, allocations: 12.03 kB / 483.9 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.913e-05/0.1566, allocations: 34.73 kB / 484 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.739e-05/0.1566, allocations: 12.75 kB / 484 MB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002969/0.1569, allocations: 212.1 kB / 484.2 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.157, allocations: 4.375 kB / 484.2 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.593e-05/0.157, allocations: 3.938 kB / 484.2 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/0.1571, allocations: 45.69 kB / 484.2 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.1572, allocations: 3.984 kB / 484.2 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.1572, allocations: 0 / 484.2 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.1572, allocations: 0 / 484.2 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.427e-05/0.1573, allocations: 15.98 kB / 484.2 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000251/0.1575, allocations: 181.6 kB / 484.4 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001642/0.1577, allocations: 62.48 kB / 484.5 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.635e-05/0.1578, allocations: 20.84 kB / 484.5 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.1578, allocations: 4 kB / 484.5 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002047/0.158, allocations: 63.39 kB / 484.6 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.383e-06/0.158, allocations: 0 / 484.6 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.00031/0.1583, allocations: 97.52 kB / 484.7 MB, free: 484 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.855e-05/0.1584, allocations: 59.34 kB / 484.7 MB, free: 412 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002176/0.1586, allocations: 187.3 kB / 484.9 MB, free: 212 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.396e-05/0.1587, allocations: 25.7 kB / 484.9 MB, free: 180 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.071e-05/0.1588, allocations: 100.1 kB / 485 MB, free: 76 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.043e-05/0.1588, allocations: 15.8 kB / 485 MB, free: 60 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.015e-05/0.1588, allocations: 17.72 kB / 485.1 MB, free: 36 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001985/0.1591, allocations: 322.8 kB / 485.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.152e-05/0.1591, allocations: 16.25 kB / 485.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.151e-05/0.1592, allocations: 29.7 kB / 485.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001079/0.1593, allocations: 49.64 kB / 485.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.1593, allocations: 3.938 kB / 485.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001554/0.1595, allocations: 77.59 kB / 485.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.1595, allocations: 4 kB / 485.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.1595, allocations: 4.031 kB / 485.6 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.1595, allocations: 0 / 485.6 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.186e-05/0.1596, allocations: 23.92 kB / 485.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.1596, allocations: 0 / 485.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.481e-05/0.1597, allocations: 3.906 kB / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.1597, allocations: 4 kB / 485.6 MB, free: 15.48 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001438/0.1599, allocations: 129.1 kB / 485.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.177e-05/0.1599, allocations: 7.906 kB / 485.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.809e-05/0.1599, allocations: 17 kB / 485.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.16, allocations: 0 / 485.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.16, allocations: 0 / 485.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.16, allocations: 0 / 485.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002085/0.1602, allocations: 193.5 kB / 485.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1602, allocations: 0 / 485.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.926e-05/0.1602, allocations: 4 kB / 485.9 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.1602, allocations: 0 / 485.9 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.1602, allocations: 0 / 485.9 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1603, allocations: 4 kB / 485.9 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.1603, allocations: 3.938 kB / 485.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002046/0.1605, allocations: 117 kB / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.225e-05/0.1606, allocations: 88.86 kB / 486.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.385e-05/0.1606, allocations: 7.984 kB / 486.2 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.094e-05/0.1606, allocations: 0 / 486.2 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.927e-05/0.1607, allocations: 4 kB / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.1607, allocations: 3.938 kB / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001502/0.1608, allocations: 143.9 kB / 486.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1609, allocations: 4 kB / 486.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002053/0.1611, allocations: 12 kB / 486.3 MB, free: 14.66 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002004/0.1631, allocations: 0.9421 MB / 487.3 MB, free: 13.83 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000185/0.1633, allocations: 47.97 kB / 487.3 MB, free: 13.78 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.1633, allocations: 4.062 kB / 487.3 MB, free: 13.78 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.103e-05/0.1634, allocations: 19.94 kB / 487.3 MB, free: 13.76 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003011/0.1637, allocations: 33.22 kB / 487.4 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001806/0.1655, allocations: 1.462 MB / 488.8 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003581/0.1659, allocations: 0.7041 MB / 489.5 MB, free: 11.45 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.342e-05/0.1659, allocations: 16.53 kB / 489.5 MB, free: 11.44 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.938e-05/0.166, allocations: 23.44 kB / 489.6 MB, free: 11.41 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.166, allocations: 0 / 489.6 MB, free: 11.41 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05545/0.2214, allocations: 3.043 MB / 492.6 MB, free: 8.457 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.916/8.138, allocations: 0 / 492.6 MB, free: 8.457 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test85.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test85_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test85.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1)