Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31.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.001325/0.001325, allocations: 105.1 kB / 21.22 MB, free: 0.6797 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.001447/0.001447, allocations: 209.9 kB / 24.54 MB, free: 4.055 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.482/1.482, allocations: 230.5 MB / 258.2 MB, free: 8.023 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.2704/0.2704, allocations: 46.92 MB / 361.6 MB, free: 4.191 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.Test31,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test31,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test31",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.002298/0.002298, allocations: 83.86 kB / 0.497 GB, free: 7.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.2899, allocations: 66.09 MB / 0.5615 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.002999/0.2929, allocations: 1.661 MB / 0.5632 GB, free: 2.625 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001888/0.2948, allocations: 1.294 MB / 0.5644 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.674e-05/0.2948, allocations: 4 kB / 0.5644 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000189/0.295, allocations: 31.84 kB / 0.5645 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000264/0.2953, allocations: 87.55 kB / 0.5645 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004125/0.2957, allocations: 174.9 kB / 0.5647 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001631/0.2959, allocations: 87.75 kB / 0.5648 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.955e-05/0.296, allocations: 13.95 kB / 0.5648 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.655e-05/0.296, allocations: 31.86 kB / 0.5648 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001386/0.2962, allocations: 39.83 kB / 0.5649 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.86e-05/0.2962, allocations: 8 kB / 0.5649 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001671/0.2963, allocations: 99.88 kB / 0.565 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.511e-05/0.2964, allocations: 15.92 kB / 0.565 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.942e-05/0.2965, allocations: 39.78 kB / 0.565 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002513/0.2967, allocations: 155.4 kB / 0.5652 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.2967, allocations: 0 / 0.5652 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2967, allocations: 0 / 0.5652 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.2967, allocations: 4 kB / 0.5652 GB, free: 0.5547 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005306/0.2972, allocations: 353.5 kB / 0.5655 GB, free: 180 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.2973, allocations: 12.03 kB / 0.5655 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.925e-05/0.2973, allocations: 30.75 kB / 0.5656 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.781e-05/0.2974, allocations: 12.88 kB / 0.5656 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002187/0.2976, allocations: 142.4 kB / 0.5657 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.811e-06/0.2976, allocations: 384 / 0.5657 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.431e-05/0.2976, allocations: 4.375 kB / 0.5657 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001931/0.2978, allocations: 87.88 kB / 0.5658 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.2978, allocations: 3.938 kB / 0.5658 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.737e-06/0.2978, allocations: 0 / 0.5658 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.2978, allocations: 4 kB / 0.5658 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001409/0.298, allocations: 35.97 kB / 0.5658 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000445/0.2984, allocations: 291.8 kB / 0.5661 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.2985, allocations: 50.48 kB / 0.5662 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.355e-05/0.2986, allocations: 24.94 kB / 0.5662 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.511e-05/0.2986, allocations: 0 / 0.5662 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/0.2987, allocations: 34.5 kB / 0.5662 GB, free: 15.35 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.2987, allocations: 8 kB / 0.5662 GB, free: 15.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007755/0.2994, allocations: 229.3 kB / 0.5664 GB, free: 15.11 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.309e-05/0.2995, allocations: 77.11 kB / 0.5665 GB, free: 15.02 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001666/0.2997, allocations: 160 kB / 0.5667 GB, free: 14.85 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.2997, allocations: 25.7 kB / 0.5667 GB, free: 14.82 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.307e-05/0.2997, allocations: 100.1 kB / 0.5668 GB, free: 14.72 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.011e-05/0.2998, allocations: 27.78 kB / 0.5668 GB, free: 14.69 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.131e-05/0.2998, allocations: 21.72 kB / 0.5668 GB, free: 14.66 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.3, allocations: 322.8 kB / 0.5671 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001204/0.3001, allocations: 44.03 kB / 0.5672 GB, free: 14.3 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/0.3002, allocations: 61.73 kB / 0.5672 GB, free: 14.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002311/0.3005, allocations: 92.67 kB / 0.5673 GB, free: 14.14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.3005, allocations: 0 / 0.5673 GB, free: 14.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002793/0.3007, allocations: 125.6 kB / 0.5675 GB, free: 14.01 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.3007, allocations: 8 kB / 0.5675 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-06/0.3007, allocations: 0 / 0.5675 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.3008, allocations: 0 / 0.5675 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.3009, allocations: 19.98 kB / 0.5675 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.3009, allocations: 0 / 0.5675 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.613e-05/0.3009, allocations: 7.984 kB / 0.5675 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-06/0.301, allocations: 4 kB / 0.5675 GB, free: 13.97 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 (7): * Single equations (assignments): 7 * 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.0001021/0.3011, allocations: 130.6 kB / 0.5676 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.781e-05/0.3011, allocations: 11.91 kB / 0.5676 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003634/0.3015, allocations: 138.3 kB / 0.5678 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3015, allocations: 4 kB / 0.5678 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3015, allocations: 0 / 0.5678 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.3015, allocations: 0 / 0.5678 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005902/0.3021, allocations: 389.4 kB / 0.5681 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3021, allocations: 0 / 0.5681 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.726e-05/0.3021, allocations: 23.98 kB / 0.5682 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.3022, allocations: 3.984 kB / 0.5682 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.3022, allocations: 0 / 0.5682 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.3022, allocations: 7.938 kB / 0.5682 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3022, allocations: 0 / 0.5682 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004183/0.3026, allocations: 235.8 kB / 0.5684 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.192e-05/0.3026, allocations: 8.234 kB / 0.5684 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.637e-05/0.3026, allocations: 7.984 kB / 0.5684 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.698e-05/0.3027, allocations: 11.94 kB / 0.5684 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.346e-05/0.3028, allocations: 11.97 kB / 0.5684 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.812e-06/0.3028, allocations: 8 kB / 0.5684 GB, free: 12.91 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001083/0.3029, allocations: 117.5 kB / 0.5685 GB, free: 12.8 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3029, allocations: 3.938 kB / 0.5686 GB, free: 12.79 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003042/0.3032, allocations: 51.8 kB / 0.5686 GB, free: 12.74 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (7): * Single equations (assignments): 7 * 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.002267/0.3055, allocations: 1.133 MB / 0.5697 GB, free: 11.75 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000328/0.3058, allocations: 83.94 kB / 0.5698 GB, free: 11.67 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3058, allocations: 0 / 0.5698 GB, free: 11.67 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001352/0.3059, allocations: 51.89 kB / 0.5698 GB, free: 11.62 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003954/0.3063, allocations: 23.61 kB / 0.5699 GB, free: 11.6 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002132/0.3085, allocations: 1.655 MB / 0.5715 GB, free: 9.859 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003401/0.3088, allocations: 0.7078 MB / 0.5722 GB, free: 9.125 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.917e-05/0.3089, allocations: 24.41 kB / 0.5722 GB, free: 9.102 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.919e-05/0.309, allocations: 31.61 kB / 0.5722 GB, free: 9.07 MB / 414.1 MB Notification: Performance of SimCode: time 2.7e-07/0.309, allocations: 0 / 0.5722 GB, free: 9.07 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06448/0.3734, allocations: 3.685 MB / 0.5758 GB, free: 5.359 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.679/9.053, allocations: 8.062 kB / 0.5758 GB, free: 5.352 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0119952 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test31.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.98850859887898] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock1.y', 'clock2.y'] 9.201588689815253 9.23101476 8.929068078 Calling exit ...