Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test16.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.001441/0.001441, allocations: 110.5 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.001458/0.001458, allocations: 213.2 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.436/1.436, allocations: 230.5 MB / 258.2 MB, free: 8.016 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.2284/0.2284, allocations: 46.93 MB / 361.6 MB, free: 4.199 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.CombiTable1Ds.Test16,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test16,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test16",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.497 GB, free: 7.742 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.3401, allocations: 66.08 MB / 0.5615 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.003105/0.3432, allocations: 1.634 MB / 0.5631 GB, free: 2.652 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00103/0.3443, allocations: 0.5499 MB / 0.5637 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.745e-05/0.3443, allocations: 4 kB / 0.5637 GB, free: 2.098 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002819/0.3446, allocations: 71.77 kB / 0.5637 GB, free: 2.027 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003134/0.3449, allocations: 107.6 kB / 0.5638 GB, free: 1.922 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000284/0.3452, allocations: 95.64 kB / 0.5639 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001872/0.3454, allocations: 87.73 kB / 0.564 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.3455, allocations: 8 kB / 0.564 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.286e-05/0.3456, allocations: 39.89 kB / 0.5641 GB, free: 1.695 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001405/0.3457, allocations: 63.81 kB / 0.5641 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.3457, allocations: 4 kB / 0.5641 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.3458, allocations: 47.92 kB / 0.5642 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.521e-05/0.3459, allocations: 19.92 kB / 0.5642 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.475e-05/0.3459, allocations: 35.72 kB / 0.5642 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002005/0.3461, allocations: 107.5 kB / 0.5643 GB, free: 1.422 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3461, allocations: 0 / 0.5643 GB, free: 1.422 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3461, allocations: 0 / 0.5643 GB, free: 1.422 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.3461, allocations: 0 / 0.5643 GB, free: 1.422 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.0005229/0.3467, allocations: 345.6 kB / 0.5647 GB, free: 1.051 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.3467, allocations: 15.97 kB / 0.5647 GB, free: 1.035 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.663e-05/0.3467, allocations: 30.75 kB / 0.5647 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.693e-05/0.3468, allocations: 12.84 kB / 0.5647 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002087/0.347, allocations: 143 kB / 0.5648 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.347, allocations: 8.375 kB / 0.5649 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.485e-05/0.347, allocations: 4.312 kB / 0.5649 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.3472, allocations: 58.23 kB / 0.5649 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.3472, allocations: 7.922 kB / 0.5649 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.3472, allocations: 4 kB / 0.5649 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.3472, allocations: 3.984 kB / 0.5649 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.3473, allocations: 27.97 kB / 0.565 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003812/0.3477, allocations: 255.9 kB / 0.5652 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.3478, allocations: 46.5 kB / 0.5652 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.992e-05/0.3479, allocations: 16.94 kB / 0.5653 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.3479, allocations: 8 kB / 0.5653 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.3479, allocations: 30.56 kB / 0.5653 GB, free: 292 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.3479, allocations: 4 kB / 0.5653 GB, free: 288 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008543/0.3488, allocations: 225.2 kB / 0.5655 GB, free: 56 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.604e-05/0.3488, allocations: 51.41 kB / 0.5656 GB, free: 15.99 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002248/0.349, allocations: 214.3 kB / 0.5658 GB, free: 15.77 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.3491, allocations: 25.7 kB / 0.5658 GB, free: 15.74 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.793e-05/0.3491, allocations: 116 kB / 0.5659 GB, free: 15.62 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.141e-05/0.3492, allocations: 27.81 kB / 0.5659 GB, free: 15.6 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.966e-05/0.3492, allocations: 25.72 kB / 0.566 GB, free: 15.57 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.3494, allocations: 334.8 kB / 0.5663 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.826e-05/0.3494, allocations: 19.98 kB / 0.5663 GB, free: 15.21 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.99e-05/0.3495, allocations: 27.98 kB / 0.5663 GB, free: 15.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001477/0.3497, allocations: 60.83 kB / 0.5664 GB, free: 15.12 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.3497, allocations: 3.938 kB / 0.5664 GB, free: 15.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002084/0.3499, allocations: 97.62 kB / 0.5665 GB, free: 15.02 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.3499, allocations: 12 kB / 0.5665 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.3499, allocations: 3.938 kB / 0.5665 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.3499, allocations: 3.984 kB / 0.5665 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.603e-05/0.35, allocations: 15.94 kB / 0.5665 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.35, allocations: 4 kB / 0.5665 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.082e-05/0.3501, allocations: 3.984 kB / 0.5665 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.3501, allocations: 7.938 kB / 0.5665 GB, free: 14.96 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.000102/0.3502, allocations: 130.7 kB / 0.5666 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.703e-05/0.3502, allocations: 11.91 kB / 0.5667 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000284/0.3505, allocations: 127.3 kB / 0.5668 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.3505, allocations: 0 / 0.5668 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.3505, allocations: 4 kB / 0.5668 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.3505, allocations: 0 / 0.5668 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005183/0.351, allocations: 378.3 kB / 0.5671 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-06/0.351, allocations: 4.031 kB / 0.5672 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.91e-05/0.3511, allocations: 15.98 kB / 0.5672 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.3511, allocations: 0 / 0.5672 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.178e-06/0.3511, allocations: 7.938 kB / 0.5672 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.3511, allocations: 0 / 0.5672 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3511, allocations: 0 / 0.5672 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002678/0.3514, allocations: 208.7 kB / 0.5674 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.922e-05/0.3514, allocations: 11.91 kB / 0.5674 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.266e-05/0.3514, allocations: 11.94 kB / 0.5674 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.1e-05/0.3515, allocations: 0 / 0.5674 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.779e-05/0.3515, allocations: 7.984 kB / 0.5674 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.537e-06/0.3515, allocations: 7.984 kB / 0.5674 GB, free: 13.96 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001502/0.3517, allocations: 164.2 kB / 0.5676 GB, free: 13.8 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3517, allocations: 4 kB / 0.5676 GB, free: 13.8 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002531/0.3519, allocations: 23.92 kB / 0.5676 GB, free: 13.77 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.002138/0.3541, allocations: 1.093 MB / 0.5687 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002115/0.3543, allocations: 51.97 kB / 0.5687 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3543, allocations: 0 / 0.5687 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.937e-05/0.3544, allocations: 39.91 kB / 0.5687 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003533/0.3547, allocations: 26.98 kB / 0.5688 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001882/0.3566, allocations: 1.677 MB / 0.5704 GB, free: 10.95 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003238/0.3569, allocations: 0.7042 MB / 0.5711 GB, free: 10.22 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.873e-05/0.357, allocations: 20.59 kB / 0.5711 GB, free: 10.2 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.217e-05/0.357, allocations: 35.42 kB / 0.5712 GB, free: 10.16 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.357, allocations: 0 / 0.5712 GB, free: 10.16 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02548/0.3825, allocations: 3.182 MB / 0.5743 GB, free: 6.988 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.175/8.558, allocations: 5.703 kB / 0.5743 GB, free: 6.984 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test16_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00059976 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test16.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.547432814259082] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y', 'd2_t_new.y'] 8.700018564704806 8.714924588 8.365500153 Calling exit ...