Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test4.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.001915/0.001915, 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.002079/0.002079, allocations: 213.9 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.556/1.556, allocations: 230.5 MB / 258.2 MB, free: 7.992 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.2508/0.2508, allocations: 46.93 MB / 361.6 MB, free: 4.164 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.Test4,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test4,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test4",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.002334/0.002334, allocations: 75.88 kB / 0.497 GB, free: 7.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.323, allocations: 66.09 MB / 0.5615 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.003157/0.3262, allocations: 1.675 MB / 0.5632 GB, free: 2.602 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001018/0.3272, allocations: 0.5692 MB / 0.5637 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.481e-05/0.3272, allocations: 0 / 0.5637 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005657/0.3278, allocations: 455.2 kB / 0.5641 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000449/0.3283, allocations: 291.3 kB / 0.5644 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003524/0.3286, allocations: 139.6 kB / 0.5646 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000235/0.3288, allocations: 167.6 kB / 0.5647 GB, free: 1 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.787e-05/0.3289, allocations: 13.97 kB / 0.5647 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001253/0.3291, allocations: 111.7 kB / 0.5648 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002891/0.3294, allocations: 247.5 kB / 0.5651 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.619e-05/0.3294, allocations: 4 kB / 0.5651 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.673e-05/0.3295, allocations: 39.92 kB / 0.5651 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001066/0.3296, allocations: 87.67 kB / 0.5652 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.395e-05/0.3297, allocations: 103 kB / 0.5653 GB, free: 416 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003307/0.33, allocations: 262.6 kB / 0.5655 GB, free: 152 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.33, allocations: 3.938 kB / 0.5656 GB, free: 148 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.33, allocations: 0 / 0.5656 GB, free: 148 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.33, allocations: 3.938 kB / 0.5656 GB, free: 144 kB / 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.0007376/0.3307, allocations: 0.5815 MB / 0.5661 GB, free: 15.52 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.3308, allocations: 8.031 kB / 0.5661 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.444e-05/0.3308, allocations: 46.69 kB / 0.5662 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.742e-05/0.3309, allocations: 44.61 kB / 0.5662 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002803/0.3312, allocations: 246.8 kB / 0.5665 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.504e-06/0.3312, allocations: 4.375 kB / 0.5665 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.893e-05/0.3312, allocations: 384 / 0.5665 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.3313, allocations: 54.23 kB / 0.5665 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.3313, allocations: 3.938 kB / 0.5665 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.3314, allocations: 0 / 0.5665 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.3314, allocations: 4 kB / 0.5665 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.399e-05/0.3315, allocations: 23.98 kB / 0.5665 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005028/0.332, allocations: 371.6 kB / 0.5669 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002021/0.3322, allocations: 38.56 kB / 0.5669 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.241e-05/0.3322, allocations: 16.86 kB / 0.5669 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.676e-05/0.3322, allocations: 96 / 0.5669 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.863e-05/0.3323, allocations: 42.48 kB / 0.567 GB, free: 14.54 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 7.92e-07/0.3323, allocations: 0 / 0.567 GB, free: 14.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006154/0.3329, allocations: 224.7 kB / 0.5672 GB, free: 14.31 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.3329, allocations: 55.34 kB / 0.5673 GB, free: 14.24 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009522/0.3339, allocations: 0.8738 MB / 0.5681 GB, free: 13.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.3339, allocations: 25.7 kB / 0.5681 GB, free: 13.32 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001952/0.3341, allocations: 232.1 kB / 0.5684 GB, free: 13.09 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.456e-05/0.3341, allocations: 19.91 kB / 0.5684 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.582e-05/0.3341, allocations: 13.72 kB / 0.5684 GB, free: 13.05 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001958/0.3343, allocations: 370.7 kB / 0.5687 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.844e-05/0.3344, allocations: 19.92 kB / 0.5688 GB, free: 12.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.001e-05/0.3345, allocations: 19.98 kB / 0.5688 GB, free: 12.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000129/0.3346, allocations: 48.83 kB / 0.5688 GB, free: 12.59 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.3346, allocations: 0 / 0.5688 GB, free: 12.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002329/0.3348, allocations: 129.8 kB / 0.5689 GB, free: 12.46 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.3348, allocations: 4 kB / 0.569 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3349, allocations: 0 / 0.569 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.3349, allocations: 0 / 0.569 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.437e-05/0.3349, allocations: 15.98 kB / 0.569 GB, free: 12.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.3349, allocations: 0 / 0.569 GB, free: 12.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.211e-05/0.335, allocations: 8 kB / 0.569 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.335, allocations: 7.969 kB / 0.569 GB, free: 12.43 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 (5): * Single equations (assignments): 5 * 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.0002041/0.3352, allocations: 214.6 kB / 0.5692 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.121e-05/0.3353, allocations: 43.72 kB / 0.5692 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002936/0.3356, allocations: 141.2 kB / 0.5694 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.3356, allocations: 3.938 kB / 0.5694 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.3356, allocations: 0 / 0.5694 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.3356, allocations: 4 kB / 0.5694 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005711/0.3362, allocations: 429.5 kB / 0.5698 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.3362, allocations: 4 kB / 0.5698 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.517e-05/0.3362, allocations: 8 kB / 0.5698 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3362, allocations: 0 / 0.5698 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.3362, allocations: 0 / 0.5698 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.303e-06/0.3362, allocations: 11.92 kB / 0.5698 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3362, allocations: 0 / 0.5698 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002567/0.3365, allocations: 219.1 kB / 0.57 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.51e-05/0.3365, allocations: 39.7 kB / 0.5701 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.363e-05/0.3366, allocations: 0 / 0.5701 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.716e-05/0.3367, allocations: 8.125 kB / 0.5701 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.05e-05/0.3367, allocations: 7.984 kB / 0.5701 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.3367, allocations: 8 kB / 0.5701 GB, free: 11.22 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006767/0.3374, allocations: 0.6589 MB / 0.5707 GB, free: 10.56 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3374, allocations: 0 / 0.5707 GB, free: 10.56 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002555/0.3376, allocations: 27.92 kB / 0.5707 GB, free: 10.54 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 (5): * Single equations (assignments): 5 * 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.001928/0.3396, allocations: 1.038 MB / 0.5718 GB, free: 9.609 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002069/0.3398, allocations: 47.95 kB / 0.5718 GB, free: 9.562 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3398, allocations: 0 / 0.5718 GB, free: 9.562 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.812e-05/0.3398, allocations: 28.05 kB / 0.5718 GB, free: 9.535 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004456/0.3403, allocations: 35.59 kB / 0.5719 GB, free: 9.504 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003938/0.3442, allocations: 3.244 MB / 0.575 GB, free: 6.168 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004711/0.3447, allocations: 0.8221 MB / 0.5758 GB, free: 5.316 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.279e-05/0.3447, allocations: 15.97 kB / 0.5759 GB, free: 5.301 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001307/0.3449, allocations: 103.4 kB / 0.5759 GB, free: 5.203 MB / 414.1 MB Notification: Performance of SimCode: time 6.62e-07/0.3449, allocations: 4 kB / 0.576 GB, free: 5.199 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02944/0.3743, allocations: 6.127 MB / 0.5819 GB, free: 15.07 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.534/8.909, allocations: 4.703 kB / 0.5819 GB, free: 15.07 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test4_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_CombiTable2Ds_Test4.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.13701010402292] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y', 'd_t_new.y', 'clock.y', 'const.y'] 9.051598990801722 9.071427716 8.736763952 Calling exit ...