Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.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.Test88,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test88",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test88,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test88",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001392/0.001392, allocations: 104.1 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.001838/0.001838, 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.518/1.518, allocations: 227.4 MB / 246.8 MB, free: 10.52 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.2392/0.2392, 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.002252/0.002252, allocations: 81.12 kB / 417.8 MB, free: 19.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1507, allocations: 62.45 MB / 480.2 MB, free: 5.113 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.00461/0.1554, allocations: 2.289 MB / 482.5 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002723/0.1581, allocations: 1.305 MB / 483.8 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001588/0.1583, allocations: 11.94 kB / 483.8 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005803/0.1589, allocations: 127.3 kB / 483.9 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008207/0.1597, allocations: 246.9 kB / 484.2 MB, free: 1.121 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004519/0.1602, allocations: 187.5 kB / 484.4 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005135/0.1607, allocations: 454.7 kB / 484.8 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001914/0.1609, allocations: 61.34 kB / 484.9 MB, free: 440 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003493/0.1613, allocations: 267.1 kB / 485.1 MB, free: 172 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002017/0.1615, allocations: 155.2 kB / 485.3 MB, free: 16 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.299e-05/0.1616, allocations: 16 kB / 485.3 MB, free: 0 / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001943/0.1618, allocations: 79.91 kB / 485.4 MB, free: 15.92 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001629/0.1619, allocations: 123.5 kB / 485.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002202/0.1622, allocations: 190.5 kB / 485.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005141/0.1627, allocations: 430.2 kB / 486.1 MB, free: 15.19 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.1627, allocations: 4 kB / 486.1 MB, free: 15.19 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1627, allocations: 4 kB / 486.1 MB, free: 15.18 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.305e-06/0.1627, allocations: 0 / 486.1 MB, free: 15.18 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001222/0.164, allocations: 0.8205 MB / 486.9 MB, free: 14.31 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.164, allocations: 8.031 kB / 486.9 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.222e-05/0.1641, allocations: 46.73 kB / 487 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000102/0.1642, allocations: 60.19 kB / 487 MB, free: 14.19 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005223/0.1647, allocations: 408.5 kB / 487.4 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.568e-05/0.1647, allocations: 20.36 kB / 487.5 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.475e-05/0.1648, allocations: 19.84 kB / 487.5 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003975/0.1652, allocations: 188.9 kB / 487.7 MB, free: 13.51 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.1652, allocations: 4 kB / 487.7 MB, free: 13.51 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.112e-05/0.1653, allocations: 4 kB / 487.7 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-06/0.1653, allocations: 4 kB / 487.7 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002444/0.1655, allocations: 99.84 kB / 487.8 MB, free: 13.4 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00101/0.1665, allocations: 0.7976 MB / 488.6 MB, free: 12.54 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006773/0.1672, allocations: 246.5 kB / 488.8 MB, free: 12.27 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002037/0.1674, allocations: 95.45 kB / 488.9 MB, free: 12.16 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.925e-05/0.1675, allocations: 7.938 kB / 488.9 MB, free: 12.15 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000469/0.168, allocations: 212.3 kB / 489.1 MB, free: 11.92 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 1.472e-06/0.168, allocations: 0 / 489.1 MB, free: 11.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002543/0.1705, allocations: 1.102 MB / 490.2 MB, free: 10.81 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.203e-05/0.1706, allocations: 148.4 kB / 490.4 MB, free: 10.63 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008741/0.1715, allocations: 0.7892 MB / 491.2 MB, free: 9.832 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.226e-05/0.1716, allocations: 37.7 kB / 491.2 MB, free: 9.789 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002187/0.1718, allocations: 244.9 kB / 491.4 MB, free: 9.543 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001415/0.1719, allocations: 138.1 kB / 491.6 MB, free: 9.406 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001169/0.1721, allocations: 82.03 kB / 491.7 MB, free: 9.32 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002035/0.1723, allocations: 378.7 kB / 492 MB, free: 8.941 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002356/0.1725, allocations: 116.8 kB / 492.1 MB, free: 8.828 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002935/0.1728, allocations: 183.2 kB / 492.3 MB, free: 8.621 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000566/0.1734, allocations: 319 kB / 492.6 MB, free: 8.285 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1734, allocations: 0 / 492.6 MB, free: 8.285 MB / 366.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007445/0.1742, allocations: 436.7 kB / 493.1 MB, free: 7.852 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.1742, allocations: 8 kB / 493.1 MB, free: 7.844 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.1742, allocations: 0 / 493.1 MB, free: 7.844 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.213e-05/0.1742, allocations: 7.984 kB / 493.1 MB, free: 7.836 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002701/0.1745, allocations: 91.91 kB / 493.2 MB, free: 7.746 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.675e-05/0.1745, allocations: 11.88 kB / 493.2 MB, free: 7.734 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001373/0.1747, allocations: 15.98 kB / 493.2 MB, free: 7.719 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.673e-05/0.1747, allocations: 16 kB / 493.2 MB, free: 7.703 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002561/0.175, allocations: 228 kB / 493.4 MB, free: 7.473 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.85e-05/0.1751, allocations: 75.14 kB / 493.5 MB, free: 7.398 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001402/0.1752, allocations: 76.92 kB / 493.6 MB, free: 7.316 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.678e-06/0.1752, allocations: 4 kB / 493.6 MB, free: 7.312 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/0.1752, allocations: 7.875 kB / 493.6 MB, free: 7.305 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.457e-06/0.1753, allocations: 7.984 kB / 493.6 MB, free: 7.297 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001699/0.177, allocations: 1.307 MB / 494.9 MB, free: 5.906 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.177, allocations: 4 kB / 494.9 MB, free: 5.902 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001662/0.1772, allocations: 60 kB / 495 MB, free: 5.844 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.1772, allocations: 7.938 kB / 495 MB, free: 5.836 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.309e-05/0.1772, allocations: 19.98 kB / 495 MB, free: 5.816 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/0.1772, allocations: 4 kB / 495 MB, free: 5.812 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/0.1772, allocations: 7.938 kB / 495 MB, free: 5.805 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009148/0.1781, allocations: 0.7863 MB / 495.8 MB, free: 4.977 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001813/0.1783, allocations: 164.3 kB / 496 MB, free: 4.797 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.487e-05/0.1784, allocations: 15.98 kB / 496 MB, free: 4.781 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002771/0.1787, allocations: 19.98 kB / 496 MB, free: 4.762 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.377e-05/0.1788, allocations: 35.91 kB / 496 MB, free: 4.727 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.095e-05/0.1788, allocations: 31.97 kB / 496.1 MB, free: 4.695 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006435/0.1795, allocations: 0.5849 MB / 496.6 MB, free: 4.113 MB / 366.1 MB Notification: Performance of sort global known variables: time 4e-07/0.1795, allocations: 0 / 496.6 MB, free: 4.113 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004999/0.18, allocations: 87.91 kB / 496.7 MB, free: 4.027 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.002997/0.183, allocations: 1.752 MB / 498.5 MB, free: 2.41 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000652/0.1837, allocations: 335.5 kB / 498.8 MB, free: 2.082 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.1837, allocations: 0 / 498.8 MB, free: 2.082 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002949/0.184, allocations: 167.9 kB / 499 MB, free: 1.918 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008969/0.1849, allocations: 121.5 kB / 499.1 MB, free: 1.809 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006155/0.1911, allocations: 4.881 MB / 0.4922 GB, free: 12.73 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005585/0.1916, allocations: 0.8881 MB / 0.493 GB, free: 11.82 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002512/0.1919, allocations: 79.28 kB / 0.4931 GB, free: 11.74 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002513/0.1922, allocations: 195.4 kB / 0.4933 GB, free: 11.55 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1922, allocations: 0 / 0.4933 GB, free: 11.55 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03645/0.2286, allocations: 10.68 MB / 0.5037 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.119/8.347, allocations: 3.984 kB / 0.5037 GB, free: 0.9688 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test88_fmu --startTime=0 --stopTime=9 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test88.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1)