Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test3.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.001797/0.001797, 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.00226/0.00226, 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.509/1.509, allocations: 230.5 MB / 258.2 MB, free: 8.012 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.2482/0.2482, allocations: 46.93 MB / 361.6 MB, free: 4.219 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.CombiTable1Dv.Test3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test3",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.002347/0.002347, allocations: 79.86 kB / 0.497 GB, free: 7.766 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.378/0.3804, allocations: 66.1 MB / 0.5615 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.003409/0.3838, allocations: 1.627 MB / 0.5631 GB, free: 2.656 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001238/0.385, allocations: 0.5654 MB / 0.5637 GB, free: 2.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.316e-05/0.3851, allocations: 4 kB / 0.5637 GB, free: 2.086 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003228/0.3854, allocations: 67.78 kB / 0.5637 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003259/0.3857, allocations: 103.6 kB / 0.5638 GB, free: 1.918 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000343/0.3861, allocations: 115.7 kB / 0.564 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001912/0.3863, allocations: 83.75 kB / 0.564 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.3864, allocations: 12 kB / 0.564 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.916e-05/0.3864, allocations: 35.89 kB / 0.5641 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001257/0.3866, allocations: 55.83 kB / 0.5641 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.3866, allocations: 4 kB / 0.5641 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000103/0.3867, allocations: 47.92 kB / 0.5642 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.673e-05/0.3867, allocations: 19.92 kB / 0.5642 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.929e-05/0.3868, allocations: 35.72 kB / 0.5642 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002224/0.387, allocations: 107.4 kB / 0.5643 GB, free: 1.41 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.387, allocations: 4 kB / 0.5643 GB, free: 1.406 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.387, allocations: 0 / 0.5643 GB, free: 1.406 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.387, allocations: 0 / 0.5643 GB, free: 1.406 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.0005796/0.3876, allocations: 341.7 kB / 0.5647 GB, free: 1.039 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.3877, allocations: 8.031 kB / 0.5647 GB, free: 1.031 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.522e-05/0.3877, allocations: 30.75 kB / 0.5647 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.259e-05/0.3878, allocations: 16.84 kB / 0.5647 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002374/0.388, allocations: 139.2 kB / 0.5649 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.388, allocations: 4.312 kB / 0.5649 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.93e-05/0.388, allocations: 12.36 kB / 0.5649 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00019/0.3882, allocations: 46.25 kB / 0.5649 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.3882, allocations: 7.938 kB / 0.5649 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.3883, allocations: 4 kB / 0.5649 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.3883, allocations: 0 / 0.5649 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001019/0.3884, allocations: 27.97 kB / 0.565 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004653/0.3888, allocations: 271.8 kB / 0.5652 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001264/0.3889, allocations: 54.48 kB / 0.5653 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.818e-05/0.389, allocations: 16.86 kB / 0.5653 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.389, allocations: 8.016 kB / 0.5653 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001141/0.3891, allocations: 34.56 kB / 0.5653 GB, free: 276 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.3891, allocations: 4 kB / 0.5653 GB, free: 272 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009021/0.39, allocations: 237.2 kB / 0.5656 GB, free: 28 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.156e-05/0.3901, allocations: 51.41 kB / 0.5656 GB, free: 15.96 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002182/0.3903, allocations: 203.2 kB / 0.5658 GB, free: 15.75 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.3903, allocations: 25.7 kB / 0.5658 GB, free: 15.72 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.746e-05/0.3904, allocations: 112.1 kB / 0.5659 GB, free: 15.61 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.642e-05/0.3905, allocations: 27.81 kB / 0.566 GB, free: 15.58 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.746e-05/0.3905, allocations: 25.7 kB / 0.566 GB, free: 15.55 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.3907, allocations: 330.8 kB / 0.5663 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.162e-05/0.3907, allocations: 27.98 kB / 0.5663 GB, free: 15.19 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.05e-05/0.3908, allocations: 27.97 kB / 0.5663 GB, free: 15.16 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/0.391, allocations: 68.83 kB / 0.5664 GB, free: 15.09 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.391, allocations: 0 / 0.5664 GB, free: 15.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002201/0.3912, allocations: 113.6 kB / 0.5665 GB, free: 14.97 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.3912, allocations: 11.98 kB / 0.5665 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.565e-06/0.3912, allocations: 4 kB / 0.5665 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.219e-05/0.3912, allocations: 0 / 0.5665 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.3914, allocations: 19.92 kB / 0.5666 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.3914, allocations: 4 kB / 0.5666 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.865e-05/0.3914, allocations: 0 / 0.5666 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.3914, allocations: 11.88 kB / 0.5666 GB, free: 14.92 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.0001222/0.3915, allocations: 133.8 kB / 0.5667 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.899e-05/0.3916, allocations: 15.91 kB / 0.5667 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003153/0.3919, allocations: 127.3 kB / 0.5668 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.583e-06/0.3919, allocations: 7.984 kB / 0.5668 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3919, allocations: 0 / 0.5668 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.3919, allocations: 432 / 0.5668 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006447/0.3925, allocations: 394.4 kB / 0.5672 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3925, allocations: 0 / 0.5672 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.801e-05/0.3926, allocations: 19.92 kB / 0.5672 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.3926, allocations: 4 kB / 0.5672 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.3926, allocations: 3.938 kB / 0.5672 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.3926, allocations: 0 / 0.5672 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.3926, allocations: 7.969 kB / 0.5673 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002942/0.3929, allocations: 220.2 kB / 0.5675 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.708e-05/0.393, allocations: 7.953 kB / 0.5675 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.231e-05/0.393, allocations: 7.938 kB / 0.5675 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.202e-05/0.393, allocations: 7.984 kB / 0.5675 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/0.3931, allocations: 4 kB / 0.5675 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.3931, allocations: 7.984 kB / 0.5675 GB, free: 13.88 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001554/0.3932, allocations: 149.6 kB / 0.5676 GB, free: 13.73 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3932, allocations: 0 / 0.5676 GB, free: 13.73 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000253/0.3935, allocations: 31.92 kB / 0.5677 GB, free: 13.7 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.00222/0.3957, allocations: 1.098 MB / 0.5687 GB, free: 12.74 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002588/0.396, allocations: 75.88 kB / 0.5688 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.396, allocations: 0 / 0.5688 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.611e-05/0.3961, allocations: 43.98 kB / 0.5689 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003926/0.3965, allocations: 15.98 kB / 0.5689 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002054/0.3985, allocations: 1.675 MB / 0.5705 GB, free: 10.85 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003615/0.3989, allocations: 0.708 MB / 0.5712 GB, free: 10.11 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.237e-05/0.399, allocations: 24.94 kB / 0.5712 GB, free: 10.09 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.708e-05/0.399, allocations: 35.42 kB / 0.5713 GB, free: 10.05 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.399, allocations: 0 / 0.5713 GB, free: 10.05 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02707/0.4261, allocations: 3.193 MB / 0.5744 GB, free: 6.863 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.931/8.357, allocations: 5.047 kB / 0.5744 GB, free: 6.863 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test3_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test3.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.446351358201355] 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.4946783692576 8.510689738 8.120115608 Calling exit ...