Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test30.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.001539/0.001539, 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.001495/0.001495, 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.511/1.511, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.2297/0.2297, allocations: 46.89 MB / 357.4 MB, free: 10.51 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.CombiTable1Dv.Test30,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test30,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test30",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.002318/0.002318, allocations: 79.86 kB / 0.4912 GB, free: 8.516 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.1489, allocations: 65.98 MB / 0.5557 GB, free: 6.41 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.003626/0.1525, allocations: 1.63 MB / 0.5573 GB, free: 4.766 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001162/0.1537, allocations: 0.5566 MB / 0.5578 GB, free: 4.207 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.469e-05/0.1538, allocations: 0 / 0.5578 GB, free: 4.207 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002951/0.1541, allocations: 75.77 kB / 0.5579 GB, free: 4.133 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000319/0.1544, allocations: 107.6 kB / 0.558 GB, free: 4.027 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003222/0.1547, allocations: 111 kB / 0.5581 GB, free: 3.922 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001959/0.1549, allocations: 91.8 kB / 0.5582 GB, free: 3.832 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.155, allocations: 15.94 kB / 0.5582 GB, free: 3.816 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.277e-05/0.1551, allocations: 35.89 kB / 0.5582 GB, free: 3.781 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001228/0.1552, allocations: 63.75 kB / 0.5583 GB, free: 3.719 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.319e-05/0.1552, allocations: 0 / 0.5583 GB, free: 3.719 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.973e-05/0.1553, allocations: 51.97 kB / 0.5583 GB, free: 3.668 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.213e-05/0.1554, allocations: 19.92 kB / 0.5584 GB, free: 3.648 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.011e-05/0.1554, allocations: 27.75 kB / 0.5584 GB, free: 3.621 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002238/0.1556, allocations: 107.5 kB / 0.5585 GB, free: 3.516 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1556, allocations: 0 / 0.5585 GB, free: 3.516 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.448e-06/0.1556, allocations: 3.984 kB / 0.5585 GB, free: 3.512 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.1557, allocations: 4 kB / 0.5585 GB, free: 3.508 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006398/0.1563, allocations: 414.7 kB / 0.5589 GB, free: 3.051 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.1563, allocations: 12.03 kB / 0.5589 GB, free: 3.039 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.652e-05/0.1564, allocations: 34.75 kB / 0.5589 GB, free: 2.996 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.725e-05/0.1564, allocations: 12.84 kB / 0.5589 GB, free: 2.984 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002552/0.1567, allocations: 204.8 kB / 0.5591 GB, free: 2.742 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.1567, allocations: 4.375 kB / 0.5591 GB, free: 2.738 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.614e-05/0.1567, allocations: 384 / 0.5591 GB, free: 2.738 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001806/0.1569, allocations: 70.11 kB / 0.5592 GB, free: 2.664 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/0.1569, allocations: 3.938 kB / 0.5592 GB, free: 2.66 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.1569, allocations: 0 / 0.5592 GB, free: 2.66 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.1569, allocations: 0 / 0.5592 GB, free: 2.66 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001031/0.157, allocations: 27.97 kB / 0.5592 GB, free: 2.633 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005014/0.1575, allocations: 304.8 kB / 0.5595 GB, free: 2.285 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.1577, allocations: 46.5 kB / 0.5596 GB, free: 2.23 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.402e-05/0.1577, allocations: 20.94 kB / 0.5596 GB, free: 2.207 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.76e-05/0.1578, allocations: 4.062 kB / 0.5596 GB, free: 2.203 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/0.1578, allocations: 30.56 kB / 0.5596 GB, free: 2.164 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.1578, allocations: 0 / 0.5596 GB, free: 2.164 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009866/0.1588, allocations: 241.2 kB / 0.5599 GB, free: 1.922 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.7e-05/0.1588, allocations: 51.41 kB / 0.5599 GB, free: 1.859 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00025/0.1591, allocations: 206.4 kB / 0.5601 GB, free: 1.648 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.676e-05/0.1591, allocations: 29.7 kB / 0.5601 GB, free: 1.613 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.1592, allocations: 112 kB / 0.5602 GB, free: 1.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.18e-05/0.1593, allocations: 23.8 kB / 0.5603 GB, free: 1.477 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.055e-05/0.1593, allocations: 25.72 kB / 0.5603 GB, free: 1.445 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.1595, allocations: 326.8 kB / 0.5606 GB, free: 1.117 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.129e-05/0.1595, allocations: 35.91 kB / 0.5606 GB, free: 1.082 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.325e-05/0.1596, allocations: 31.92 kB / 0.5607 GB, free: 1.051 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00017/0.1598, allocations: 72.81 kB / 0.5607 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.1598, allocations: 4 kB / 0.5607 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002347/0.16, allocations: 110 kB / 0.5608 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.16, allocations: 8 kB / 0.5609 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.1601, allocations: 0 / 0.5609 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.1601, allocations: 0 / 0.5609 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.1602, allocations: 27.92 kB / 0.5609 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.1602, allocations: 4.312 kB / 0.5609 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.83e-05/0.1602, allocations: 3.984 kB / 0.5609 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.1602, allocations: 7.938 kB / 0.5609 GB, free: 0.8086 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.0001195/0.1604, allocations: 137.8 kB / 0.561 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.735e-05/0.1604, allocations: 15.89 kB / 0.561 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003051/0.1607, allocations: 127 kB / 0.5612 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.1607, allocations: 0 / 0.5612 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1607, allocations: 0 / 0.5612 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.1607, allocations: 0 / 0.5612 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005993/0.1613, allocations: 427.2 kB / 0.5616 GB, free: 36 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.1613, allocations: 11.92 kB / 0.5616 GB, free: 24 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.896e-05/0.1614, allocations: 16 kB / 0.5616 GB, free: 8 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1614, allocations: 0 / 0.5616 GB, free: 8 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.284e-05/0.1614, allocations: 11.98 kB / 0.5616 GB, free: 15.99 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1614, allocations: 3.938 kB / 0.5616 GB, free: 15.99 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1614, allocations: 0 / 0.5616 GB, free: 15.99 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002786/0.1617, allocations: 208.3 kB / 0.5618 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.626e-05/0.1618, allocations: 92.95 kB / 0.5619 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.1618, allocations: 3.938 kB / 0.5619 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.963e-05/0.1619, allocations: 7.984 kB / 0.5619 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.014e-05/0.1619, allocations: 8 kB / 0.5619 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-06/0.1619, allocations: 4 kB / 0.5619 GB, free: 15.64 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001529/0.1621, allocations: 168.2 kB / 0.5621 GB, free: 15.47 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1621, allocations: 4 kB / 0.5621 GB, free: 15.47 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002521/0.1623, allocations: 16 kB / 0.5621 GB, free: 15.45 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.002239/0.1645, allocations: 1.103 MB / 0.5632 GB, free: 14.5 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002585/0.1648, allocations: 71.94 kB / 0.5632 GB, free: 14.43 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1648, allocations: 0 / 0.5632 GB, free: 14.43 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001017/0.1649, allocations: 43.92 kB / 0.5633 GB, free: 14.38 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004325/0.1653, allocations: 15.98 kB / 0.5633 GB, free: 14.37 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002316/0.1677, allocations: 1.712 MB / 0.565 GB, free: 12.57 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003918/0.168, allocations: 0.7196 MB / 0.5657 GB, free: 11.82 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.803e-05/0.1681, allocations: 20.66 kB / 0.5657 GB, free: 11.8 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.624e-05/0.1682, allocations: 35.42 kB / 0.5657 GB, free: 11.77 MB / 430.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1682, allocations: 0 / 0.5657 GB, free: 11.77 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0256/0.1938, allocations: 3.206 MB / 0.5689 GB, free: 8.633 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.988/8.182, allocations: 12.56 kB / 0.5689 GB, free: 8.621 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test30_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test30.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.280797658022493] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y', 'd2_t_new.y'] 8.306572940666229 8.329170565 8.169206626 Calling exit ...