Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7.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.001306/0.001306, allocations: 109.4 kB / 19.8 MB, free: 2.516 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.001504/0.001504, allocations: 219.2 kB / 23 MB, free: 5.609 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.489/1.489, allocations: 230.2 MB / 256.2 MB, free: 8.727 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.2243/0.2243, allocations: 46.9 MB / 359.4 MB, free: 4.934 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.Test7,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test7,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test7",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.002337/0.002337, allocations: 83.84 kB / 0.4942 GB, free: 9.008 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.342/0.3443, allocations: 65.99 MB / 0.5586 GB, free: 5.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.003082/0.3474, allocations: 1.605 MB / 0.5602 GB, free: 3.578 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001055/0.3485, allocations: 0.5615 MB / 0.5607 GB, free: 3.016 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.245e-05/0.3485, allocations: 0 / 0.5607 GB, free: 3.016 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000209/0.3487, allocations: 27.8 kB / 0.5607 GB, free: 2.988 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002684/0.349, allocations: 79.67 kB / 0.5608 GB, free: 2.91 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003115/0.3493, allocations: 119.1 kB / 0.5609 GB, free: 2.797 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001422/0.3495, allocations: 63.78 kB / 0.561 GB, free: 2.734 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.3496, allocations: 13.81 kB / 0.561 GB, free: 2.723 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.311e-05/0.3496, allocations: 19.92 kB / 0.561 GB, free: 2.703 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.661e-05/0.3497, allocations: 23.86 kB / 0.561 GB, free: 2.68 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.458e-05/0.3497, allocations: 7.938 kB / 0.5611 GB, free: 2.672 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.909e-05/0.3498, allocations: 35.98 kB / 0.5611 GB, free: 2.637 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.764e-05/0.3498, allocations: 11.94 kB / 0.5611 GB, free: 2.625 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.982e-05/0.3499, allocations: 27.78 kB / 0.5611 GB, free: 2.598 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001763/0.35, allocations: 79.67 kB / 0.5612 GB, free: 2.52 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3501, allocations: 0 / 0.5612 GB, free: 2.52 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3501, allocations: 3.938 kB / 0.5612 GB, free: 2.516 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.3501, allocations: 4 kB / 0.5612 GB, free: 2.512 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.000513/0.3506, allocations: 398.9 kB / 0.5616 GB, free: 2.07 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.3506, allocations: 8.031 kB / 0.5616 GB, free: 2.062 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.02e-05/0.3507, allocations: 30.75 kB / 0.5616 GB, free: 2.023 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.547e-05/0.3507, allocations: 12.88 kB / 0.5616 GB, free: 2.012 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001949/0.3509, allocations: 188.3 kB / 0.5618 GB, free: 1.789 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.3509, allocations: 4.375 kB / 0.5618 GB, free: 1.785 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.768e-05/0.3509, allocations: 384 / 0.5618 GB, free: 1.785 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000144/0.3511, allocations: 58.23 kB / 0.5619 GB, free: 1.723 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.3511, allocations: 7.875 kB / 0.5619 GB, free: 1.715 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.3511, allocations: 0 / 0.5619 GB, free: 1.715 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.3511, allocations: 0 / 0.5619 GB, free: 1.715 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.888e-05/0.3512, allocations: 27.98 kB / 0.5619 GB, free: 1.688 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000417/0.3516, allocations: 284.8 kB / 0.5622 GB, free: 1.359 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002179/0.3518, allocations: 46.5 kB / 0.5622 GB, free: 1.305 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.774e-05/0.3519, allocations: 20.94 kB / 0.5622 GB, free: 1.281 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.3519, allocations: 0 / 0.5622 GB, free: 1.281 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/0.3519, allocations: 30.56 kB / 0.5623 GB, free: 1.242 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 8.12e-07/0.3519, allocations: 0 / 0.5623 GB, free: 1.242 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006182/0.3526, allocations: 161.3 kB / 0.5624 GB, free: 1.078 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.012e-05/0.3526, allocations: 51.41 kB / 0.5625 GB, free: 1.016 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001798/0.3528, allocations: 160.8 kB / 0.5626 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.3528, allocations: 29.7 kB / 0.5627 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.911e-05/0.3529, allocations: 96.12 kB / 0.5628 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.864e-05/0.3529, allocations: 19.8 kB / 0.5628 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.594e-05/0.3529, allocations: 17.72 kB / 0.5628 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.3531, allocations: 326.8 kB / 0.5631 GB, free: 356 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.596e-05/0.3532, allocations: 23.98 kB / 0.5631 GB, free: 332 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.753e-05/0.3532, allocations: 23.97 kB / 0.5631 GB, free: 308 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001619/0.3534, allocations: 48.83 kB / 0.5632 GB, free: 256 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.3534, allocations: 0 / 0.5632 GB, free: 256 kB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002097/0.3536, allocations: 93.5 kB / 0.5633 GB, free: 156 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.3536, allocations: 7.984 kB / 0.5633 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.3536, allocations: 4 kB / 0.5633 GB, free: 144 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.3537, allocations: 4 kB / 0.5633 GB, free: 140 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.603e-05/0.3537, allocations: 11.94 kB / 0.5633 GB, free: 128 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.3537, allocations: 0 / 0.5633 GB, free: 128 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.348e-05/0.3538, allocations: 7.984 kB / 0.5633 GB, free: 120 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.3538, allocations: 3.938 kB / 0.5633 GB, free: 116 kB / 398.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.0001366/0.3539, allocations: 117.8 kB / 0.5634 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.46e-05/0.354, allocations: 7.953 kB / 0.5634 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002799/0.3542, allocations: 105.9 kB / 0.5635 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.3543, allocations: 0 / 0.5635 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3543, allocations: 320 / 0.5635 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.3543, allocations: 0 / 0.5635 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005103/0.3548, allocations: 366.5 kB / 0.5639 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3548, allocations: 0 / 0.5639 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.06e-05/0.3548, allocations: 19.92 kB / 0.5639 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.3548, allocations: 0 / 0.5639 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.3548, allocations: 0 / 0.5639 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.315e-06/0.3549, allocations: 7.938 kB / 0.5639 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.3549, allocations: 288 / 0.5639 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002605/0.3551, allocations: 175.5 kB / 0.5641 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.436e-05/0.3552, allocations: 93.03 kB / 0.5642 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.3552, allocations: 4 kB / 0.5642 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.368e-05/0.3553, allocations: 11.94 kB / 0.5642 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.074e-05/0.3553, allocations: 4 kB / 0.5642 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-06/0.3553, allocations: 3.984 kB / 0.5642 GB, free: 15.11 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000109/0.3554, allocations: 126.8 kB / 0.5643 GB, free: 14.98 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3554, allocations: 0 / 0.5643 GB, free: 14.98 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002443/0.3556, allocations: 19.95 kB / 0.5643 GB, free: 14.96 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.00191/0.3576, allocations: 1.022 MB / 0.5653 GB, free: 14.07 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002183/0.3578, allocations: 47.97 kB / 0.5654 GB, free: 14.02 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.3578, allocations: 4 kB / 0.5654 GB, free: 14.02 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.405e-05/0.3579, allocations: 35.91 kB / 0.5654 GB, free: 13.98 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000399/0.3583, allocations: 10.19 kB / 0.5654 GB, free: 13.98 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001842/0.3601, allocations: 1.495 MB / 0.5669 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003236/0.3604, allocations: 0.6963 MB / 0.5676 GB, free: 11.67 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.461e-05/0.3605, allocations: 23.83 kB / 0.5676 GB, free: 11.65 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.392e-05/0.3605, allocations: 23.44 kB / 0.5676 GB, free: 11.62 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3605, allocations: 0 / 0.5676 GB, free: 11.62 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02308/0.3836, allocations: 2.63 MB / 0.5702 GB, free: 9 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.094/8.477, allocations: 7.234 kB / 0.5702 GB, free: 8.996 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004998 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test7.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.299738892004825] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y'] 8.603907877986785 8.626057289 8.271747545 Calling exit ...