Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test25.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.Test25,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test25,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001384/0.001384, allocations: 104.4 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.001443/0.001443, 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.527/1.527, 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.2567/0.2567, allocations: 46.12 MB / 344.2 MB, free: 11.53 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.002203/0.002203, allocations: 85.33 kB / 417.8 MB, free: 19.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.126, allocations: 62.45 MB / 480.2 MB, free: 5.098 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.003339/0.1294, allocations: 1.727 MB / 482 MB, free: 3.359 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001728/0.1311, allocations: 1.021 MB / 483 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.413e-05/0.1312, allocations: 3.938 kB / 483 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002691/0.1315, allocations: 43.83 kB / 483 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003036/0.1318, allocations: 99.53 kB / 483.1 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001948/0.132, allocations: 83.66 kB / 483.2 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001656/0.1322, allocations: 99.7 kB / 483.3 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.869e-05/0.1323, allocations: 11.98 kB / 483.3 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.532e-05/0.1324, allocations: 43.73 kB / 483.3 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.02e-05/0.1325, allocations: 35.78 kB / 483.4 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/0.1325, allocations: 4 kB / 483.4 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.1326, allocations: 43.98 kB / 483.4 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.534e-05/0.1327, allocations: 27.84 kB / 483.5 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.029e-05/0.1328, allocations: 39.75 kB / 483.5 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002165/0.133, allocations: 115.9 kB / 483.6 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.133, allocations: 0 / 483.6 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.133, allocations: 0 / 483.6 MB, free: 1.691 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.14e-05/0.133, allocations: 0 / 483.6 MB, free: 1.691 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.0006143/0.1337, allocations: 422.9 kB / 484 MB, free: 1.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.1337, allocations: 12.03 kB / 484 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.191e-05/0.1337, allocations: 34.75 kB / 484.1 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.035e-05/0.1338, allocations: 12.75 kB / 484.1 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000261/0.1341, allocations: 220 kB / 484.3 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.1341, allocations: 4.375 kB / 484.3 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.205e-05/0.1341, allocations: 7.938 kB / 484.3 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.1343, allocations: 49.67 kB / 484.4 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.1343, allocations: 8 kB / 484.4 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.1343, allocations: 0 / 484.4 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.1343, allocations: 0 / 484.4 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.719e-05/0.1344, allocations: 19.98 kB / 484.4 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000393/0.1348, allocations: 292.8 kB / 484.7 MB, free: 492 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001683/0.135, allocations: 54.69 kB / 484.7 MB, free: 428 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.616e-05/0.135, allocations: 20.84 kB / 484.7 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/0.1351, allocations: 4 kB / 484.7 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000198/0.1353, allocations: 67.39 kB / 484.8 MB, free: 320 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 3.286e-06/0.1353, allocations: 0 / 484.8 MB, free: 320 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005238/0.1358, allocations: 177 kB / 485 MB, free: 136 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.183e-05/0.1359, allocations: 55.41 kB / 485 MB, free: 68 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000236/0.1361, allocations: 210.2 kB / 485.2 MB, free: 15.85 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.1361, allocations: 25.7 kB / 485.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.089e-05/0.1362, allocations: 108.1 kB / 485.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.702e-05/0.1363, allocations: 27.69 kB / 485.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-05/0.1363, allocations: 21.72 kB / 485.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.1365, allocations: 326.8 kB / 485.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.911e-05/0.1365, allocations: 23.98 kB / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.978e-05/0.1366, allocations: 42.02 kB / 485.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001137/0.1367, allocations: 57.78 kB / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1367, allocations: 0 / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001904/0.1369, allocations: 113.4 kB / 486 MB, free: 15.08 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.137, allocations: 4 kB / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.137, allocations: 0 / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.137, allocations: 0 / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.672e-05/0.1371, allocations: 23.92 kB / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.1371, allocations: 0 / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.437e-05/0.1371, allocations: 7.875 kB / 486 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.878e-06/0.1372, allocations: 8 kB / 486 MB, free: 15.04 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.0001127/0.1373, allocations: 129.9 kB / 486.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.161e-05/0.1373, allocations: 7.906 kB / 486.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.408e-05/0.1373, allocations: 17.41 kB / 486.2 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.1374, allocations: 3.984 kB / 486.2 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.1374, allocations: 0 / 486.2 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/0.1374, allocations: 7.922 kB / 486.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004787/0.1379, allocations: 399.2 kB / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1379, allocations: 0 / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.11e-05/0.1379, allocations: 12.03 kB / 486.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.591e-06/0.1379, allocations: 7.922 kB / 486.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.1379, allocations: 4 kB / 486.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1379, allocations: 0 / 486.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1379, allocations: 0 / 486.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002545/0.1382, allocations: 200.2 kB / 486.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.567e-05/0.1383, allocations: 88.92 kB / 486.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.885e-05/0.1383, allocations: 11.94 kB / 486.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.998e-05/0.1384, allocations: 3.984 kB / 486.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.901e-05/0.1384, allocations: 8 kB / 486.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/0.1385, allocations: 4 kB / 486.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001596/0.1386, allocations: 156.8 kB / 487.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1386, allocations: 0 / 487.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002647/0.1389, allocations: 27.98 kB / 487.1 MB, free: 13.86 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.002257/0.1412, allocations: 1.1 MB / 488.2 MB, free: 12.9 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002154/0.1414, allocations: 63.91 kB / 488.2 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.1414, allocations: 0 / 488.2 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.922e-05/0.1415, allocations: 31.92 kB / 488.3 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003836/0.1419, allocations: 30.22 kB / 488.3 MB, free: 12.78 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002031/0.1439, allocations: 1.687 MB / 490 MB, free: 11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003396/0.1443, allocations: 0.7158 MB / 490.7 MB, free: 10.26 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.266e-05/0.1443, allocations: 12.81 kB / 490.7 MB, free: 10.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.999e-05/0.1444, allocations: 39.36 kB / 490.8 MB, free: 10.21 MB / 366.1 MB Notification: Performance of SimCode: time 7.22e-07/0.1444, allocations: 0 / 490.8 MB, free: 10.21 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04618/0.1906, allocations: 3.433 MB / 494.2 MB, free: 6.855 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.869/8.06, allocations: 11.92 kB / 494.2 MB, free: 6.844 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test25_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test25.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1)