Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test76,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001481/0.001481, 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.46/1.46, 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.2384/0.2384, 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.002302/0.002302, allocations: 89 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1135, allocations: 62.46 MB / 480.2 MB, free: 5.117 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.003576/0.1171, allocations: 1.748 MB / 482 MB, free: 3.355 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001944/0.1191, allocations: 1.029 MB / 483 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.1192, allocations: 0 / 483 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003292/0.1196, allocations: 47.75 kB / 483 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003686/0.12, allocations: 99.53 kB / 483.1 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002304/0.1203, allocations: 83.67 kB / 483.2 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002218/0.1205, allocations: 131.7 kB / 483.4 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/0.1206, allocations: 12 kB / 483.4 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001018/0.1207, allocations: 51.77 kB / 483.4 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.1209, allocations: 47.78 kB / 483.5 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.1209, allocations: 4 kB / 483.5 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001359/0.121, allocations: 71.89 kB / 483.5 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.314e-05/0.1211, allocations: 31.92 kB / 483.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.711e-05/0.1212, allocations: 43.67 kB / 483.6 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000229/0.1214, allocations: 151.8 kB / 483.8 MB, free: 1.559 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.1214, allocations: 0 / 483.8 MB, free: 1.559 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1214, allocations: 0 / 483.8 MB, free: 1.559 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.1214, allocations: 0 / 483.8 MB, free: 1.559 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005905/0.122, allocations: 426.9 kB / 484.2 MB, free: 1.094 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.1221, allocations: 12.03 kB / 484.2 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.538e-05/0.1221, allocations: 38.73 kB / 484.2 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.375e-05/0.1222, allocations: 24.69 kB / 484.2 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002652/0.1225, allocations: 228 kB / 484.5 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.1225, allocations: 4.375 kB / 484.5 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.212e-05/0.1225, allocations: 7.938 kB / 484.5 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001832/0.1227, allocations: 73.59 kB / 484.6 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.1227, allocations: 3.938 kB / 484.6 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.1227, allocations: 0 / 484.6 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.1228, allocations: 4 kB / 484.6 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001156/0.1229, allocations: 43.97 kB / 484.6 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005114/0.1234, allocations: 324.6 kB / 484.9 MB, free: 248 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003098/0.1237, allocations: 86.58 kB / 485 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.624e-05/0.1238, allocations: 28.84 kB / 485 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.749e-05/0.1238, allocations: 4 kB / 485 MB, free: 116 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002899/0.1241, allocations: 83.38 kB / 485.1 MB, free: 20 kB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.463e-06/0.1241, allocations: 0 / 485.1 MB, free: 20 kB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009954/0.1251, allocations: 289.3 kB / 485.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.122e-05/0.1252, allocations: 59.33 kB / 485.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002057/0.1254, allocations: 194.3 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.307e-05/0.1255, allocations: 29.7 kB / 485.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.446e-05/0.1256, allocations: 109.1 kB / 485.8 MB, free: 15.31 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.985e-05/0.1256, allocations: 43.45 kB / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.308e-05/0.1257, allocations: 29.72 kB / 485.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.1258, allocations: 330.8 kB / 486.2 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.157e-05/0.1259, allocations: 31.98 kB / 486.2 MB, free: 14.87 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.779e-05/0.126, allocations: 57.64 kB / 486.3 MB, free: 14.81 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001798/0.1262, allocations: 100.5 kB / 486.4 MB, free: 14.71 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.1262, allocations: 4 kB / 486.4 MB, free: 14.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002792/0.1265, allocations: 157.4 kB / 486.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.1266, allocations: 11.92 kB / 486.5 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.1266, allocations: 3.828 kB / 486.5 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.1266, allocations: 3.984 kB / 486.5 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.1267, allocations: 23.94 kB / 486.6 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/0.1267, allocations: 7.984 kB / 486.6 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.63e-05/0.1268, allocations: 0 / 486.6 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.348e-05/0.1268, allocations: 8 kB / 486.6 MB, free: 14.49 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 (15): * Single equations (assignments): 15 * 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.0001246/0.1269, allocations: 137.8 kB / 486.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.332e-05/0.127, allocations: 15.81 kB / 486.7 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.907e-05/0.127, allocations: 13.53 kB / 486.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/0.127, allocations: 7.938 kB / 486.8 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.127, allocations: 0 / 486.8 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.1271, allocations: 3.984 kB / 486.8 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006427/0.1277, allocations: 492.1 kB / 487.2 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.1277, allocations: 0 / 487.2 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.253e-05/0.1278, allocations: 23.92 kB / 487.3 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.1278, allocations: 0 / 487.3 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.1278, allocations: 7.938 kB / 487.3 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.1278, allocations: 0 / 487.3 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1278, allocations: 4 kB / 487.3 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003154/0.1281, allocations: 257 kB / 487.5 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.372e-05/0.1282, allocations: 88.92 kB / 487.6 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.183e-05/0.1282, allocations: 7.984 kB / 487.6 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.665e-05/0.1283, allocations: 7.938 kB / 487.6 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.025e-05/0.1284, allocations: 7.984 kB / 487.6 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.1e-05/0.1284, allocations: 16 kB / 487.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001343/0.1285, allocations: 148.8 kB / 487.8 MB, free: 13.16 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1285, allocations: 0 / 487.8 MB, free: 13.16 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002812/0.1288, allocations: 36 kB / 487.8 MB, free: 13.12 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 11 * 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.002433/0.1313, allocations: 1.194 MB / 489 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002824/0.1316, allocations: 107.9 kB / 489.1 MB, free: 11.98 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1316, allocations: 0 / 489.1 MB, free: 11.98 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001076/0.1317, allocations: 47.92 kB / 489.2 MB, free: 11.94 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003898/0.1321, allocations: 34.05 kB / 489.2 MB, free: 11.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002209/0.1343, allocations: 1.856 MB / 491.1 MB, free: 9.957 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.1347, allocations: 0.7123 MB / 491.8 MB, free: 9.219 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.653e-05/0.1348, allocations: 25.41 kB / 491.8 MB, free: 9.195 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.229e-05/0.1349, allocations: 51.41 kB / 491.9 MB, free: 9.145 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1349, allocations: 4 kB / 491.9 MB, free: 9.141 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02552/0.1604, allocations: 3.987 MB / 495.8 MB, free: 5.234 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.235/8.396, allocations: 10.23 kB / 495.9 MB, free: 5.23 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test76_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test76.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1)