Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.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.001507/0.001507, allocations: 109.3 kB / 19.8 MB, free: 2.5 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.002052/0.002052, allocations: 217.9 kB / 22.99 MB, free: 5.582 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.497/1.497, allocations: 230.2 MB / 256.2 MB, free: 8.535 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.2287/0.2287, allocations: 46.89 MB / 359.4 MB, free: 4.926 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.CombiTable2Ds.Test1,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test1,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_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.002345/0.002345, allocations: 87.84 kB / 0.4942 GB, free: 8.984 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3492/0.3515, allocations: 65.99 MB / 0.5586 GB, free: 5.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.00328/0.3548, allocations: 1.695 MB / 0.5603 GB, free: 3.469 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001166/0.356, allocations: 0.5654 MB / 0.5608 GB, free: 2.902 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.006e-05/0.356, allocations: 4 kB / 0.5608 GB, free: 2.898 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006646/0.3567, allocations: 455.1 kB / 0.5613 GB, free: 2.453 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005246/0.3572, allocations: 291.3 kB / 0.5615 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004153/0.3576, allocations: 135 kB / 0.5617 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002544/0.3579, allocations: 167.7 kB / 0.5618 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.358, allocations: 25.81 kB / 0.5618 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001329/0.3582, allocations: 111.7 kB / 0.562 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003067/0.3585, allocations: 247.5 kB / 0.5622 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.016e-05/0.3585, allocations: 4 kB / 0.5622 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001369/0.3586, allocations: 51.98 kB / 0.5622 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001161/0.3587, allocations: 87.67 kB / 0.5623 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.636e-05/0.3588, allocations: 102.9 kB / 0.5624 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004436/0.3593, allocations: 294.4 kB / 0.5627 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3593, allocations: 3.938 kB / 0.5627 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3593, allocations: 0 / 0.5627 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.052e-06/0.3593, allocations: 0 / 0.5627 GB, free: 0.9648 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.0008557/0.3602, allocations: 0.6684 MB / 0.5634 GB, free: 248 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.3602, allocations: 8.031 kB / 0.5634 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.385e-05/0.3602, allocations: 34.75 kB / 0.5634 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.026e-05/0.3603, allocations: 40.66 kB / 0.5634 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003323/0.3606, allocations: 316.5 kB / 0.5637 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.3606, allocations: 8.375 kB / 0.5637 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.678e-05/0.3607, allocations: 384 / 0.5637 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.3608, allocations: 54.25 kB / 0.5638 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.3608, allocations: 3.938 kB / 0.5638 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.3608, allocations: 4 kB / 0.5638 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.3608, allocations: 4 kB / 0.5638 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001046/0.3609, allocations: 31.91 kB / 0.5638 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00053/0.3615, allocations: 400.7 kB / 0.5642 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000115/0.3616, allocations: 42.59 kB / 0.5643 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.053e-05/0.3616, allocations: 16.94 kB / 0.5643 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.3617, allocations: 0 / 0.5643 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.784e-05/0.3617, allocations: 38.56 kB / 0.5643 GB, free: 15.13 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.3617, allocations: 0 / 0.5643 GB, free: 15.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.001012/0.3627, allocations: 316.5 kB / 0.5646 GB, free: 14.82 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.565e-05/0.3627, allocations: 55.39 kB / 0.5647 GB, free: 14.75 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009257/0.3637, allocations: 0.8737 MB / 0.5655 GB, free: 13.86 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.3637, allocations: 25.7 kB / 0.5656 GB, free: 13.83 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001959/0.3639, allocations: 232.1 kB / 0.5658 GB, free: 13.6 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.129e-05/0.3639, allocations: 23.73 kB / 0.5658 GB, free: 13.58 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.392e-05/0.364, allocations: 25.72 kB / 0.5658 GB, free: 13.55 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001794/0.3642, allocations: 358.8 kB / 0.5662 GB, free: 13.19 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.215e-05/0.3642, allocations: 31.92 kB / 0.5662 GB, free: 13.16 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.267e-05/0.3643, allocations: 23.98 kB / 0.5662 GB, free: 13.13 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001672/0.3645, allocations: 72.98 kB / 0.5663 GB, free: 13.06 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.3645, allocations: 0 / 0.5663 GB, free: 13.06 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002495/0.3647, allocations: 141.4 kB / 0.5664 GB, free: 12.91 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.3647, allocations: 4 kB / 0.5664 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.3647, allocations: 3.938 kB / 0.5664 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.3648, allocations: 4 kB / 0.5664 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.3649, allocations: 15.98 kB / 0.5664 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.3649, allocations: 0 / 0.5664 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.597e-05/0.3649, allocations: 11.94 kB / 0.5665 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.3649, allocations: 8 kB / 0.5665 GB, free: 12.87 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.0002112/0.3652, allocations: 217.7 kB / 0.5667 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.371e-05/0.3652, allocations: 48.09 kB / 0.5667 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003246/0.3656, allocations: 149.6 kB / 0.5669 GB, free: 12.44 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.3656, allocations: 4 kB / 0.5669 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.3656, allocations: 4 kB / 0.5669 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.3656, allocations: 7.922 kB / 0.5669 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007022/0.3663, allocations: 0.4992 MB / 0.5674 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.3663, allocations: 0 / 0.5674 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.458e-05/0.3663, allocations: 23.92 kB / 0.5674 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.3664, allocations: 3.938 kB / 0.5674 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.3664, allocations: 0 / 0.5674 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.3664, allocations: 8.031 kB / 0.5674 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3664, allocations: 0 / 0.5674 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002996/0.3667, allocations: 236 kB / 0.5676 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.65e-05/0.3668, allocations: 120.8 kB / 0.5677 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.326e-05/0.3668, allocations: 0 / 0.5677 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.839e-05/0.3669, allocations: 4 kB / 0.5677 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.481e-05/0.3669, allocations: 19.92 kB / 0.5678 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.3669, allocations: 4 kB / 0.5678 GB, free: 11.41 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006766/0.3676, allocations: 0.6589 MB / 0.5684 GB, free: 10.76 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3676, allocations: 0 / 0.5684 GB, free: 10.76 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002732/0.3679, allocations: 31.94 kB / 0.5684 GB, free: 10.73 MB / 414.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.002281/0.3701, allocations: 1.136 MB / 0.5695 GB, free: 9.738 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002466/0.3704, allocations: 67.89 kB / 0.5696 GB, free: 9.672 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3704, allocations: 0 / 0.5696 GB, free: 9.672 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.51e-05/0.3705, allocations: 35.92 kB / 0.5696 GB, free: 9.637 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003773/0.3709, allocations: 28.97 kB / 0.5697 GB, free: 9.613 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004117/0.375, allocations: 3.337 MB / 0.5729 GB, free: 6.184 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004934/0.3755, allocations: 0.826 MB / 0.5737 GB, free: 5.332 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.493e-05/0.3755, allocations: 16.72 kB / 0.5738 GB, free: 5.316 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000148/0.3757, allocations: 115.4 kB / 0.5739 GB, free: 5.203 MB / 414.1 MB Notification: Performance of SimCode: time 4.1e-07/0.3757, allocations: 0 / 0.5739 GB, free: 5.203 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02753/0.4032, allocations: 6.397 MB / 0.5801 GB, free: 14.81 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.506/8.909, allocations: 6.672 kB / 0.5801 GB, free: 14.81 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test1_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test1.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.951397619006457] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y', 'd_t_new.y', 'clock.y', 'const.y', 'd2_t_new.y'] 9.035601484996732 9.051103385 8.688753346 Calling exit ...