Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test57,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001501/0.001501, 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.001982/0.001982, 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.547/1.547, allocations: 227.4 MB / 246.8 MB, free: 10.51 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.2406/0.2406, allocations: 46.12 MB / 344.2 MB, free: 11.54 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.002635/0.002635, allocations: 83.11 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1241, allocations: 62.45 MB / 480.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.002793/0.1269, allocations: 1.724 MB / 481.9 MB, free: 3.387 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002167/0.1291, allocations: 1.619 MB / 483.6 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.027e-05/0.1291, allocations: 4 kB / 483.6 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001817/0.1293, allocations: 39.77 kB / 483.6 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002762/0.1296, allocations: 107.5 kB / 483.7 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001777/0.1298, allocations: 79.66 kB / 483.8 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001408/0.13, allocations: 103.7 kB / 483.9 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.115e-05/0.13, allocations: 7.984 kB / 483.9 MB, free: 1.422 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.522e-05/0.1301, allocations: 47.78 kB / 483.9 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001393/0.1303, allocations: 51.77 kB / 484 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.745e-05/0.1303, allocations: 4 kB / 484 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000175/0.1305, allocations: 111.9 kB / 484.1 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.183e-05/0.1305, allocations: 19.92 kB / 484.1 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.487e-05/0.1306, allocations: 35.73 kB / 484.2 MB, free: 1.156 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002373/0.1308, allocations: 167.8 kB / 484.3 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1308, allocations: 4 kB / 484.3 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.92e-07/0.1308, allocations: 0 / 484.3 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.527e-06/0.1308, allocations: 0 / 484.3 MB, free: 0.9883 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.0004829/0.1313, allocations: 427 kB / 484.7 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.68e-05/0.1314, allocations: 8.031 kB / 484.8 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.829e-05/0.1314, allocations: 42.73 kB / 484.8 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.293e-05/0.1314, allocations: 8.844 kB / 484.8 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002113/0.1317, allocations: 215.4 kB / 485 MB, free: 216 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.1317, allocations: 4 kB / 485 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.167e-05/0.1317, allocations: 3.938 kB / 485 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.1319, allocations: 67.39 kB / 485.1 MB, free: 128 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.1319, allocations: 0 / 485.1 MB, free: 128 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-06/0.1319, allocations: 0 / 485.1 MB, free: 128 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1319, allocations: 7.984 kB / 485.1 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.768e-05/0.132, allocations: 23.98 kB / 485.1 MB, free: 96 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000322/0.1323, allocations: 284.9 kB / 485.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001522/0.1325, allocations: 54.62 kB / 485.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.185e-05/0.1325, allocations: 24.84 kB / 485.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.41e-05/0.1325, allocations: 4 kB / 485.5 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001494/0.1327, allocations: 67.39 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.293e-06/0.1327, allocations: 0 / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004629/0.1332, allocations: 177.1 kB / 485.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.989e-05/0.1332, allocations: 81.05 kB / 485.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001574/0.1334, allocations: 158.5 kB / 486 MB, free: 15.15 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.1334, allocations: 37.7 kB / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.445e-05/0.1335, allocations: 96.12 kB / 486.1 MB, free: 15.01 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.578e-05/0.1335, allocations: 23.66 kB / 486.1 MB, free: 14.99 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.263e-05/0.1336, allocations: 33.64 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.1337, allocations: 318.8 kB / 486.5 MB, free: 14.63 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.626e-05/0.1338, allocations: 20 kB / 486.5 MB, free: 14.61 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.117e-05/0.1338, allocations: 42.56 kB / 486.5 MB, free: 14.56 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001059/0.1339, allocations: 61.67 kB / 486.6 MB, free: 14.49 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1339, allocations: 0 / 486.6 MB, free: 14.49 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001846/0.1341, allocations: 109.5 kB / 486.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/0.1342, allocations: 4.188 kB / 486.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/0.1342, allocations: 0 / 486.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.356e-06/0.1342, allocations: 4.312 kB / 486.7 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.847e-05/0.1343, allocations: 19.94 kB / 486.7 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.667e-06/0.1343, allocations: 7.969 kB / 486.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.045e-05/0.1343, allocations: 7.984 kB / 486.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.1343, allocations: 4 kB / 486.7 MB, free: 14.33 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 8.919e-05/0.1344, allocations: 125.1 kB / 486.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.734e-05/0.1345, allocations: 11.81 kB / 486.9 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.736e-05/0.1345, allocations: 16.7 kB / 486.9 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.1345, allocations: 3.938 kB / 486.9 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.1345, allocations: 0 / 486.9 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.1345, allocations: 0 / 486.9 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004192/0.135, allocations: 395.3 kB / 487.3 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.135, allocations: 3.938 kB / 487.3 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.189e-05/0.135, allocations: 8 kB / 487.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.135, allocations: 0 / 487.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.135, allocations: 4 kB / 487.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.748e-06/0.135, allocations: 3.984 kB / 487.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1351, allocations: 0 / 487.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002453/0.1353, allocations: 212.5 kB / 487.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.855e-05/0.1354, allocations: 88.95 kB / 487.6 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.497e-05/0.1354, allocations: 4 kB / 487.6 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.648e-05/0.1355, allocations: 7.984 kB / 487.6 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.628e-05/0.1355, allocations: 4 kB / 487.6 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.1355, allocations: 0 / 487.6 MB, free: 13.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001136/0.1356, allocations: 130.3 kB / 487.7 MB, free: 13.23 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1357, allocations: 4 kB / 487.7 MB, free: 13.23 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002913/0.136, allocations: 47.98 kB / 487.8 MB, free: 13.18 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.002125/0.1381, allocations: 1.188 MB / 489 MB, free: 12.15 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001635/0.1383, allocations: 59.91 kB / 489 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1383, allocations: 0 / 489 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.069e-05/0.1383, allocations: 31.98 kB / 489.1 MB, free: 12.06 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002907/0.1386, allocations: 22.05 kB / 489.1 MB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001588/0.1402, allocations: 1.581 MB / 490.7 MB, free: 10.37 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/0.1405, allocations: 0.7012 MB / 491.4 MB, free: 9.645 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.589e-05/0.1406, allocations: 21.17 kB / 491.4 MB, free: 9.625 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.838e-05/0.1407, allocations: 43.41 kB / 491.4 MB, free: 9.582 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1407, allocations: 0 / 491.4 MB, free: 9.582 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2581/0.3988, allocations: 3.944 MB / 495.4 MB, free: 5.723 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.355/8.754, allocations: 14.97 kB / 495.4 MB, free: 5.711 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test57.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test57_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test57.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1)