Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.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.Test67,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test67,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001304/0.001303, allocations: 105.6 kB / 17.32 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001688/0.001688, allocations: 209.8 kB / 18.26 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.48/1.48, allocations: 227.4 MB / 246.4 MB, free: 9.078 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2439/0.2439, allocations: 46.11 MB / 343.8 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 84.7 kB / 417.2 MB, free: 19.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.131, allocations: 62.44 MB / 479.6 MB, free: 5.473 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.003962/0.135, allocations: 2.405 MB / 482 MB, free: 3.051 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002388/0.1374, allocations: 1.375 MB / 483.4 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002417/0.1377, allocations: 11.88 kB / 483.4 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005752/0.1382, allocations: 279.3 kB / 483.7 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007043/0.139, allocations: 295 kB / 484 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005149/0.1395, allocations: 191.6 kB / 484.1 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007061/0.1402, allocations: 0.557 MB / 484.7 MB, free: 360 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001776/0.1404, allocations: 57.08 kB / 484.8 MB, free: 300 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003583/0.1408, allocations: 246.9 kB / 485 MB, free: 52 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003442/0.1411, allocations: 278.9 kB / 485.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.409e-05/0.1412, allocations: 27.94 kB / 485.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001429/0.1414, allocations: 55.98 kB / 485.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001636/0.1415, allocations: 111.6 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001698/0.1417, allocations: 194.6 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004474/0.1422, allocations: 406.7 kB / 486.1 MB, free: 15 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.453e-05/0.1422, allocations: 4 kB / 486.1 MB, free: 14.99 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1422, allocations: 3.938 kB / 486.1 MB, free: 14.99 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.256e-05/0.1422, allocations: 0 / 486.1 MB, free: 14.99 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001244/0.1435, allocations: 0.7939 MB / 486.9 MB, free: 14.14 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.1435, allocations: 8.031 kB / 486.9 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.254e-05/0.1436, allocations: 46.73 kB / 486.9 MB, free: 14.08 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000134/0.1437, allocations: 56.28 kB / 487 MB, free: 14.03 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006076/0.1443, allocations: 415.7 kB / 487.4 MB, free: 13.58 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.422e-05/0.1444, allocations: 8.375 kB / 487.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.898e-05/0.1444, allocations: 27.91 kB / 487.4 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000434/0.1449, allocations: 205.8 kB / 487.6 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.921e-05/0.1449, allocations: 3.984 kB / 487.6 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/0.1449, allocations: 8 kB / 487.6 MB, free: 13.31 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.1449, allocations: 4 kB / 487.6 MB, free: 13.31 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002728/0.1452, allocations: 99.8 kB / 487.7 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001082/0.1463, allocations: 0.8682 MB / 488.6 MB, free: 12.28 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006736/0.147, allocations: 293.2 kB / 488.9 MB, free: 11.95 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001959/0.1472, allocations: 92.27 kB / 489 MB, free: 11.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.334e-05/0.1473, allocations: 11.98 kB / 489 MB, free: 11.83 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004375/0.1477, allocations: 216.5 kB / 489.2 MB, free: 11.59 MB / 366.1 MB Notification: Performance of pre-optimization done (n=30): time 1.923e-06/0.1477, allocations: 0 / 489.2 MB, free: 11.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.002091/0.1498, allocations: 1.019 MB / 490.2 MB, free: 10.56 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.369e-05/0.1499, allocations: 166.2 kB / 490.4 MB, free: 10.36 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007073/0.1506, allocations: 0.6591 MB / 491 MB, free: 9.691 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.528e-05/0.1507, allocations: 37.7 kB / 491.1 MB, free: 9.648 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000167/0.1509, allocations: 233.1 kB / 491.3 MB, free: 9.414 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.151, allocations: 122.3 kB / 491.4 MB, free: 9.293 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.1511, allocations: 78.12 kB / 491.5 MB, free: 9.211 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.1512, allocations: 370.8 kB / 491.8 MB, free: 8.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002322/0.1515, allocations: 104.8 kB / 491.9 MB, free: 8.738 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000274/0.1517, allocations: 184.8 kB / 492.1 MB, free: 8.523 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005088/0.1523, allocations: 300.5 kB / 492.4 MB, free: 8.199 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1523, allocations: 0 / 492.4 MB, free: 8.199 MB / 366.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007032/0.153, allocations: 404.6 kB / 492.8 MB, free: 7.797 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.153, allocations: 8 kB / 492.8 MB, free: 7.789 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.153, allocations: 0 / 492.8 MB, free: 7.789 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.1531, allocations: 8.156 kB / 492.8 MB, free: 7.781 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002858/0.1533, allocations: 83.84 kB / 492.9 MB, free: 7.699 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.1534, allocations: 7.984 kB / 492.9 MB, free: 7.691 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001927/0.1536, allocations: 16 kB / 492.9 MB, free: 7.676 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.84e-05/0.1536, allocations: 19.98 kB / 493 MB, free: 7.656 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0002118/0.1538, allocations: 212.2 kB / 493.2 MB, free: 7.441 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.653e-05/0.1539, allocations: 63.23 kB / 493.2 MB, free: 7.379 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001176/0.154, allocations: 68.41 kB / 493.3 MB, free: 7.309 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.842e-06/0.1541, allocations: 12 kB / 493.3 MB, free: 7.297 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.1541, allocations: 0 / 493.3 MB, free: 7.297 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.1541, allocations: 3.984 kB / 493.3 MB, free: 7.293 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001573/0.1557, allocations: 1.281 MB / 494.6 MB, free: 5.938 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.1557, allocations: 0 / 494.6 MB, free: 5.938 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001318/0.1558, allocations: 47.91 kB / 494.6 MB, free: 5.891 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.1558, allocations: 4 kB / 494.6 MB, free: 5.887 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.073e-05/0.1559, allocations: 23.88 kB / 494.7 MB, free: 5.863 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.025e-06/0.1559, allocations: 12.08 kB / 494.7 MB, free: 5.852 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.1559, allocations: 8 kB / 494.7 MB, free: 5.844 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008979/0.1568, allocations: 0.8045 MB / 495.5 MB, free: 5.008 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.156e-05/0.1569, allocations: 120.5 kB / 495.6 MB, free: 4.871 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.789e-05/0.157, allocations: 24.48 kB / 495.6 MB, free: 4.848 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003332/0.1573, allocations: 15.98 kB / 495.6 MB, free: 4.832 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.15e-05/0.1574, allocations: 31.97 kB / 495.7 MB, free: 4.801 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-05/0.1575, allocations: 27.98 kB / 495.7 MB, free: 4.773 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005221/0.158, allocations: 494.8 kB / 496.2 MB, free: 4.293 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.158, allocations: 0 / 496.2 MB, free: 4.293 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005536/0.1586, allocations: 80 kB / 496.3 MB, free: 4.215 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.002138/0.1607, allocations: 1.724 MB / 498 MB, free: 2.609 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006084/0.1613, allocations: 315.5 kB / 498.3 MB, free: 2.301 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.93e-06/0.1613, allocations: 0 / 498.3 MB, free: 2.301 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002968/0.1616, allocations: 151.7 kB / 498.4 MB, free: 2.152 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/0.1628, allocations: 145.2 kB / 498.6 MB, free: 2.023 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005854/0.1686, allocations: 4.768 MB / 0.4916 GB, free: 13.05 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004523/0.1691, allocations: 0.8628 MB / 0.4924 GB, free: 12.16 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002669/0.1694, allocations: 92.09 kB / 0.4925 GB, free: 12.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002438/0.1696, allocations: 191.4 kB / 0.4927 GB, free: 11.88 MB / 382.1 MB Notification: Performance of SimCode: time 7.41e-07/0.1696, allocations: 0 / 0.4927 GB, free: 11.88 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02243/0.1921, allocations: 10.59 MB / 0.503 GB, free: 1.449 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002199/0.1923, allocations: 233.2 kB / 0.5032 GB, free: 1.195 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.137/2.329, allocations: 0 / 0.5032 GB, free: 1.195 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test67_fmu --startTime=0 --stopTime=4000 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test67.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1)