Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.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.001224/0.001224, allocations: 109 kB / 21.23 MB, free: 0.6641 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.001384/0.001384, allocations: 213.6 kB / 24.54 MB, free: 4.02 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.463/1.463, allocations: 230.5 MB / 258.2 MB, free: 7.98 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.2277/0.2277, allocations: 46.93 MB / 361.6 MB, free: 4.156 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.Test1,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test1,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_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.002275/0.002275, allocations: 75.88 kB / 0.497 GB, free: 7.711 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3102/0.3124, allocations: 66.09 MB / 0.5615 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.003108/0.3156, allocations: 1.688 MB / 0.5632 GB, free: 2.559 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001076/0.3166, allocations: 0.6044 MB / 0.5638 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.695e-05/0.3167, allocations: 4 kB / 0.5638 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006059/0.3173, allocations: 451.1 kB / 0.5642 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004701/0.3178, allocations: 287.3 kB / 0.5645 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004508/0.3182, allocations: 187.1 kB / 0.5647 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002488/0.3185, allocations: 179.6 kB / 0.5648 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.3186, allocations: 22.19 kB / 0.5648 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001272/0.3187, allocations: 115.7 kB / 0.565 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002775/0.319, allocations: 251.5 kB / 0.5652 GB, free: 500 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.737e-05/0.319, allocations: 4 kB / 0.5652 GB, free: 496 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/0.3191, allocations: 51.98 kB / 0.5652 GB, free: 444 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001029/0.3192, allocations: 87.62 kB / 0.5653 GB, free: 356 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.757e-05/0.3193, allocations: 111 kB / 0.5654 GB, free: 244 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003489/0.3197, allocations: 290.4 kB / 0.5657 GB, free: 15.95 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.3197, allocations: 3.984 kB / 0.5657 GB, free: 15.95 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3197, allocations: 0 / 0.5657 GB, free: 15.95 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.3197, allocations: 0 / 0.5657 GB, free: 15.95 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008259/0.3205, allocations: 0.5931 MB / 0.5663 GB, free: 15.32 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.3206, allocations: 8.031 kB / 0.5663 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.76e-05/0.3206, allocations: 42.69 kB / 0.5663 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.274e-05/0.3207, allocations: 44.66 kB / 0.5664 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002917/0.321, allocations: 254.7 kB / 0.5666 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.321, allocations: 4.375 kB / 0.5666 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.584e-05/0.321, allocations: 8.375 kB / 0.5666 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.3211, allocations: 58.23 kB / 0.5667 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.3212, allocations: 3.938 kB / 0.5667 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-06/0.3212, allocations: 0 / 0.5667 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.3212, allocations: 0 / 0.5667 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001111/0.3213, allocations: 43.91 kB / 0.5667 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005515/0.3218, allocations: 379.7 kB / 0.5671 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001139/0.322, allocations: 46.59 kB / 0.5672 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.94e-05/0.322, allocations: 20.94 kB / 0.5672 GB, free: 14.33 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.244e-05/0.322, allocations: 4 kB / 0.5672 GB, free: 14.33 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.703e-05/0.3221, allocations: 34.56 kB / 0.5672 GB, free: 14.29 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.3221, allocations: 0 / 0.5672 GB, free: 14.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009371/0.323, allocations: 324.5 kB / 0.5675 GB, free: 13.96 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.569e-05/0.323, allocations: 51.41 kB / 0.5676 GB, free: 13.9 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001027/0.3241, allocations: 0.8854 MB / 0.5684 GB, free: 13 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.3241, allocations: 29.7 kB / 0.5685 GB, free: 12.96 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001862/0.3243, allocations: 224.1 kB / 0.5687 GB, free: 12.74 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.036e-05/0.3243, allocations: 31.73 kB / 0.5687 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.743e-05/0.3244, allocations: 21.72 kB / 0.5687 GB, free: 12.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.3245, allocations: 362.8 kB / 0.5691 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.889e-05/0.3246, allocations: 27.98 kB / 0.5691 GB, free: 12.29 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.952e-05/0.3247, allocations: 39.97 kB / 0.5691 GB, free: 12.25 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001749/0.3249, allocations: 76.75 kB / 0.5692 GB, free: 12.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.3249, allocations: 0 / 0.5692 GB, free: 12.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002564/0.3251, allocations: 149.6 kB / 0.5694 GB, free: 12.02 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.3252, allocations: 4 kB / 0.5694 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.3252, allocations: 0 / 0.5694 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.3252, allocations: 0 / 0.5694 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.3253, allocations: 23.98 kB / 0.5694 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.3253, allocations: 4.062 kB / 0.5694 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.261e-05/0.3254, allocations: 7.938 kB / 0.5694 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.3254, allocations: 7.938 kB / 0.5694 GB, free: 11.98 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.000207/0.3256, allocations: 218.6 kB / 0.5696 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.998e-05/0.3256, allocations: 47.72 kB / 0.5697 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003632/0.326, allocations: 181.5 kB / 0.5698 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.326, allocations: 0 / 0.5698 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.326, allocations: 4 kB / 0.5698 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.326, allocations: 4.359 kB / 0.5698 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007002/0.3267, allocations: 0.4905 MB / 0.5703 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.3267, allocations: 0 / 0.5703 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.712e-05/0.3268, allocations: 27.95 kB / 0.5703 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.3268, allocations: 3.938 kB / 0.5703 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-06/0.3268, allocations: 0 / 0.5703 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.3268, allocations: 4 kB / 0.5703 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3268, allocations: 0 / 0.5703 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003099/0.3271, allocations: 248.1 kB / 0.5706 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.319e-05/0.3272, allocations: 51.61 kB / 0.5706 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.635e-05/0.3272, allocations: 0 / 0.5706 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.986e-05/0.3273, allocations: 11.92 kB / 0.5706 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.875e-05/0.3273, allocations: 7.938 kB / 0.5707 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/0.3274, allocations: 4 kB / 0.5707 GB, free: 10.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006923/0.3281, allocations: 0.6628 MB / 0.5713 GB, free: 9.93 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3281, allocations: 0 / 0.5713 GB, free: 9.93 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002735/0.3283, allocations: 27.98 kB / 0.5713 GB, free: 9.902 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.002188/0.3305, allocations: 1.124 MB / 0.5724 GB, free: 8.91 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002679/0.3308, allocations: 87.84 kB / 0.5725 GB, free: 8.824 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3308, allocations: 0 / 0.5725 GB, free: 8.824 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.696e-05/0.3309, allocations: 39.92 kB / 0.5725 GB, free: 8.785 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004462/0.3313, allocations: 32.64 kB / 0.5726 GB, free: 8.762 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004291/0.3356, allocations: 3.392 MB / 0.5759 GB, free: 5.273 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005884/0.3362, allocations: 0.8299 MB / 0.5767 GB, free: 4.414 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001141/0.3363, allocations: 28.72 kB / 0.5767 GB, free: 4.387 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001785/0.3365, allocations: 115.4 kB / 0.5768 GB, free: 4.273 MB / 414.1 MB Notification: Performance of SimCode: time 1.302e-06/0.3365, allocations: 0 / 0.5768 GB, free: 4.273 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1506/0.4871, allocations: 6.555 MB / 0.5832 GB, free: 13.71 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.948/9.435, allocations: 9.781 kB / 0.5833 GB, free: 13.71 MB / 430.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test1_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_Test1.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.5497991819866] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y', 'const.y', 'd2_t_new.y'] 9.581492892000824 9.610364652 9.285260885 Calling exit ...