Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test24,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test24",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001432/0.001433, allocations: 105.9 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.001423/0.001423, 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.521/1.521, 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.2657/0.2657, allocations: 46.11 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.002211/0.002211, allocations: 88.5 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1223, allocations: 62.46 MB / 480.2 MB, free: 5.117 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.003229/0.1256, allocations: 1.732 MB / 482 MB, free: 3.371 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001638/0.1273, allocations: 1.013 MB / 483 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.092e-05/0.1274, allocations: 7.938 kB / 483 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000296/0.1277, allocations: 47.75 kB / 483 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002966/0.128, allocations: 95.59 kB / 483.1 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002085/0.1282, allocations: 75.69 kB / 483.2 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001886/0.1284, allocations: 103.7 kB / 483.3 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.1285, allocations: 8 kB / 483.3 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.785e-05/0.1286, allocations: 39.8 kB / 483.3 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.784e-05/0.1287, allocations: 43.77 kB / 483.4 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.846e-05/0.1287, allocations: 8 kB / 483.4 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.1288, allocations: 47.92 kB / 483.4 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.109e-05/0.1289, allocations: 19.92 kB / 483.5 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.283e-05/0.129, allocations: 35.73 kB / 483.5 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002221/0.1292, allocations: 115.9 kB / 483.6 MB, free: 1.715 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.1292, allocations: 0 / 483.6 MB, free: 1.715 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1292, allocations: 4 kB / 483.6 MB, free: 1.711 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.024e-06/0.1292, allocations: 0 / 483.6 MB, free: 1.711 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.0006612/0.1299, allocations: 418.9 kB / 484 MB, free: 1.254 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.1299, allocations: 16.03 kB / 484 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.316e-05/0.13, allocations: 34.73 kB / 484.1 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.16e-05/0.13, allocations: 12.75 kB / 484.1 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002721/0.1303, allocations: 224 kB / 484.3 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.1303, allocations: 384 / 484.3 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.21e-05/0.1304, allocations: 3.938 kB / 484.3 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.1305, allocations: 57.67 kB / 484.4 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.1306, allocations: 0 / 484.4 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.1306, allocations: 0 / 484.4 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.1306, allocations: 3.938 kB / 484.4 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.939e-05/0.1307, allocations: 23.98 kB / 484.4 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004431/0.1311, allocations: 288.8 kB / 484.7 MB, free: 0.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001702/0.1313, allocations: 54.67 kB / 484.7 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.183e-05/0.1314, allocations: 16.86 kB / 484.7 MB, free: 428 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.62e-05/0.1314, allocations: 11.98 kB / 484.7 MB, free: 416 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002443/0.1316, allocations: 71.33 kB / 484.8 MB, free: 332 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.1317, allocations: 0 / 484.8 MB, free: 332 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006599/0.1323, allocations: 173.1 kB / 485 MB, free: 152 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.611e-05/0.1324, allocations: 63.33 kB / 485 MB, free: 76 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002465/0.1327, allocations: 202.3 kB / 485.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.509e-05/0.1327, allocations: 33.7 kB / 485.3 MB, free: 15.83 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.928e-05/0.1328, allocations: 104.1 kB / 485.4 MB, free: 15.72 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.692e-05/0.1328, allocations: 19.72 kB / 485.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.418e-05/0.1329, allocations: 25.7 kB / 485.4 MB, free: 15.67 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001843/0.1331, allocations: 330.8 kB / 485.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.759e-05/0.1331, allocations: 15.98 kB / 485.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.834e-05/0.1332, allocations: 33.72 kB / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001318/0.1334, allocations: 69.62 kB / 485.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1334, allocations: 0 / 485.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001923/0.1336, allocations: 101.5 kB / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.1336, allocations: 4 kB / 486 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.1336, allocations: 0 / 486 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.1336, allocations: 0 / 486 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.043e-05/0.1337, allocations: 23.94 kB / 486 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.1337, allocations: 0 / 486 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.331e-05/0.1338, allocations: 19.89 kB / 486 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.543e-06/0.1338, allocations: 0 / 486 MB, free: 15.06 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.0001179/0.1339, allocations: 129.8 kB / 486.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.122e-05/0.134, allocations: 11.89 kB / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.168e-05/0.134, allocations: 17.41 kB / 486.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.134, allocations: 0 / 486.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.134, allocations: 0 / 486.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.1341, allocations: 3.938 kB / 486.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004777/0.1345, allocations: 403.2 kB / 486.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1346, allocations: 0 / 486.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.253e-05/0.1346, allocations: 8.188 kB / 486.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/0.1346, allocations: 7.938 kB / 486.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.086e-06/0.1346, allocations: 3.938 kB / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1346, allocations: 384 / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.1346, allocations: 3.938 kB / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002619/0.1349, allocations: 212.5 kB / 486.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.254e-05/0.135, allocations: 84.92 kB / 486.9 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.13e-05/0.135, allocations: 15.94 kB / 486.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.502e-05/0.1351, allocations: 0 / 486.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.65e-05/0.1351, allocations: 7.984 kB / 486.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.598e-05/0.1351, allocations: 4 kB / 486.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001428/0.1353, allocations: 164.8 kB / 487.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1353, allocations: 0 / 487.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002693/0.1356, allocations: 23.98 kB / 487.1 MB, free: 13.87 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.002215/0.1378, allocations: 1.094 MB / 488.2 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002018/0.138, allocations: 63.91 kB / 488.2 MB, free: 12.85 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.138, allocations: 0 / 488.2 MB, free: 12.85 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.193e-05/0.1381, allocations: 23.94 kB / 488.3 MB, free: 12.83 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003657/0.1385, allocations: 34.03 kB / 488.3 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001983/0.1405, allocations: 1.69 MB / 490 MB, free: 11.02 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003262/0.1408, allocations: 0.7041 MB / 490.7 MB, free: 10.29 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.734e-05/0.1409, allocations: 16.84 kB / 490.7 MB, free: 10.27 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.632e-05/0.1409, allocations: 39.42 kB / 490.7 MB, free: 10.23 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1409, allocations: 0 / 490.7 MB, free: 10.23 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03955/0.1805, allocations: 3.443 MB / 494.2 MB, free: 6.875 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.869/8.05, allocations: 3.984 kB / 494.2 MB, free: 6.871 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test24_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test24.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1)