Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test63",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test63,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test63",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001718/0.001719, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001942/0.001942, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, allocations: 227.4 MB / 246.8 MB, free: 10.55 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.2189/0.2189, allocations: 46.12 MB / 344.2 MB, free: 11.57 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.002314/0.002314, allocations: 79.84 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1193, allocations: 62.45 MB / 480.2 MB, free: 5.141 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.003326/0.1227, allocations: 1.685 MB / 481.9 MB, free: 3.441 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001686/0.1244, allocations: 1.016 MB / 482.9 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.118e-05/0.1245, allocations: 0 / 482.9 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000292/0.1248, allocations: 51.75 kB / 483 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000344/0.1251, allocations: 99.59 kB / 483.1 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001921/0.1253, allocations: 75.67 kB / 483.1 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000184/0.1255, allocations: 95.7 kB / 483.2 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.812e-05/0.1256, allocations: 8.234 kB / 483.2 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.905e-05/0.1257, allocations: 47.77 kB / 483.3 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.61e-05/0.1258, allocations: 23.86 kB / 483.3 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.09e-05/0.1258, allocations: 4 kB / 483.3 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.608e-05/0.1259, allocations: 28 kB / 483.3 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.275e-05/0.126, allocations: 39.77 kB / 483.4 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.177e-05/0.1261, allocations: 35.69 kB / 483.4 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000209/0.1263, allocations: 123.8 kB / 483.5 MB, free: 1.801 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1263, allocations: 0 / 483.5 MB, free: 1.801 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1263, allocations: 0 / 483.5 MB, free: 1.801 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.1263, allocations: 4 kB / 483.5 MB, free: 1.797 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000617/0.127, allocations: 434.7 kB / 484 MB, free: 1.324 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.127, allocations: 16.02 kB / 484 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.01e-05/0.1271, allocations: 30.75 kB / 484 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.002e-05/0.1271, allocations: 8.844 kB / 484 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002594/0.1274, allocations: 224.8 kB / 484.2 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.1274, allocations: 384 / 484.2 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.743e-05/0.1274, allocations: 11.94 kB / 484.3 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.1276, allocations: 49.67 kB / 484.3 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.1276, allocations: 0 / 484.3 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.1276, allocations: 0 / 484.3 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.1276, allocations: 0 / 484.3 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.056e-05/0.1277, allocations: 19.97 kB / 484.3 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002194/0.1279, allocations: 189.7 kB / 484.5 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000167/0.1281, allocations: 58.48 kB / 484.6 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.284e-05/0.1282, allocations: 20.86 kB / 484.6 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.1282, allocations: 7.922 kB / 484.6 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002083/0.1284, allocations: 67.39 kB / 484.7 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.362e-06/0.1284, allocations: 3.938 kB / 484.7 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002912/0.1287, allocations: 101.4 kB / 484.8 MB, free: 408 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/0.1288, allocations: 51.41 kB / 484.8 MB, free: 344 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003011/0.1291, allocations: 271 kB / 485.1 MB, free: 60 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/0.1291, allocations: 25.7 kB / 485.1 MB, free: 28 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.1292, allocations: 112.1 kB / 485.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.668e-05/0.1292, allocations: 15.89 kB / 485.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.05e-05/0.1293, allocations: 17.72 kB / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.1294, allocations: 322.8 kB / 485.6 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.25e-05/0.1295, allocations: 15.98 kB / 485.6 MB, free: 15.54 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.04e-05/0.1296, allocations: 29.72 kB / 485.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001024/0.1297, allocations: 49.64 kB / 485.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.1297, allocations: 3.938 kB / 485.7 MB, free: 15.44 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001588/0.1299, allocations: 81.5 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.1299, allocations: 6.5 kB / 485.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.1299, allocations: 4.297 kB / 485.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.1299, allocations: 4 kB / 485.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.422e-05/0.13, allocations: 15.94 kB / 485.8 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.13, allocations: 4.031 kB / 485.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.98e-05/0.1301, allocations: 11.84 kB / 485.8 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.441e-06/0.1301, allocations: 0 / 485.8 MB, free: 15.31 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 (7): * Single equations (assignments): 7 * 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.0001144/0.1302, allocations: 137.8 kB / 485.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.286e-05/0.1302, allocations: 11.91 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.709e-05/0.1303, allocations: 16.98 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.1303, allocations: 4 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1303, allocations: 0 / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.1303, allocations: 0 / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001707/0.1305, allocations: 209.5 kB / 486.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.1305, allocations: 0 / 486.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.204e-05/0.1305, allocations: 7.984 kB / 486.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.1305, allocations: 0 / 486.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.1305, allocations: 4 kB / 486.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1305, allocations: 0 / 486.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1305, allocations: 0 / 486.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001905/0.1307, allocations: 116.8 kB / 486.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.6e-05/0.1308, allocations: 89.02 kB / 486.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.603e-05/0.1308, allocations: 7.938 kB / 486.4 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.558e-05/0.1309, allocations: 0 / 486.4 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.343e-05/0.1309, allocations: 7.984 kB / 486.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.1309, allocations: 0 / 486.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001952/0.1311, allocations: 212.3 kB / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1311, allocations: 0 / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002795/0.1314, allocations: 19.98 kB / 486.6 MB, free: 14.39 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.00191/0.1333, allocations: 0.9507 MB / 487.6 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001657/0.1335, allocations: 35.98 kB / 487.6 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1335, allocations: 0 / 487.6 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.389e-05/0.1336, allocations: 23.92 kB / 487.6 MB, free: 13.49 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003382/0.1339, allocations: 33.28 kB / 487.7 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001919/0.1359, allocations: 1.673 MB / 489.3 MB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003381/0.1362, allocations: 0.7166 MB / 490 MB, free: 10.96 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.48e-05/0.1363, allocations: 16.8 kB / 490.1 MB, free: 10.94 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.04e-05/0.1364, allocations: 39.42 kB / 490.1 MB, free: 10.9 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.1364, allocations: 0 / 490.1 MB, free: 10.9 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02499/0.1614, allocations: 3.417 MB / 493.5 MB, free: 7.566 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.439/8.601, allocations: 15.61 kB / 493.5 MB, free: 7.555 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test63.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test63_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test63.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1)