Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.001709/0.001709, allocations: 110.3 kB / 20.22 MB, free: 1.812 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.002127/0.002127, allocations: 217.7 kB / 23.48 MB, free: 5.254 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.47/1.47, allocations: 230.2 MB / 256.8 MB, free: 8.566 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.2344/0.2344, allocations: 46.89 MB / 360 MB, free: 4.742 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.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",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.002313/0.002313, allocations: 75.88 kB / 0.4951 GB, free: 8.539 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3434/0.3457, allocations: 65.99 MB / 0.5595 GB, free: 4.879 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.003039/0.3487, allocations: 1.621 MB / 0.5611 GB, free: 3.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001064/0.3498, allocations: 0.5693 MB / 0.5617 GB, free: 2.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.591e-05/0.3499, allocations: 4 kB / 0.5617 GB, free: 2.676 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000231/0.3501, allocations: 31.84 kB / 0.5617 GB, free: 2.645 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002821/0.3504, allocations: 71.62 kB / 0.5618 GB, free: 2.574 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003175/0.3507, allocations: 123.2 kB / 0.5619 GB, free: 2.457 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001681/0.3509, allocations: 67.83 kB / 0.562 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.398e-05/0.3509, allocations: 13.81 kB / 0.562 GB, free: 2.379 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.44e-05/0.351, allocations: 27.86 kB / 0.562 GB, free: 2.352 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.024e-05/0.3511, allocations: 31.84 kB / 0.562 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.902e-05/0.3511, allocations: 4 kB / 0.562 GB, free: 2.316 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002112/0.3513, allocations: 99.92 kB / 0.5621 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.243e-05/0.3514, allocations: 15.88 kB / 0.5622 GB, free: 2.203 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.017e-05/0.3514, allocations: 35.78 kB / 0.5622 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002656/0.3517, allocations: 135.5 kB / 0.5623 GB, free: 2.035 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.3517, allocations: 0 / 0.5623 GB, free: 2.035 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3517, allocations: 0 / 0.5623 GB, free: 2.035 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.3517, allocations: 0 / 0.5623 GB, free: 2.035 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005454/0.3522, allocations: 410.7 kB / 0.5627 GB, free: 1.582 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.3523, allocations: 8.031 kB / 0.5627 GB, free: 1.574 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.766e-05/0.3523, allocations: 38.67 kB / 0.5628 GB, free: 1.527 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.431e-05/0.3524, allocations: 16.89 kB / 0.5628 GB, free: 1.512 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002299/0.3526, allocations: 200.2 kB / 0.563 GB, free: 1.277 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.05e-06/0.3526, allocations: 384 / 0.563 GB, free: 1.277 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.016e-05/0.3526, allocations: 8.312 kB / 0.563 GB, free: 1.27 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.3528, allocations: 59.97 kB / 0.563 GB, free: 1.199 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.3528, allocations: 7.922 kB / 0.563 GB, free: 1.191 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.747e-06/0.3528, allocations: 0 / 0.563 GB, free: 1.191 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.3528, allocations: 0 / 0.563 GB, free: 1.191 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.529e-05/0.3529, allocations: 31.92 kB / 0.5631 GB, free: 1.16 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004558/0.3533, allocations: 284.9 kB / 0.5633 GB, free: 0.832 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001234/0.3535, allocations: 54.48 kB / 0.5634 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.171e-05/0.3535, allocations: 24.94 kB / 0.5634 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.181e-05/0.3536, allocations: 4 kB / 0.5634 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.3536, allocations: 38.5 kB / 0.5635 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.3536, allocations: 3.938 kB / 0.5635 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006289/0.3542, allocations: 181.3 kB / 0.5636 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.193e-05/0.3543, allocations: 81.11 kB / 0.5637 GB, free: 416 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001785/0.3544, allocations: 159.7 kB / 0.5639 GB, free: 248 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/0.3545, allocations: 29.7 kB / 0.5639 GB, free: 212 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.076e-05/0.3545, allocations: 92.14 kB / 0.564 GB, free: 116 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.583e-05/0.3546, allocations: 23.78 kB / 0.564 GB, free: 92 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.652e-05/0.3546, allocations: 25.72 kB / 0.564 GB, free: 60 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.3548, allocations: 318.8 kB / 0.5643 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.749e-05/0.3549, allocations: 27.98 kB / 0.5644 GB, free: 15.71 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001169/0.355, allocations: 49.69 kB / 0.5644 GB, free: 15.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001787/0.3552, allocations: 68.81 kB / 0.5645 GB, free: 15.59 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.3552, allocations: 0 / 0.5645 GB, free: 15.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002371/0.3554, allocations: 109.5 kB / 0.5646 GB, free: 15.47 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.3554, allocations: 4 kB / 0.5646 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.3554, allocations: 0 / 0.5646 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.3554, allocations: 3.984 kB / 0.5646 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.3555, allocations: 20.03 kB / 0.5646 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.3555, allocations: 0 / 0.5646 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.677e-05/0.3556, allocations: 11.98 kB / 0.5646 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.3556, allocations: 0 / 0.5646 GB, free: 15.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 (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.0001124/0.3557, allocations: 121.8 kB / 0.5647 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.847e-05/0.3557, allocations: 7.953 kB / 0.5647 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003047/0.3561, allocations: 122.6 kB / 0.5648 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.3561, allocations: 4 kB / 0.5649 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.3561, allocations: 0 / 0.5649 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.3561, allocations: 4 kB / 0.5649 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005641/0.3566, allocations: 398.3 kB / 0.5652 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3566, allocations: 0 / 0.5652 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.91e-05/0.3567, allocations: 15.98 kB / 0.5653 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.3567, allocations: 0 / 0.5653 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.3567, allocations: 11.94 kB / 0.5653 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.3567, allocations: 3.938 kB / 0.5653 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3567, allocations: 0 / 0.5653 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000289/0.357, allocations: 199.4 kB / 0.5655 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.756e-05/0.3571, allocations: 85.06 kB / 0.5655 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.3571, allocations: 3.938 kB / 0.5655 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.296e-05/0.3572, allocations: 15.92 kB / 0.5656 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.418e-05/0.3572, allocations: 4 kB / 0.5656 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.3572, allocations: 4 kB / 0.5656 GB, free: 14.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001265/0.3574, allocations: 121.4 kB / 0.5657 GB, free: 14.23 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3574, allocations: 0 / 0.5657 GB, free: 14.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003106/0.3577, allocations: 39.86 kB / 0.5657 GB, free: 14.19 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.002347/0.36, allocations: 1.127 MB / 0.5668 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002869/0.3603, allocations: 67.94 kB / 0.5669 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3603, allocations: 0 / 0.5669 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.3604, allocations: 35.92 kB / 0.5669 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003984/0.3608, allocations: 23.48 kB / 0.5669 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001994/0.3628, allocations: 1.534 MB / 0.5684 GB, free: 11.48 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003606/0.3632, allocations: 0.7001 MB / 0.5691 GB, free: 10.75 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.323e-05/0.3632, allocations: 25.09 kB / 0.5691 GB, free: 10.72 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.532e-05/0.3633, allocations: 31.42 kB / 0.5692 GB, free: 10.69 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3633, allocations: 0 / 0.5692 GB, free: 10.69 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02609/0.3894, allocations: 3.503 MB / 0.5726 GB, free: 7.168 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.07/8.459, allocations: 6.219 kB / 0.5726 GB, free: 7.168 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00079968 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.516969446092844] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y'] 8.601645550923422 8.629642391 8.272838681 Calling exit ...