Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.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.001776/0.001776, allocations: 106.4 kB / 21.22 MB, free: 0.6758 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.002067/0.002067, allocations: 209.9 kB / 24.53 MB, free: 4.035 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.503/1.503, allocations: 230.5 MB / 258.2 MB, free: 8.027 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.2491/0.2491, allocations: 46.94 MB / 361.6 MB, free: 4.176 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.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_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.002325/0.002325, allocations: 79.86 kB / 0.497 GB, free: 7.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3658/0.3681, allocations: 66.08 MB / 0.5615 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.003141/0.3712, allocations: 1.676 MB / 0.5632 GB, free: 2.602 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00109/0.3723, allocations: 0.5577 MB / 0.5637 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.369e-05/0.3724, allocations: 4 kB / 0.5637 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002774/0.3727, allocations: 91.69 kB / 0.5638 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002911/0.3729, allocations: 115.5 kB / 0.5639 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002722/0.3732, allocations: 99.69 kB / 0.564 GB, free: 1.738 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000188/0.3734, allocations: 99.8 kB / 0.5641 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.3735, allocations: 19.98 kB / 0.5641 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.53e-05/0.3736, allocations: 51.77 kB / 0.5642 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001247/0.3737, allocations: 67.75 kB / 0.5642 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.956e-05/0.3737, allocations: 4 kB / 0.5642 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.662e-05/0.3738, allocations: 43.97 kB / 0.5643 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.894e-05/0.3739, allocations: 27.92 kB / 0.5643 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.052e-05/0.3739, allocations: 39.69 kB / 0.5643 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002198/0.3742, allocations: 139.3 kB / 0.5645 GB, free: 1.254 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3742, allocations: 0 / 0.5645 GB, free: 1.254 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3742, allocations: 0 / 0.5645 GB, free: 1.254 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.071e-05/0.3742, allocations: 4 kB / 0.5645 GB, free: 1.25 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005085/0.3747, allocations: 357.5 kB / 0.5648 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.3747, allocations: 8.031 kB / 0.5648 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.035e-05/0.3748, allocations: 38.73 kB / 0.5649 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.427e-05/0.3748, allocations: 12.84 kB / 0.5649 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001929/0.375, allocations: 158.2 kB / 0.565 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.375, allocations: 384 / 0.565 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.08e-05/0.375, allocations: 12.36 kB / 0.565 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/0.3752, allocations: 70.17 kB / 0.5651 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.832e-05/0.3752, allocations: 11.89 kB / 0.5651 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.3752, allocations: 4 kB / 0.5651 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.3752, allocations: 0 / 0.5651 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001138/0.3754, allocations: 43.91 kB / 0.5652 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004301/0.3758, allocations: 291.8 kB / 0.5654 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001404/0.3759, allocations: 70.55 kB / 0.5655 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.308e-05/0.376, allocations: 20.84 kB / 0.5655 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.626e-05/0.376, allocations: 7.984 kB / 0.5655 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.376, allocations: 30.56 kB / 0.5656 GB, free: 0 / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.376, allocations: 0 / 0.5656 GB, free: 0 / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001041/0.3771, allocations: 317.7 kB / 0.5659 GB, free: 15.68 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/0.3771, allocations: 55.34 kB / 0.5659 GB, free: 15.62 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002477/0.3774, allocations: 239.5 kB / 0.5662 GB, free: 15.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.3774, allocations: 25.7 kB / 0.5662 GB, free: 15.33 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.333e-05/0.3775, allocations: 120 kB / 0.5663 GB, free: 15.21 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.501e-05/0.3775, allocations: 39.64 kB / 0.5663 GB, free: 15.17 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.958e-05/0.3776, allocations: 29.72 kB / 0.5664 GB, free: 15.14 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.3777, allocations: 326.8 kB / 0.5667 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.679e-05/0.3778, allocations: 35.98 kB / 0.5667 GB, free: 14.77 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.965e-05/0.3779, allocations: 39.97 kB / 0.5667 GB, free: 14.73 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001938/0.3781, allocations: 88.2 kB / 0.5668 GB, free: 14.65 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.3781, allocations: 7.875 kB / 0.5668 GB, free: 14.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002656/0.3784, allocations: 141.6 kB / 0.567 GB, free: 14.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.3784, allocations: 10.45 kB / 0.567 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.3784, allocations: 3.938 kB / 0.567 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.3784, allocations: 0 / 0.567 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.3785, allocations: 27.98 kB / 0.567 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.3786, allocations: 7.938 kB / 0.567 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.822e-05/0.3786, allocations: 3.984 kB / 0.567 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.918e-06/0.3786, allocations: 4 kB / 0.567 GB, free: 14.44 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 (13): * Single equations (assignments): 13 * 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.0001229/0.3787, allocations: 150.6 kB / 0.5672 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.862e-05/0.3788, allocations: 11.91 kB / 0.5672 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003465/0.3791, allocations: 155.1 kB / 0.5673 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.3791, allocations: 4 kB / 0.5673 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.3791, allocations: 3.938 kB / 0.5673 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.3791, allocations: 0 / 0.5673 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006659/0.3798, allocations: 458.1 kB / 0.5678 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3798, allocations: 0 / 0.5678 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.813e-05/0.3799, allocations: 23.98 kB / 0.5678 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.728e-06/0.3799, allocations: 3.984 kB / 0.5678 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.3799, allocations: 4 kB / 0.5678 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.3799, allocations: 0 / 0.5678 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3799, allocations: 3.938 kB / 0.5678 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003194/0.3802, allocations: 248.2 kB / 0.568 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.901e-05/0.3802, allocations: 11.91 kB / 0.5681 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.278e-05/0.3803, allocations: 7.984 kB / 0.5681 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.491e-05/0.3803, allocations: 4 kB / 0.5681 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.248e-05/0.3804, allocations: 11.98 kB / 0.5681 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.3804, allocations: 4 kB / 0.5681 GB, free: 13.27 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000163/0.3806, allocations: 193.1 kB / 0.5683 GB, free: 13.08 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3806, allocations: 0 / 0.5683 GB, free: 13.08 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002531/0.3808, allocations: 20 kB / 0.5683 GB, free: 13.06 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 (13): * Single equations (assignments): 13 * 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.002179/0.383, allocations: 1.124 MB / 0.5694 GB, free: 12.07 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003009/0.3833, allocations: 95.89 kB / 0.5695 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3833, allocations: 4 kB / 0.5695 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001117/0.3834, allocations: 47.97 kB / 0.5695 GB, free: 11.93 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004214/0.3838, allocations: 23.89 kB / 0.5695 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00245/0.3863, allocations: 1.843 MB / 0.5713 GB, free: 9.969 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003771/0.3867, allocations: 0.7164 MB / 0.572 GB, free: 9.227 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.892e-05/0.3867, allocations: 20.47 kB / 0.5721 GB, free: 9.207 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.155e-05/0.3868, allocations: 51.3 kB / 0.5721 GB, free: 9.16 MB / 414.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3868, allocations: 0 / 0.5721 GB, free: 9.16 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02872/0.4155, allocations: 3.631 MB / 0.5757 GB, free: 5.535 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.115/8.531, allocations: 8.25 kB / 0.5757 GB, free: 5.531 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4_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_CombiTable1Ds_Test4.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.723666123580188] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new.y[2]', 'd_t_new.y', 'clock.y', 'd_t_new2.y', 'd2_t_new.y', 'd2_t_new2.y'] 8.672909398097545 8.698663394 8.319265743 Calling exit ...