Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.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.001689/0.001689, allocations: 109.2 kB / 20.42 MB, free: 1.684 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.002131/0.002131, allocations: 219.2 kB / 23.72 MB, free: 5.051 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.506/1.506, allocations: 230.2 MB / 257.1 MB, free: 8.5 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.238/0.238, allocations: 46.9 MB / 360.3 MB, free: 4.633 MB / 286.1 MB " [Timeout remaining time 179] 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.Test30,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test30,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_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.002266/0.002266, allocations: 84.14 kB / 0.4956 GB, free: 8.289 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3659/0.3682, allocations: 66 MB / 0.56 GB, free: 4.938 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.003419/0.3716, allocations: 1.688 MB / 0.5617 GB, free: 3.242 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001191/0.3728, allocations: 0.6044 MB / 0.5623 GB, free: 2.637 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.3e-05/0.3728, allocations: 4 kB / 0.5623 GB, free: 2.633 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003268/0.3732, allocations: 71.72 kB / 0.5623 GB, free: 2.562 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003149/0.3735, allocations: 99.58 kB / 0.5624 GB, free: 2.465 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004548/0.3739, allocations: 190.8 kB / 0.5626 GB, free: 2.281 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001809/0.3741, allocations: 91.8 kB / 0.5627 GB, free: 2.191 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001894/0.3743, allocations: 18.05 kB / 0.5627 GB, free: 2.172 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.33e-05/0.3744, allocations: 43.83 kB / 0.5627 GB, free: 2.129 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001444/0.3745, allocations: 63.75 kB / 0.5628 GB, free: 2.066 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/0.3745, allocations: 4 kB / 0.5628 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001086/0.3747, allocations: 51.97 kB / 0.5629 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.974e-05/0.3747, allocations: 23.92 kB / 0.5629 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.188e-05/0.3748, allocations: 39.73 kB / 0.5629 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002151/0.375, allocations: 127.4 kB / 0.563 GB, free: 1.824 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.375, allocations: 4 kB / 0.563 GB, free: 1.82 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.375, allocations: 0 / 0.563 GB, free: 1.82 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.375, allocations: 0 / 0.563 GB, free: 1.82 MB / 398.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.0006114/0.3756, allocations: 442.5 kB / 0.5635 GB, free: 1.336 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.3757, allocations: 12.03 kB / 0.5635 GB, free: 1.324 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.356e-05/0.3757, allocations: 34.75 kB / 0.5635 GB, free: 1.281 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.691e-05/0.3757, allocations: 12.84 kB / 0.5635 GB, free: 1.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002511/0.376, allocations: 216.1 kB / 0.5637 GB, free: 1.02 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.376, allocations: 4.375 kB / 0.5637 GB, free: 1.016 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.203e-05/0.376, allocations: 4.375 kB / 0.5637 GB, free: 1.012 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002003/0.3762, allocations: 70.17 kB / 0.5638 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.3762, allocations: 3.938 kB / 0.5638 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.3762, allocations: 0 / 0.5638 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.3763, allocations: 0 / 0.5638 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001591/0.3764, allocations: 47.95 kB / 0.5639 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005311/0.3769, allocations: 340.6 kB / 0.5642 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000255/0.3772, allocations: 54.55 kB / 0.5642 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.136e-05/0.3773, allocations: 29.06 kB / 0.5643 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.143e-05/0.3773, allocations: 3.938 kB / 0.5643 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.3773, allocations: 34.56 kB / 0.5643 GB, free: 372 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.3773, allocations: 0 / 0.5643 GB, free: 372 kB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001542/0.3789, allocations: 425.4 kB / 0.5647 GB, free: 15.94 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.182e-05/0.3789, allocations: 51.41 kB / 0.5648 GB, free: 15.88 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002334/0.3792, allocations: 227.1 kB / 0.565 GB, free: 15.64 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.577e-05/0.3792, allocations: 33.7 kB / 0.565 GB, free: 15.61 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.189e-05/0.3793, allocations: 108.1 kB / 0.5651 GB, free: 15.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.548e-05/0.3793, allocations: 35.69 kB / 0.5651 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.811e-05/0.3793, allocations: 21.72 kB / 0.5652 GB, free: 15.43 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.3795, allocations: 326.8 kB / 0.5655 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/0.3796, allocations: 51.95 kB / 0.5655 GB, free: 15.05 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001401/0.3798, allocations: 63.95 kB / 0.5656 GB, free: 14.99 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002836/0.3801, allocations: 120.7 kB / 0.5657 GB, free: 14.87 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.3801, allocations: 64 / 0.5657 GB, free: 14.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003504/0.3804, allocations: 169.5 kB / 0.5659 GB, free: 14.7 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.3804, allocations: 11.98 kB / 0.5659 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.3804, allocations: 4 kB / 0.5659 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.3805, allocations: 0 / 0.5659 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.3806, allocations: 23.98 kB / 0.5659 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.3806, allocations: 7.875 kB / 0.5659 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.33e-05/0.3807, allocations: 15.98 kB / 0.5659 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.3807, allocations: 4 kB / 0.5659 GB, free: 14.63 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 (11): * Single equations (assignments): 11 * 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.0001089/0.3808, allocations: 129.8 kB / 0.566 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.873e-05/0.3808, allocations: 15.91 kB / 0.5661 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004399/0.3813, allocations: 194.9 kB / 0.5663 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.3813, allocations: 0 / 0.5663 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.3813, allocations: 3.938 kB / 0.5663 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.3813, allocations: 0 / 0.5663 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007764/0.382, allocations: 0.5077 MB / 0.5668 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/0.382, allocations: 7.938 kB / 0.5668 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001271/0.3822, allocations: 27.92 kB / 0.5668 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.3822, allocations: 0 / 0.5668 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.3822, allocations: 8 kB / 0.5668 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.3822, allocations: 3.984 kB / 0.5668 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3822, allocations: 0 / 0.5668 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004239/0.3826, allocations: 277.6 kB / 0.5671 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.295e-05/0.3827, allocations: 96.94 kB / 0.5672 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.916e-05/0.3827, allocations: 11.94 kB / 0.5672 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.3828, allocations: 11.98 kB / 0.5672 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.023e-05/0.3829, allocations: 11.98 kB / 0.5672 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.772e-06/0.3829, allocations: 0 / 0.5672 GB, free: 13.22 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001721/0.3831, allocations: 172.3 kB / 0.5674 GB, free: 13.05 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3831, allocations: 0 / 0.5674 GB, free: 13.05 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002746/0.3833, allocations: 31.92 kB / 0.5674 GB, free: 13.02 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002334/0.3857, allocations: 1.16 MB / 0.5685 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004753/0.3861, allocations: 131.8 kB / 0.5686 GB, free: 11.87 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3861, allocations: 0 / 0.5686 GB, free: 11.87 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001679/0.3863, allocations: 68.02 kB / 0.5687 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000408/0.3867, allocations: 15.75 kB / 0.5687 GB, free: 11.79 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002826/0.3895, allocations: 1.989 MB / 0.5707 GB, free: 9.703 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000515/0.3901, allocations: 0.7158 MB / 0.5714 GB, free: 8.961 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.937e-05/0.3902, allocations: 36.52 kB / 0.5714 GB, free: 8.926 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.668e-05/0.3903, allocations: 43.41 kB / 0.5714 GB, free: 8.883 MB / 414.1 MB Notification: Performance of SimCode: time 1.031e-06/0.3903, allocations: 0 / 0.5714 GB, free: 8.883 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02688/0.4171, allocations: 3.671 MB / 0.575 GB, free: 5.207 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.123/8.54, allocations: 4.062 kB / 0.575 GB, free: 5.203 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test30_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test30.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.535719152074307] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock1.y', 'clock2.y', 'd2_t_new.y'] 8.664715074934065 8.68124104 8.303049426 Calling exit ...