Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test15.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.Test15,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test15,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001921/0.001921, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002225/0.002225, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.431/1.431, allocations: 227.4 MB / 246.8 MB, free: 10.59 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.2329/0.2329, allocations: 46.11 MB / 344.2 MB, free: 11.56 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.003011/0.003011, allocations: 81.05 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1437, allocations: 62.45 MB / 480.2 MB, free: 5.121 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.003678/0.1474, allocations: 1.724 MB / 481.9 MB, free: 3.383 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001832/0.1493, allocations: 1.025 MB / 483 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.056e-05/0.1494, allocations: 0 / 483 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002763/0.1497, allocations: 39.78 kB / 483 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003612/0.1501, allocations: 95.53 kB / 483.1 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002394/0.1503, allocations: 75.67 kB / 483.2 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001884/0.1505, allocations: 103.7 kB / 483.3 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.1506, allocations: 16 kB / 483.3 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.577e-05/0.1507, allocations: 43.78 kB / 483.3 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.847e-05/0.1508, allocations: 27.8 kB / 483.4 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.519e-05/0.1509, allocations: 4 kB / 483.4 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001104/0.151, allocations: 47.92 kB / 483.4 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.477e-05/0.151, allocations: 23.91 kB / 483.4 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.468e-05/0.1511, allocations: 35.73 kB / 483.5 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002178/0.1513, allocations: 115.9 kB / 483.6 MB, free: 1.734 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.1514, allocations: 0 / 483.6 MB, free: 1.734 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1514, allocations: 3.938 kB / 483.6 MB, free: 1.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.1514, allocations: 0 / 483.6 MB, free: 1.73 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.0005901/0.152, allocations: 415 kB / 484 MB, free: 1.277 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.152, allocations: 8.031 kB / 484 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.803e-05/0.1521, allocations: 30.75 kB / 484 MB, free: 1.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.376e-05/0.1521, allocations: 12.75 kB / 484 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000245/0.1524, allocations: 212.1 kB / 484.3 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.1524, allocations: 4.375 kB / 484.3 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.052e-05/0.1524, allocations: 3.938 kB / 484.3 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/0.1526, allocations: 57.61 kB / 484.3 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.1526, allocations: 4 kB / 484.3 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.1526, allocations: 0 / 484.3 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.6e-05/0.1526, allocations: 4 kB / 484.3 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.012e-05/0.1527, allocations: 19.97 kB / 484.3 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003829/0.1531, allocations: 284.9 kB / 484.6 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00018/0.1533, allocations: 62.61 kB / 484.7 MB, free: 488 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.224e-05/0.1534, allocations: 20.86 kB / 484.7 MB, free: 464 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.1534, allocations: 3.984 kB / 484.7 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002131/0.1536, allocations: 63.39 kB / 484.8 MB, free: 384 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.1536, allocations: 0 / 484.8 MB, free: 384 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000576/0.1542, allocations: 169.2 kB / 484.9 MB, free: 208 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/0.1543, allocations: 63.33 kB / 485 MB, free: 132 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002195/0.1545, allocations: 183.3 kB / 485.2 MB, free: 15.94 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.1545, allocations: 33.7 kB / 485.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.195e-05/0.1546, allocations: 104 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.673e-05/0.1546, allocations: 27.64 kB / 485.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.695e-05/0.1547, allocations: 25.7 kB / 485.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.1549, allocations: 318.8 kB / 485.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.651e-05/0.1549, allocations: 24.36 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.799e-05/0.155, allocations: 41.66 kB / 485.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001229/0.1551, allocations: 57.7 kB / 485.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.267e-05/0.1552, allocations: 4.188 kB / 485.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001932/0.1554, allocations: 97.52 kB / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.1554, allocations: 11.94 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.1554, allocations: 0 / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.1554, allocations: 0 / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.421e-05/0.1555, allocations: 16.03 kB / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.1555, allocations: 4 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.856e-05/0.1556, allocations: 11.92 kB / 485.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.276e-06/0.1556, allocations: 4 kB / 485.9 MB, free: 15.13 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 (10): * Single equations (assignments): 10 * 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.0001131/0.1557, allocations: 124.9 kB / 486.1 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.581e-05/0.1557, allocations: 11.81 kB / 486.1 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.686e-05/0.1558, allocations: 21.39 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1558, allocations: 0 / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1558, allocations: 4 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.1558, allocations: 3.938 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004839/0.1563, allocations: 391.3 kB / 486.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1563, allocations: 0 / 486.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.567e-05/0.1564, allocations: 11.98 kB / 486.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-06/0.1564, allocations: 3.938 kB / 486.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.1564, allocations: 4 kB / 486.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.1564, allocations: 4 kB / 486.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1564, allocations: 4.031 kB / 486.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002664/0.1567, allocations: 200.2 kB / 486.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.532e-05/0.1567, allocations: 88.92 kB / 486.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.968e-05/0.1568, allocations: 11.92 kB / 486.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.921e-05/0.1569, allocations: 0 / 486.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.995e-05/0.1569, allocations: 7.938 kB / 486.8 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.78e-05/0.1569, allocations: 11.98 kB / 486.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001349/0.1571, allocations: 140 kB / 487 MB, free: 14 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1571, allocations: 0 / 487 MB, free: 14 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002622/0.1573, allocations: 23.98 kB / 487 MB, free: 13.98 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 (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.002178/0.1595, allocations: 1.093 MB / 488.1 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001844/0.1597, allocations: 63.91 kB / 488.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1597, allocations: 0 / 488.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.888e-05/0.1598, allocations: 24.06 kB / 488.2 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003592/0.1602, allocations: 37.2 kB / 488.2 MB, free: 12.9 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001795/0.162, allocations: 1.627 MB / 489.8 MB, free: 11.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000393/0.1624, allocations: 0.7002 MB / 490.5 MB, free: 10.45 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.161e-05/0.1625, allocations: 21.16 kB / 490.6 MB, free: 10.43 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.967e-05/0.1625, allocations: 35.42 kB / 490.6 MB, free: 10.4 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1625, allocations: 4 kB / 490.6 MB, free: 10.39 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0302/0.1927, allocations: 3.321 MB / 493.9 MB, free: 7.16 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.066/8.258, allocations: 7.688 kB / 493.9 MB, free: 7.156 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test15_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test15.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1)