Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3.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.001288/0.001288, allocations: 109.4 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.001473/0.001473, allocations: 216.5 kB / 23 MB, free: 5.578 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.462/1.462, allocations: 230.2 MB / 256.2 MB, free: 8.523 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.2571/0.2571, allocations: 46.89 MB / 359.4 MB, free: 4.875 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.Test3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test3",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.002537/0.002537, allocations: 75.88 kB / 0.4942 GB, free: 8.945 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3487/0.3512, allocations: 65.99 MB / 0.5586 GB, free: 5.133 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.003277/0.3545, allocations: 1.701 MB / 0.5603 GB, free: 3.422 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00106/0.3556, allocations: 0.5693 MB / 0.5608 GB, free: 2.852 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.214e-05/0.3556, allocations: 4 kB / 0.5608 GB, free: 2.848 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000593/0.3562, allocations: 451.1 kB / 0.5613 GB, free: 2.406 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004719/0.3567, allocations: 295.3 kB / 0.5615 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003568/0.357, allocations: 139.1 kB / 0.5617 GB, free: 1.984 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002498/0.3573, allocations: 183.6 kB / 0.5618 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.3574, allocations: 14.05 kB / 0.5619 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001225/0.3575, allocations: 115.7 kB / 0.562 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002785/0.3578, allocations: 255.5 kB / 0.5622 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.844e-05/0.3578, allocations: 4 kB / 0.5622 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000112/0.3579, allocations: 55.95 kB / 0.5623 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001088/0.358, allocations: 87.62 kB / 0.5624 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.992e-05/0.3581, allocations: 107 kB / 0.5625 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003394/0.3585, allocations: 282.5 kB / 0.5627 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.3585, allocations: 0 / 0.5627 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3585, allocations: 4 kB / 0.5627 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.161e-06/0.3585, allocations: 0 / 0.5627 GB, free: 0.8945 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.0008616/0.3593, allocations: 0.684 MB / 0.5634 GB, free: 160 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.3594, allocations: 8.031 kB / 0.5634 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.679e-05/0.3594, allocations: 30.75 kB / 0.5634 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.482e-05/0.3595, allocations: 48.66 kB / 0.5635 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003356/0.3598, allocations: 312.6 kB / 0.5638 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.3598, allocations: 384 / 0.5638 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.525e-05/0.3599, allocations: 4.375 kB / 0.5638 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/0.36, allocations: 66.17 kB / 0.5638 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.3601, allocations: 3.938 kB / 0.5638 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/0.3601, allocations: 4 kB / 0.5639 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.3601, allocations: 0 / 0.5639 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000141/0.3602, allocations: 35.97 kB / 0.5639 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005226/0.3607, allocations: 416.6 kB / 0.5643 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002566/0.361, allocations: 50.55 kB / 0.5643 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.316e-05/0.3611, allocations: 24.78 kB / 0.5644 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.95e-05/0.3611, allocations: 8.125 kB / 0.5644 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.3611, allocations: 34.56 kB / 0.5644 GB, free: 15 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.3611, allocations: 0 / 0.5644 GB, free: 15 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001542/0.3627, allocations: 476.3 kB / 0.5649 GB, free: 14.53 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.632e-05/0.3627, allocations: 51.41 kB / 0.5649 GB, free: 14.47 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008998/0.3636, allocations: 0.8815 MB / 0.5658 GB, free: 13.57 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.3636, allocations: 25.7 kB / 0.5658 GB, free: 13.54 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001814/0.3638, allocations: 220 kB / 0.566 GB, free: 13.32 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.933e-05/0.3639, allocations: 35.64 kB / 0.566 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.891e-05/0.3639, allocations: 29.7 kB / 0.5661 GB, free: 13.25 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.3641, allocations: 362.8 kB / 0.5664 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/0.3642, allocations: 39.97 kB / 0.5664 GB, free: 12.85 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001216/0.3643, allocations: 47.97 kB / 0.5665 GB, free: 12.8 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002489/0.3646, allocations: 96.75 kB / 0.5666 GB, free: 12.71 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3646, allocations: 0 / 0.5666 GB, free: 12.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003941/0.365, allocations: 181.8 kB / 0.5668 GB, free: 12.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.365, allocations: 8 kB / 0.5668 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.365, allocations: 0 / 0.5668 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.365, allocations: 0 / 0.5668 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.3651, allocations: 27.98 kB / 0.5668 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.3651, allocations: 3.938 kB / 0.5668 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.308e-05/0.3652, allocations: 11.98 kB / 0.5668 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.51e-05/0.3652, allocations: 7.984 kB / 0.5668 GB, free: 12.46 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.0002177/0.3654, allocations: 217.8 kB / 0.567 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.754e-05/0.3655, allocations: 59.55 kB / 0.5671 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000453/0.366, allocations: 197.5 kB / 0.5673 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.366, allocations: 4 kB / 0.5673 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.366, allocations: 3.938 kB / 0.5673 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.366, allocations: 3.984 kB / 0.5673 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008291/0.3668, allocations: 0.5741 MB / 0.5678 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.3668, allocations: 3.938 kB / 0.5678 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/0.3669, allocations: 23.98 kB / 0.5679 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/0.3669, allocations: 4 kB / 0.5679 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.3669, allocations: 0 / 0.5679 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.3669, allocations: 4 kB / 0.5679 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.3669, allocations: 7.984 kB / 0.5679 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004081/0.3674, allocations: 280.9 kB / 0.5681 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.872e-05/0.3674, allocations: 124.7 kB / 0.5683 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.777e-05/0.3675, allocations: 4 kB / 0.5683 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.3676, allocations: 15.98 kB / 0.5683 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.177e-05/0.3676, allocations: 7.984 kB / 0.5683 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.3676, allocations: 8 kB / 0.5683 GB, free: 10.81 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006488/0.3683, allocations: 0.6473 MB / 0.5689 GB, free: 10.17 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3683, allocations: 3.938 kB / 0.5689 GB, free: 10.16 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000307/0.3686, allocations: 39.92 kB / 0.569 GB, free: 10.12 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.002278/0.3709, allocations: 1.173 MB / 0.5701 GB, free: 9.098 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003263/0.3712, allocations: 107.8 kB / 0.5702 GB, free: 8.992 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3712, allocations: 0 / 0.5702 GB, free: 8.992 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001462/0.3713, allocations: 59.89 kB / 0.5703 GB, free: 8.934 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004315/0.3718, allocations: 26.3 kB / 0.5703 GB, free: 8.91 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004265/0.376, allocations: 3.466 MB / 0.5737 GB, free: 5.348 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004901/0.3765, allocations: 0.8299 MB / 0.5745 GB, free: 4.492 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.877e-05/0.3766, allocations: 24.53 kB / 0.5745 GB, free: 4.469 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001507/0.3768, allocations: 111.4 kB / 0.5746 GB, free: 4.363 MB / 414.1 MB Notification: Performance of SimCode: time 8.72e-07/0.3768, allocations: 96 / 0.5746 GB, free: 4.363 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03068/0.4074, allocations: 6.578 MB / 0.5811 GB, free: 13.79 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.447/8.854, allocations: 11.48 kB / 0.5811 GB, free: 13.78 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test3_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test3.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.83872120900196] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y', 'd_t_new.y', 'clock1.y', 'clock2.y', 'd2_t_new.y'] 8.97779643998365 8.992870447 8.631255365 Calling exit ...