Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test1,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001255/0.001255, 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.001295/0.001295, 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.463/1.463, 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.2625/0.2625, 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.002329/0.002329, allocations: 80.94 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1301, allocations: 62.45 MB / 480.2 MB, free: 5.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.003478/0.1336, allocations: 1.727 MB / 481.9 MB, free: 3.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001765/0.1354, allocations: 1.027 MB / 483 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.321e-05/0.1355, allocations: 0 / 483 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000295/0.1358, allocations: 55.75 kB / 483 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002928/0.1361, allocations: 95.55 kB / 483.1 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002104/0.1363, allocations: 83.66 kB / 483.2 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001716/0.1365, allocations: 99.7 kB / 483.3 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.364e-05/0.1366, allocations: 12 kB / 483.3 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.244e-05/0.1367, allocations: 51.7 kB / 483.4 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.145e-05/0.1368, allocations: 31.8 kB / 483.4 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.739e-05/0.1368, allocations: 4 kB / 483.4 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.775e-05/0.1369, allocations: 47.97 kB / 483.4 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.55e-05/0.137, allocations: 27.86 kB / 483.5 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.516e-05/0.137, allocations: 39.69 kB / 483.5 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002023/0.1372, allocations: 135.8 kB / 483.6 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1372, allocations: 0 / 483.6 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.1372, allocations: 0 / 483.6 MB, free: 1.707 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.1373, allocations: 4 kB / 483.6 MB, free: 1.703 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.000592/0.1379, allocations: 450.7 kB / 484.1 MB, free: 1.215 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.1379, allocations: 8.031 kB / 484.1 MB, free: 1.207 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.775e-05/0.138, allocations: 34.75 kB / 484.1 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.114e-05/0.138, allocations: 16.75 kB / 484.1 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002516/0.1383, allocations: 216.9 kB / 484.4 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.496e-06/0.1383, allocations: 384 / 484.4 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.525e-05/0.1383, allocations: 11.94 kB / 484.4 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.1385, allocations: 61.67 kB / 484.4 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.1385, allocations: 3.984 kB / 484.4 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.1385, allocations: 3.984 kB / 484.4 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.1385, allocations: 0 / 484.4 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.492e-05/0.1386, allocations: 19.98 kB / 484.5 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004012/0.139, allocations: 292.9 kB / 484.7 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001667/0.1392, allocations: 66.61 kB / 484.8 MB, free: 392 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.511e-05/0.1392, allocations: 20.84 kB / 484.8 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.752e-05/0.1393, allocations: 7.938 kB / 484.8 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001972/0.1395, allocations: 63.39 kB / 484.9 MB, free: 284 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.273e-06/0.1395, allocations: 0 / 484.9 MB, free: 284 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005596/0.14, allocations: 185 kB / 485.1 MB, free: 92 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.064e-05/0.1401, allocations: 55.41 kB / 485.1 MB, free: 24 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003107/0.1404, allocations: 274.9 kB / 485.4 MB, free: 15.74 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.1404, allocations: 25.7 kB / 485.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.97e-05/0.1405, allocations: 116.1 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.102e-05/0.1406, allocations: 27.58 kB / 485.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.86e-05/0.1406, allocations: 21.72 kB / 485.6 MB, free: 15.54 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.1408, allocations: 330.8 kB / 485.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.791e-05/0.1408, allocations: 19.98 kB / 485.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.195e-05/0.1409, allocations: 41.64 kB / 486 MB, free: 15.14 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001136/0.141, allocations: 57.7 kB / 486 MB, free: 15.08 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.141, allocations: 0 / 486 MB, free: 15.08 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001973/0.1412, allocations: 105.4 kB / 486.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.1413, allocations: 4 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.1413, allocations: 4 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.1413, allocations: 4.031 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.006e-05/0.1414, allocations: 15.98 kB / 486.2 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.1414, allocations: 3.938 kB / 486.2 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.838e-05/0.1415, allocations: 11.94 kB / 486.2 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.625e-06/0.1415, allocations: 4 kB / 486.2 MB, free: 14.92 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.0001245/0.1416, allocations: 133.8 kB / 486.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.379e-05/0.1416, allocations: 11.81 kB / 486.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.607e-05/0.1417, allocations: 21.55 kB / 486.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.1417, allocations: 8.375 kB / 486.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.1417, allocations: 0 / 486.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.1417, allocations: 3.938 kB / 486.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004807/0.1422, allocations: 415.2 kB / 486.8 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1422, allocations: 0 / 486.8 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.373e-05/0.1422, allocations: 11.98 kB / 486.8 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.1423, allocations: 3.938 kB / 486.8 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.1423, allocations: 4 kB / 486.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.1423, allocations: 4.031 kB / 486.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.1423, allocations: 0 / 486.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002427/0.1425, allocations: 212.1 kB / 487 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.655e-05/0.1426, allocations: 85.02 kB / 487.1 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.566e-05/0.1426, allocations: 7.938 kB / 487.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.986e-05/0.1427, allocations: 7.984 kB / 487.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.515e-05/0.1427, allocations: 8 kB / 487.1 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.1428, allocations: 0 / 487.1 MB, free: 13.9 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001931/0.143, allocations: 212.4 kB / 487.3 MB, free: 13.69 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.143, allocations: 0 / 487.3 MB, free: 13.69 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002493/0.1432, allocations: 20 kB / 487.3 MB, free: 13.67 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.002065/0.1453, allocations: 1.097 MB / 488.4 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001788/0.1455, allocations: 59.92 kB / 488.5 MB, free: 12.65 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.1455, allocations: 4.062 kB / 488.5 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.679e-05/0.1456, allocations: 23.98 kB / 488.5 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003481/0.1459, allocations: 37.14 kB / 488.5 MB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001977/0.1479, allocations: 1.823 MB / 490.4 MB, free: 10.67 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003666/0.1483, allocations: 0.7274 MB / 491.1 MB, free: 9.918 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.291e-05/0.1484, allocations: 20.81 kB / 491.1 MB, free: 9.898 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.556e-05/0.1484, allocations: 43.42 kB / 491.1 MB, free: 9.855 MB / 366.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1484, allocations: 0 / 491.1 MB, free: 9.855 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06504/0.2135, allocations: 3.705 MB / 494.9 MB, free: 6.234 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.923/8.137, allocations: 17.97 kB / 494.9 MB, free: 6.219 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test1_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test1.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1)