Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test1.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.001858/0.001858, allocations: 122.7 kB / 18.5 MB, free: 4.578 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.002307/0.002307, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.535/1.535, allocations: 230.2 MB / 254.5 MB, free: 15.43 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.2562/0.2562, allocations: 46.88 MB / 357.4 MB, free: 10.55 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.CombiTable2Dv.Test1,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test1,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test1",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.002431/0.002431, allocations: 81.83 kB / 0.4913 GB, free: 26.9 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1465, allocations: 65.97 MB / 0.5557 GB, free: 9.141 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.003468/0.15, allocations: 1.681 MB / 0.5573 GB, free: 7.445 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001193/0.1512, allocations: 0.5917 MB / 0.5579 GB, free: 6.852 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.541e-05/0.1512, allocations: 0 / 0.5579 GB, free: 6.852 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006512/0.1519, allocations: 451.1 kB / 0.5583 GB, free: 6.41 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004971/0.1524, allocations: 299.2 kB / 0.5586 GB, free: 6.117 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004896/0.1529, allocations: 175.1 kB / 0.5588 GB, free: 5.949 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002595/0.1531, allocations: 179.7 kB / 0.559 GB, free: 5.773 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.1532, allocations: 24.44 kB / 0.559 GB, free: 5.746 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001265/0.1534, allocations: 107.7 kB / 0.5591 GB, free: 5.641 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002941/0.1537, allocations: 255.5 kB / 0.5593 GB, free: 5.391 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.964e-05/0.1537, allocations: 4 kB / 0.5593 GB, free: 5.387 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001203/0.1538, allocations: 55.97 kB / 0.5594 GB, free: 5.332 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001257/0.1539, allocations: 87.64 kB / 0.5595 GB, free: 5.246 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001033/0.154, allocations: 111 kB / 0.5596 GB, free: 5.137 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003977/0.1544, allocations: 282.5 kB / 0.5598 GB, free: 4.859 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.1544, allocations: 0 / 0.5598 GB, free: 4.859 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.634e-06/0.1544, allocations: 0 / 0.5598 GB, free: 4.859 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.1544, allocations: 0 / 0.5598 GB, free: 4.859 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0009963/0.1554, allocations: 0.6684 MB / 0.5605 GB, free: 4.137 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.1555, allocations: 12.03 kB / 0.5605 GB, free: 4.125 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.84e-05/0.1555, allocations: 30.75 kB / 0.5605 GB, free: 4.086 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.894e-05/0.1556, allocations: 48.66 kB / 0.5606 GB, free: 4.039 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000388/0.156, allocations: 316.5 kB / 0.5609 GB, free: 3.691 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.156, allocations: 384 / 0.5609 GB, free: 3.691 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.548e-05/0.156, allocations: 8.312 kB / 0.5609 GB, free: 3.684 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002004/0.1562, allocations: 66.23 kB / 0.561 GB, free: 3.613 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.807e-05/0.1563, allocations: 3.938 kB / 0.561 GB, free: 3.609 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.1563, allocations: 0 / 0.561 GB, free: 3.609 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.1563, allocations: 4 kB / 0.561 GB, free: 3.605 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001159/0.1564, allocations: 31.97 kB / 0.561 GB, free: 3.574 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007183/0.1571, allocations: 420.5 kB / 0.5614 GB, free: 3.113 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001287/0.1572, allocations: 46.55 kB / 0.5614 GB, free: 3.059 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.335e-05/0.1573, allocations: 16.94 kB / 0.5615 GB, free: 3.039 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.431e-05/0.1573, allocations: 96 / 0.5615 GB, free: 3.039 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.657e-05/0.1574, allocations: 38.5 kB / 0.5615 GB, free: 2.992 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.1574, allocations: 4 kB / 0.5615 GB, free: 2.988 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.001099/0.1585, allocations: 332.5 kB / 0.5618 GB, free: 2.656 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.237e-05/0.1585, allocations: 55.34 kB / 0.5619 GB, free: 2.59 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/0.1595, allocations: 0.8815 MB / 0.5627 GB, free: 1.695 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.507e-05/0.1596, allocations: 29.7 kB / 0.5627 GB, free: 1.66 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002158/0.1598, allocations: 224.1 kB / 0.563 GB, free: 1.438 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.662e-05/0.1598, allocations: 35.72 kB / 0.563 GB, free: 1.402 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.957e-05/0.1599, allocations: 17.72 kB / 0.563 GB, free: 1.379 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002163/0.1601, allocations: 366.8 kB / 0.5634 GB, free: 1.012 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.781e-05/0.1602, allocations: 23.98 kB / 0.5634 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.963e-05/0.1603, allocations: 31.97 kB / 0.5634 GB, free: 0.957 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001703/0.1604, allocations: 76.83 kB / 0.5635 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1604, allocations: 3.938 kB / 0.5635 GB, free: 0.875 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002859/0.1607, allocations: 153.5 kB / 0.5636 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.1607, allocations: 8 kB / 0.5636 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.1607, allocations: 0 / 0.5636 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.1608, allocations: 0 / 0.5636 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.1609, allocations: 15.98 kB / 0.5637 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.1609, allocations: 8 kB / 0.5637 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.243e-05/0.1609, allocations: 3.938 kB / 0.5637 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.938e-06/0.1609, allocations: 8 kB / 0.5637 GB, free: 0.6758 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 (8): * Single equations (assignments): 8 * 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.0002232/0.1612, allocations: 217.7 kB / 0.5639 GB, free: 464 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.131e-05/0.1612, allocations: 47.66 kB / 0.5639 GB, free: 416 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003572/0.1616, allocations: 177.5 kB / 0.5641 GB, free: 224 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.1616, allocations: 0 / 0.5641 GB, free: 224 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1616, allocations: 0 / 0.5641 GB, free: 224 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.1616, allocations: 3.938 kB / 0.5641 GB, free: 220 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000784/0.1624, allocations: 0.5226 MB / 0.5646 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1624, allocations: 0 / 0.5646 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.472e-05/0.1625, allocations: 15.98 kB / 0.5646 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/0.1625, allocations: 11.97 kB / 0.5646 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.1625, allocations: 4 kB / 0.5647 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1625, allocations: 3.938 kB / 0.5647 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1625, allocations: 0 / 0.5647 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003406/0.1628, allocations: 244.1 kB / 0.5649 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001383/0.163, allocations: 120.7 kB / 0.565 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.092e-05/0.163, allocations: 8 kB / 0.565 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.754e-05/0.1631, allocations: 11.98 kB / 0.565 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.488e-05/0.1631, allocations: 4 kB / 0.565 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.196e-06/0.1631, allocations: 4 kB / 0.565 GB, free: 15.18 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007437/0.1639, allocations: 0.6589 MB / 0.5657 GB, free: 14.52 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1639, allocations: 0 / 0.5657 GB, free: 14.52 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002976/0.1642, allocations: 35.92 kB / 0.5657 GB, free: 14.48 MB / 430.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.002374/0.1666, allocations: 1.142 MB / 0.5668 GB, free: 13.49 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002623/0.1668, allocations: 79.86 kB / 0.5669 GB, free: 13.41 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1668, allocations: 0 / 0.5669 GB, free: 13.41 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001048/0.1669, allocations: 31.98 kB / 0.5669 GB, free: 13.38 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004309/0.1674, allocations: 33.3 kB / 0.567 GB, free: 13.36 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004324/0.1717, allocations: 3.399 MB / 0.5703 GB, free: 9.859 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006484/0.1723, allocations: 0.8299 MB / 0.5711 GB, free: 9.004 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.305e-05/0.1724, allocations: 32.7 kB / 0.5711 GB, free: 8.973 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002274/0.1726, allocations: 111.4 kB / 0.5712 GB, free: 8.863 MB / 430.1 MB Notification: Performance of SimCode: time 7.91e-07/0.1726, allocations: 0 / 0.5712 GB, free: 8.863 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03261/0.2053, allocations: 6.506 MB / 0.5776 GB, free: 2.418 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.551/8.756, allocations: 11.98 kB / 0.5776 GB, free: 2.406 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test1_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test1.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.872609259095043] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y', 'const.y', 'd2_t_new.y'] 8.88042976288125 8.896114706 8.738667407 Calling exit ...