Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001737/0.001737, 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.002009/0.00201, 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.542/1.542, allocations: 227.4 MB / 246.8 MB, free: 10.61 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.2545/0.2545, allocations: 46.11 MB / 344.2 MB, free: 11.6 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.002189/0.002189, allocations: 82.66 kB / 417.8 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1208, allocations: 62.45 MB / 480.2 MB, free: 5.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003877/0.1247, allocations: 1.759 MB / 482 MB, free: 3.387 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001882/0.1266, allocations: 1.037 MB / 483 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.927e-05/0.1267, allocations: 4 kB / 483 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003661/0.1271, allocations: 103.7 kB / 483.1 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003356/0.1275, allocations: 127.5 kB / 483.2 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002879/0.1278, allocations: 83.72 kB / 483.3 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002164/0.128, allocations: 139.6 kB / 483.5 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.1281, allocations: 17.39 kB / 483.5 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.1282, allocations: 63.77 kB / 483.5 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001249/0.1284, allocations: 71.73 kB / 483.6 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.059e-05/0.1284, allocations: 12 kB / 483.6 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001265/0.1285, allocations: 55.98 kB / 483.7 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.908e-05/0.1286, allocations: 27.92 kB / 483.7 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.208e-05/0.1287, allocations: 59.59 kB / 483.8 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002737/0.129, allocations: 155.8 kB / 483.9 MB, free: 1.438 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.129, allocations: 3.938 kB / 483.9 MB, free: 1.434 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.129, allocations: 4 kB / 483.9 MB, free: 1.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.67e-06/0.129, allocations: 0 / 483.9 MB, free: 1.43 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007428/0.1298, allocations: 458.6 kB / 484.4 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.1298, allocations: 12.03 kB / 484.4 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.355e-05/0.1299, allocations: 38.73 kB / 484.4 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.082e-05/0.1299, allocations: 20.75 kB / 484.4 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003455/0.1303, allocations: 221 kB / 484.7 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.1303, allocations: 4.375 kB / 484.7 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.976e-05/0.1304, allocations: 11.88 kB / 484.7 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001865/0.1306, allocations: 73.59 kB / 484.7 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.1306, allocations: 4 kB / 484.8 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.1306, allocations: 0 / 484.8 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.1306, allocations: 0 / 484.8 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001111/0.1307, allocations: 43.97 kB / 484.8 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005006/0.1312, allocations: 336.6 kB / 485.1 MB, free: 84 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002959/0.1315, allocations: 78.52 kB / 485.2 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.169e-05/0.1316, allocations: 24.86 kB / 485.2 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.1317, allocations: 7.938 kB / 485.2 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002382/0.1319, allocations: 75.33 kB / 485.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.282e-06/0.1319, allocations: 0 / 485.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008919/0.1328, allocations: 309.5 kB / 485.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.578e-05/0.1329, allocations: 55.41 kB / 485.7 MB, free: 15.5 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002723/0.1332, allocations: 251.8 kB / 485.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.227e-05/0.1332, allocations: 41.64 kB / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.826e-05/0.1333, allocations: 112.1 kB / 486.1 MB, free: 15.09 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.936e-05/0.1334, allocations: 51.5 kB / 486.1 MB, free: 15.04 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.12e-05/0.1334, allocations: 29.7 kB / 486.1 MB, free: 15 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.1336, allocations: 330.8 kB / 486.5 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.063e-05/0.1337, allocations: 32.08 kB / 486.5 MB, free: 14.64 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.1338, allocations: 64.58 kB / 486.6 MB, free: 14.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001766/0.134, allocations: 109.2 kB / 486.7 MB, free: 14.46 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.134, allocations: 0 / 486.7 MB, free: 14.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002787/0.1343, allocations: 157.5 kB / 486.8 MB, free: 14.3 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.1343, allocations: 7.938 kB / 486.8 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1343, allocations: 0 / 486.8 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.1343, allocations: 7.938 kB / 486.8 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.519e-05/0.1344, allocations: 31.92 kB / 486.9 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.1345, allocations: 4 kB / 486.9 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.289e-05/0.1345, allocations: 4.031 kB / 486.9 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.1345, allocations: 4 kB / 486.9 MB, free: 14.24 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 (16): * Single equations (assignments): 16 * 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.0001261/0.1347, allocations: 141.8 kB / 487 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.047e-05/0.1347, allocations: 15.81 kB / 487 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.231e-05/0.1348, allocations: 29.45 kB / 487.1 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.1348, allocations: 4 kB / 487.1 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.1348, allocations: 0 / 487.1 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1348, allocations: 0 / 487.1 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006284/0.1354, allocations: 0.5038 MB / 487.6 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.1354, allocations: 4 kB / 487.6 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.427e-05/0.1355, allocations: 23.98 kB / 487.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.1355, allocations: 3.938 kB / 487.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.1355, allocations: 4 kB / 487.6 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1355, allocations: 0 / 487.6 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1355, allocations: 64 / 487.6 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003415/0.1359, allocations: 264.9 kB / 487.9 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.03e-05/0.136, allocations: 88.92 kB / 487.9 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.985e-05/0.136, allocations: 8 kB / 488 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.387e-05/0.1361, allocations: 3.984 kB / 488 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/0.1361, allocations: 19.98 kB / 488 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.128e-05/0.1362, allocations: 4 kB / 488 MB, free: 13.02 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001817/0.1363, allocations: 193.5 kB / 488.2 MB, free: 12.83 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1364, allocations: 0 / 488.2 MB, free: 12.83 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002752/0.1366, allocations: 39.98 kB / 488.2 MB, free: 12.79 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 (14): * Single equations (assignments): 12 * 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.002555/0.1392, allocations: 1.198 MB / 489.4 MB, free: 11.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002585/0.1395, allocations: 107.9 kB / 489.5 MB, free: 11.64 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.1395, allocations: 3.938 kB / 489.5 MB, free: 11.64 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001042/0.1396, allocations: 55.86 kB / 489.6 MB, free: 11.59 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000359/0.14, allocations: 32.66 kB / 489.6 MB, free: 11.56 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002452/0.1424, allocations: 1.997 MB / 491.6 MB, free: 9.469 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003898/0.1428, allocations: 0.7201 MB / 492.3 MB, free: 8.723 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.966e-05/0.1429, allocations: 33.39 kB / 492.3 MB, free: 8.691 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.869e-05/0.143, allocations: 47.42 kB / 492.4 MB, free: 8.645 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.143, allocations: 0 / 492.4 MB, free: 8.645 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02724/0.1703, allocations: 4.27 MB / 496.7 MB, free: 4.465 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.946/8.117, allocations: 7.984 kB / 496.7 MB, free: 4.457 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test5_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test5.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1)