Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test12.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002036/0.002036, allocations: 116.4 kB / 18.5 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002674/0.002674, allocations: 208.9 kB / 21.46 MB, free: 1.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.587/1.587, allocations: 230.2 MB / 254.5 MB, free: 15.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2373/0.2373, allocations: 46.89 MB / 357.4 MB, free: 10.52 MB / 286.1 MB " [Timeout remaining time 180] 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.CombiTable1Ds.Test12,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test12,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "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.00226/0.00226, allocations: 79.88 kB / 0.4912 GB, free: 8.531 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.138, allocations: 65.99 MB / 0.5557 GB, free: 6.418 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.003101/0.1411, allocations: 1.601 MB / 0.5572 GB, free: 4.801 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001122/0.1423, allocations: 0.5372 MB / 0.5578 GB, free: 4.262 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.207e-05/0.1423, allocations: 0 / 0.5578 GB, free: 4.262 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002424/0.1426, allocations: 27.86 kB / 0.5578 GB, free: 4.234 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002906/0.1428, allocations: 83.59 kB / 0.5579 GB, free: 4.152 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002708/0.1431, allocations: 94.72 kB / 0.558 GB, free: 4.062 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001648/0.1433, allocations: 63.81 kB / 0.558 GB, free: 4 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.1434, allocations: 8 kB / 0.558 GB, free: 3.992 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.804e-05/0.1434, allocations: 23.92 kB / 0.5581 GB, free: 3.969 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.847e-05/0.1435, allocations: 23.8 kB / 0.5581 GB, free: 3.945 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.542e-05/0.1435, allocations: 7.938 kB / 0.5581 GB, free: 3.938 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.042e-05/0.1436, allocations: 31.98 kB / 0.5581 GB, free: 3.906 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.194e-05/0.1437, allocations: 15.92 kB / 0.5581 GB, free: 3.891 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.109e-05/0.1437, allocations: 23.81 kB / 0.5581 GB, free: 3.867 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001954/0.1439, allocations: 91.58 kB / 0.5582 GB, free: 3.777 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1439, allocations: 0 / 0.5582 GB, free: 3.777 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1439, allocations: 0 / 0.5582 GB, free: 3.777 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.1439, allocations: 0 / 0.5582 GB, free: 3.777 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005426/0.1444, allocations: 394.9 kB / 0.5586 GB, free: 3.34 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.107e-05/0.1445, allocations: 15.97 kB / 0.5586 GB, free: 3.324 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.587e-05/0.1445, allocations: 34.75 kB / 0.5587 GB, free: 3.281 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.512e-05/0.1446, allocations: 12.84 kB / 0.5587 GB, free: 3.27 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002309/0.1448, allocations: 192.8 kB / 0.5589 GB, free: 3.043 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.1448, allocations: 4.375 kB / 0.5589 GB, free: 3.039 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.687e-05/0.1448, allocations: 4.375 kB / 0.5589 GB, free: 3.035 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.145, allocations: 57.61 kB / 0.5589 GB, free: 2.973 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.145, allocations: 0 / 0.5589 GB, free: 2.973 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.145, allocations: 3.984 kB / 0.5589 GB, free: 2.969 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.145, allocations: 0 / 0.5589 GB, free: 2.969 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001007/0.1451, allocations: 27.86 kB / 0.559 GB, free: 2.941 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004198/0.1455, allocations: 276.9 kB / 0.5592 GB, free: 2.621 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002135/0.1457, allocations: 42.56 kB / 0.5593 GB, free: 2.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.297e-05/0.1458, allocations: 20.94 kB / 0.5593 GB, free: 2.547 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.1458, allocations: 0 / 0.5593 GB, free: 2.547 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.1458, allocations: 30.56 kB / 0.5593 GB, free: 2.508 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.1459, allocations: 3.938 kB / 0.5593 GB, free: 2.504 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005539/0.1464, allocations: 141.4 kB / 0.5594 GB, free: 2.359 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.537e-05/0.1464, allocations: 55.41 kB / 0.5595 GB, free: 2.293 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002071/0.1467, allocations: 182.4 kB / 0.5597 GB, free: 2.098 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.1467, allocations: 25.7 kB / 0.5597 GB, free: 2.066 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.585e-05/0.1467, allocations: 92.14 kB / 0.5598 GB, free: 1.973 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.914e-05/0.1468, allocations: 23.83 kB / 0.5598 GB, free: 1.949 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.964e-05/0.1468, allocations: 21.72 kB / 0.5598 GB, free: 1.922 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.147, allocations: 322.8 kB / 0.5601 GB, free: 1.598 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.611e-05/0.1471, allocations: 19.98 kB / 0.5602 GB, free: 1.578 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.489e-05/0.1471, allocations: 15.98 kB / 0.5602 GB, free: 1.562 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001257/0.1472, allocations: 48.83 kB / 0.5602 GB, free: 1.512 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.1472, allocations: 0 / 0.5602 GB, free: 1.512 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001897/0.1474, allocations: 85.58 kB / 0.5603 GB, free: 1.422 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.1474, allocations: 5.875 kB / 0.5603 GB, free: 1.418 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.1474, allocations: 0 / 0.5603 GB, free: 1.418 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.1475, allocations: 3.938 kB / 0.5603 GB, free: 1.414 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.578e-05/0.1475, allocations: 20.17 kB / 0.5603 GB, free: 1.395 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.1475, allocations: 0 / 0.5603 GB, free: 1.395 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.332e-05/0.1476, allocations: 8 kB / 0.5603 GB, free: 1.387 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.1476, allocations: 11.92 kB / 0.5603 GB, free: 1.375 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.000104/0.1477, allocations: 121.8 kB / 0.5605 GB, free: 1.246 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.183e-05/0.1477, allocations: 7.953 kB / 0.5605 GB, free: 1.238 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002409/0.148, allocations: 85.97 kB / 0.5606 GB, free: 1.148 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.148, allocations: 0 / 0.5606 GB, free: 1.148 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.148, allocations: 0 / 0.5606 GB, free: 1.148 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.148, allocations: 7.922 kB / 0.5606 GB, free: 1.141 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004525/0.1484, allocations: 350.5 kB / 0.5609 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1484, allocations: 0 / 0.5609 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.474e-05/0.1485, allocations: 15.92 kB / 0.5609 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1485, allocations: 0 / 0.5609 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.1485, allocations: 4 kB / 0.5609 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.1485, allocations: 7.938 kB / 0.5609 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1485, allocations: 0 / 0.5609 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002273/0.1487, allocations: 183.4 kB / 0.5611 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.777e-05/0.1488, allocations: 85.02 kB / 0.5612 GB, free: 428 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.667e-05/0.1488, allocations: 4 kB / 0.5612 GB, free: 424 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.095e-05/0.1489, allocations: 7.922 kB / 0.5612 GB, free: 416 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.817e-05/0.1489, allocations: 4 kB / 0.5612 GB, free: 412 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.1489, allocations: 0 / 0.5612 GB, free: 412 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001203/0.149, allocations: 139.9 kB / 0.5613 GB, free: 272 kB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.149, allocations: 0 / 0.5613 GB, free: 272 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002493/0.1493, allocations: 23.92 kB / 0.5613 GB, free: 248 kB / 414.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.001884/0.1512, allocations: 1.006 MB / 0.5623 GB, free: 15.36 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001978/0.1514, allocations: 43.97 kB / 0.5624 GB, free: 15.32 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1514, allocations: 4 kB / 0.5624 GB, free: 15.32 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.149e-05/0.1514, allocations: 31.91 kB / 0.5624 GB, free: 15.29 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003537/0.1518, allocations: 23.81 kB / 0.5624 GB, free: 15.26 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001825/0.1536, allocations: 1.492 MB / 0.5639 GB, free: 13.69 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003595/0.154, allocations: 0.7002 MB / 0.5646 GB, free: 12.96 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.016e-05/0.154, allocations: 8 kB / 0.5646 GB, free: 12.96 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.414e-05/0.1541, allocations: 27.42 kB / 0.5646 GB, free: 12.93 MB / 430.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1541, allocations: 0 / 0.5646 GB, free: 12.93 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02232/0.1764, allocations: 2.678 MB / 0.5672 GB, free: 10.31 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.089/8.266, allocations: 10.23 kB / 0.5672 GB, free: 10.3 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test12_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test12.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.413788432255387] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y'] 8.388061498757452 8.404189238 8.257323209 Calling exit ...