Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test53.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.Test53,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test53,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001305/0.001306, allocations: 103.7 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.001346/0.001346, allocations: 212.6 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.532/1.532, allocations: 227.4 MB / 246.8 MB, free: 10.6 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.2509/0.2509, allocations: 46.11 MB / 344.2 MB, free: 11.58 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.002202/0.002202, allocations: 82.34 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1258, allocations: 62.45 MB / 480.2 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.004068/0.1299, allocations: 1.731 MB / 481.9 MB, free: 3.395 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002213/0.1321, allocations: 1.025 MB / 483 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.231e-05/0.1322, allocations: 3.938 kB / 483 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002934/0.1325, allocations: 43.83 kB / 483 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003485/0.1329, allocations: 99.53 kB / 483.1 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002439/0.1332, allocations: 83.66 kB / 483.2 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000205/0.1334, allocations: 103.7 kB / 483.3 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.1335, allocations: 4 kB / 483.3 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.1336, allocations: 51.77 kB / 483.4 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.597e-05/0.1337, allocations: 27.8 kB / 483.4 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.309e-05/0.1337, allocations: 4 kB / 483.4 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001309/0.1339, allocations: 43.98 kB / 483.4 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.345e-05/0.1339, allocations: 31.84 kB / 483.5 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.564e-05/0.134, allocations: 39.69 kB / 483.5 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002474/0.1343, allocations: 127.9 kB / 483.6 MB, free: 1.711 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.1343, allocations: 0 / 483.6 MB, free: 1.711 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1343, allocations: 0 / 483.6 MB, free: 1.711 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.1343, 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.0006548/0.135, allocations: 426.8 kB / 484 MB, free: 1.246 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.135, allocations: 12.03 kB / 484 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.301e-05/0.1351, allocations: 30.75 kB / 484.1 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.822e-05/0.1352, allocations: 8.844 kB / 484.1 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000282/0.1354, allocations: 237.5 kB / 484.3 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.1355, allocations: 384 / 484.3 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.577e-05/0.1355, allocations: 11.92 kB / 484.3 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.1357, allocations: 53.67 kB / 484.4 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.1357, allocations: 0 / 484.4 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.1357, allocations: 0 / 484.4 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.1357, allocations: 0 / 484.4 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.133e-05/0.1358, allocations: 23.98 kB / 484.4 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004271/0.1363, allocations: 296.7 kB / 484.7 MB, free: 492 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002045/0.1365, allocations: 66.59 kB / 484.8 MB, free: 416 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.643e-05/0.1366, allocations: 16.86 kB / 484.8 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.102e-05/0.1366, allocations: 0 / 484.8 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002317/0.1368, allocations: 75.38 kB / 484.9 MB, free: 308 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.1368, allocations: 0 / 484.9 MB, free: 308 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006527/0.1375, allocations: 173.4 kB / 485 MB, free: 128 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.254e-05/0.1376, allocations: 55.41 kB / 485.1 MB, free: 60 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003338/0.1379, allocations: 242.1 kB / 485.3 MB, free: 15.81 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.683e-05/0.138, allocations: 29.7 kB / 485.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.1381, allocations: 112.1 kB / 485.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.778e-05/0.1381, allocations: 23.66 kB / 485.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.691e-05/0.1382, allocations: 25.7 kB / 485.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.1384, allocations: 330.8 kB / 485.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001561/0.1385, allocations: 15.94 kB / 485.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.385e-05/0.1386, allocations: 37.7 kB / 485.9 MB, free: 15.22 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001563/0.1388, allocations: 61.77 kB / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1388, allocations: 0 / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003131/0.1391, allocations: 113.4 kB / 486 MB, free: 15.04 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.1392, allocations: 4 kB / 486 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.1392, allocations: 0 / 486 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.1392, allocations: 4 kB / 486.1 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.1393, allocations: 19.94 kB / 486.1 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.1393, allocations: 0 / 486.1 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.851e-05/0.1394, allocations: 11.92 kB / 486.1 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.1394, allocations: 0 / 486.1 MB, free: 15 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.0001306/0.1396, allocations: 133.9 kB / 486.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.457e-05/0.1396, allocations: 11.89 kB / 486.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.475e-05/0.1397, allocations: 17.59 kB / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.1397, allocations: 0 / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.1397, allocations: 3.938 kB / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.1397, allocations: 3.938 kB / 486.3 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005834/0.1403, allocations: 403.2 kB / 486.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1403, allocations: 0 / 486.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.337e-05/0.1404, allocations: 12.03 kB / 486.7 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.1404, allocations: 3.938 kB / 486.7 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.1404, allocations: 7.984 kB / 486.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1404, allocations: 0 / 486.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1404, allocations: 0 / 486.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003042/0.1407, allocations: 204.5 kB / 486.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.876e-05/0.1408, allocations: 88.92 kB / 487 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.363e-05/0.1409, allocations: 11.94 kB / 487 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.141, allocations: 3.984 kB / 487 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.898e-05/0.141, allocations: 8 kB / 487 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.675e-05/0.141, allocations: 4 kB / 487 MB, free: 13.99 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002122/0.1413, allocations: 172.4 kB / 487.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1413, allocations: 0 / 487.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004389/0.1417, allocations: 24 kB / 487.2 MB, free: 13.8 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.002611/0.1443, allocations: 1.114 MB / 488.3 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000233/0.1446, allocations: 59.91 kB / 488.3 MB, free: 12.76 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1446, allocations: 0 / 488.3 MB, free: 12.76 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.251e-05/0.1447, allocations: 27.98 kB / 488.4 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003972/0.1451, allocations: 33.59 kB / 488.4 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001892/0.147, allocations: 1.732 MB / 490.1 MB, free: 10.89 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003745/0.1474, allocations: 0.7157 MB / 490.9 MB, free: 10.15 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.496e-05/0.1475, allocations: 17.17 kB / 490.9 MB, free: 10.13 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.144e-05/0.1475, allocations: 39.42 kB / 490.9 MB, free: 10.09 MB / 366.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1475, allocations: 0 / 490.9 MB, free: 10.09 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02418/0.1717, allocations: 3.545 MB / 494.5 MB, free: 6.625 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.282/8.454, allocations: 14.8 kB / 494.5 MB, free: 6.613 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test53.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test53_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test53.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1)