Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.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.Test71,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00141/0.00141, allocations: 104.8 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001803/0.001804, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 227.4 MB / 246.3 MB, free: 9.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.292/0.292, allocations: 46.11 MB / 343.6 MB, free: 11.64 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 77.75 kB / 416.9 MB, free: 20.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1382, allocations: 62.45 MB / 479.4 MB, free: 5.656 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.004121/0.1424, allocations: 1.882 MB / 481.3 MB, free: 3.758 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002172/0.1446, allocations: 1.096 MB / 482.4 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000174/0.1448, allocations: 3.938 kB / 482.4 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005984/0.1454, allocations: 303.4 kB / 482.7 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005657/0.146, allocations: 235.4 kB / 482.9 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000334/0.1463, allocations: 91.78 kB / 483 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004113/0.1468, allocations: 247.4 kB / 483.2 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.821e-05/0.1469, allocations: 9.688 kB / 483.2 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002613/0.1471, allocations: 123.5 kB / 483.4 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003107/0.1474, allocations: 191.5 kB / 483.6 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.533e-05/0.1475, allocations: 4 kB / 483.6 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001704/0.1477, allocations: 51.97 kB / 483.6 MB, free: 1.422 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001765/0.1479, allocations: 131.5 kB / 483.7 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001699/0.148, allocations: 150.8 kB / 483.9 MB, free: 1.145 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005051/0.1485, allocations: 359 kB / 484.2 MB, free: 0.793 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1486, allocations: 0 / 484.2 MB, free: 0.793 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1486, allocations: 0 / 484.2 MB, free: 0.793 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.094e-05/0.1486, allocations: 0 / 484.2 MB, free: 0.793 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.00115/0.1497, allocations: 0.7425 MB / 485 MB, free: 16 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.1498, allocations: 20.75 kB / 485 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.31e-05/0.1499, allocations: 38.73 kB / 485 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001143/0.15, allocations: 48.28 kB / 485.1 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006405/0.1506, allocations: 447.8 kB / 485.5 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.1507, allocations: 8.375 kB / 485.5 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.09e-05/0.1507, allocations: 7.938 kB / 485.5 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002234/0.1509, allocations: 83.36 kB / 485.6 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.1509, allocations: 0 / 485.6 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.1509, allocations: 7.922 kB / 485.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.151, allocations: 4 kB / 485.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001186/0.1511, allocations: 27.98 kB / 485.7 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004897/0.1516, allocations: 378.4 kB / 486 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003025/0.1519, allocations: 113.1 kB / 486.1 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.638e-05/0.152, allocations: 37.7 kB / 486.2 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/0.152, allocations: 4 kB / 486.2 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003243/0.1524, allocations: 105 kB / 486.3 MB, free: 14.54 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.853e-06/0.1524, allocations: 4 kB / 486.3 MB, free: 14.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005314/0.1529, allocations: 204.9 kB / 486.5 MB, free: 14.33 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.341e-05/0.153, allocations: 77.11 kB / 486.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001163/0.1541, allocations: 1.058 MB / 487.6 MB, free: 13.17 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.909e-05/0.1542, allocations: 29.7 kB / 487.6 MB, free: 13.13 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001731/0.1544, allocations: 232.1 kB / 487.9 MB, free: 12.9 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.622e-05/0.1544, allocations: 35.59 kB / 487.9 MB, free: 12.87 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.067e-05/0.1545, allocations: 37.53 kB / 487.9 MB, free: 12.83 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.1547, allocations: 370.8 kB / 488.3 MB, free: 12.46 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.783e-05/0.1548, allocations: 27.98 kB / 488.3 MB, free: 12.43 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.1549, allocations: 62.78 kB / 488.4 MB, free: 12.36 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001824/0.1551, allocations: 87.36 kB / 488.5 MB, free: 12.26 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.1551, allocations: 3.938 kB / 488.5 MB, free: 12.26 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003306/0.1554, allocations: 168.9 kB / 488.6 MB, free: 12.09 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.1554, allocations: 4 kB / 488.7 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.1555, allocations: 7.938 kB / 488.7 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.1555, allocations: 0 / 488.7 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.1556, allocations: 19.98 kB / 488.7 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.271e-05/0.1556, allocations: 4.625 kB / 488.7 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001377/0.1558, allocations: 16 kB / 488.7 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.1558, allocations: 7.938 kB / 488.7 MB, free: 12.03 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002334/0.156, allocations: 230.5 kB / 488.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.158e-05/0.1561, allocations: 51.34 kB / 489 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.017e-05/0.1562, allocations: 56.14 kB / 489 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.335e-06/0.1562, allocations: 8 kB / 489 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.1562, allocations: 0 / 489 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.1563, allocations: 0 / 489 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003382/0.1566, allocations: 341.4 kB / 489.4 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.1566, allocations: 11.98 kB / 489.4 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.673e-05/0.1567, allocations: 4 kB / 489.4 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.1567, allocations: 4 kB / 489.4 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.1567, allocations: 4 kB / 489.4 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.594e-06/0.1567, allocations: 0 / 489.4 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1567, allocations: 0 / 489.4 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003537/0.1571, allocations: 209.2 kB / 489.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001379/0.1572, allocations: 140.4 kB / 489.7 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.208e-05/0.1573, allocations: 4 kB / 489.7 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.148e-05/0.1574, allocations: 4 kB / 489.8 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.428e-05/0.1574, allocations: 7.984 kB / 489.8 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.11e-05/0.1574, allocations: 7.984 kB / 489.8 MB, free: 10.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009771/0.1584, allocations: 0.7878 MB / 490.6 MB, free: 10.08 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.613e-06/0.1584, allocations: 0 / 490.6 MB, free: 10.08 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002903/0.1587, allocations: 47.92 kB / 490.6 MB, free: 10.03 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001586/0.1603, allocations: 1.046 MB / 491.6 MB, free: 9.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002668/0.1606, allocations: 83.83 kB / 491.7 MB, free: 9.008 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.1606, allocations: 4.125 kB / 491.7 MB, free: 9.004 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001173/0.1608, allocations: 35.98 kB / 491.8 MB, free: 8.969 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004662/0.1612, allocations: 70.2 kB / 491.8 MB, free: 8.902 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006569/0.1678, allocations: 4.745 MB / 496.6 MB, free: 4.047 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000482/0.1683, allocations: 0.8468 MB / 497.4 MB, free: 3.172 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001746/0.1685, allocations: 67.44 kB / 497.5 MB, free: 3.105 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002266/0.1687, allocations: 147.4 kB / 497.6 MB, free: 2.961 MB / 366.1 MB Notification: Performance of SimCode: time 8.62e-07/0.1688, allocations: 0 / 497.6 MB, free: 2.961 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02203/0.1908, allocations: 8.642 MB / 0.4944 GB, free: 10.41 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002772/0.1911, allocations: 229 kB / 0.4946 GB, free: 10.16 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.991/2.182, allocations: 0 / 0.4946 GB, free: 10.16 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test71_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test71.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1)