Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.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.001702/0.001702, 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.002107/0.002107, 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.581/1.581, allocations: 230.5 MB / 258.2 MB, free: 8.008 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.2396/0.2396, allocations: 46.92 MB / 361.6 MB, free: 4.207 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.CombiTable2Ds.Test3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_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.002293/0.002293, allocations: 83.86 kB / 0.497 GB, free: 7.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.369/0.3713, allocations: 66.09 MB / 0.5615 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.003488/0.3748, allocations: 1.687 MB / 0.5632 GB, free: 2.629 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001193/0.3759, allocations: 0.581 MB / 0.5638 GB, free: 2.047 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.239e-05/0.376, allocations: 0 / 0.5638 GB, free: 2.047 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006497/0.3767, allocations: 455.1 kB / 0.5642 GB, free: 1.602 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005161/0.3772, allocations: 299.3 kB / 0.5645 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003715/0.3775, allocations: 123.6 kB / 0.5646 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002786/0.3778, allocations: 179.6 kB / 0.5648 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.378, allocations: 22.17 kB / 0.5648 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001349/0.3781, allocations: 115.7 kB / 0.5649 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003141/0.3784, allocations: 255.5 kB / 0.5651 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.3784, allocations: 4 kB / 0.5651 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001198/0.3785, allocations: 51.98 kB / 0.5652 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001353/0.3787, allocations: 87.62 kB / 0.5653 GB, free: 496 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001028/0.3788, allocations: 107 kB / 0.5654 GB, free: 388 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003971/0.3792, allocations: 290.4 kB / 0.5657 GB, free: 96 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3792, allocations: 0 / 0.5657 GB, free: 96 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3792, allocations: 0 / 0.5657 GB, free: 96 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.3792, allocations: 0 / 0.5657 GB, free: 96 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0009038/0.3801, allocations: 0.6011 MB / 0.5662 GB, free: 15.45 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.3801, allocations: 15.97 kB / 0.5663 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.313e-05/0.3802, allocations: 34.75 kB / 0.5663 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.726e-05/0.3802, allocations: 44.66 kB / 0.5663 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003111/0.3806, allocations: 250.7 kB / 0.5666 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.3806, allocations: 8.359 kB / 0.5666 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.289e-05/0.3806, allocations: 4.375 kB / 0.5666 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000183/0.3808, allocations: 66.17 kB / 0.5666 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.3808, allocations: 3.938 kB / 0.5666 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-06/0.3808, allocations: 4 kB / 0.5667 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.3808, allocations: 0 / 0.5667 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001479/0.381, allocations: 43.97 kB / 0.5667 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005211/0.3815, allocations: 371.7 kB / 0.567 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002705/0.3818, allocations: 58.55 kB / 0.5671 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.511e-05/0.3818, allocations: 25.06 kB / 0.5671 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.502e-05/0.3819, allocations: 3.938 kB / 0.5671 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.3819, allocations: 38.56 kB / 0.5672 GB, free: 14.4 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 2.955e-06/0.3819, allocations: 3.984 kB / 0.5672 GB, free: 14.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001516/0.3834, allocations: 472.3 kB / 0.5676 GB, free: 13.93 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.427e-05/0.3835, allocations: 51.41 kB / 0.5677 GB, free: 13.86 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000999/0.3845, allocations: 0.8775 MB / 0.5685 GB, free: 12.97 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.3845, allocations: 29.7 kB / 0.5686 GB, free: 12.94 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001924/0.3847, allocations: 216 kB / 0.5688 GB, free: 12.72 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.831e-05/0.3847, allocations: 35.69 kB / 0.5688 GB, free: 12.69 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.393e-05/0.3848, allocations: 33.7 kB / 0.5688 GB, free: 12.65 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001945/0.385, allocations: 358.8 kB / 0.5692 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001259/0.3851, allocations: 39.97 kB / 0.5692 GB, free: 12.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.3852, allocations: 47.89 kB / 0.5693 GB, free: 12.2 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002448/0.3854, allocations: 104.8 kB / 0.5694 GB, free: 12.1 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.3854, allocations: 0 / 0.5694 GB, free: 12.1 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003349/0.3858, allocations: 173.7 kB / 0.5695 GB, free: 11.92 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.3858, allocations: 4 kB / 0.5695 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.3858, allocations: 3.938 kB / 0.5695 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.3858, allocations: 0 / 0.5695 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.3859, allocations: 27.98 kB / 0.5696 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.275e-05/0.3859, allocations: 15.88 kB / 0.5696 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.469e-05/0.386, allocations: 8.547 kB / 0.5696 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.386, allocations: 7.938 kB / 0.5696 GB, free: 11.86 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 (11): * Single equations (assignments): 11 * 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.0002134/0.3862, allocations: 218.6 kB / 0.5698 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.665e-05/0.3863, allocations: 47.67 kB / 0.5698 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004552/0.3868, allocations: 213.6 kB / 0.57 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.3868, allocations: 0 / 0.57 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/0.3868, allocations: 7.938 kB / 0.5701 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.3868, allocations: 0 / 0.5701 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008072/0.3876, allocations: 0.5381 MB / 0.5706 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.3876, allocations: 8 kB / 0.5706 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001082/0.3877, allocations: 31.91 kB / 0.5706 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.083e-06/0.3877, allocations: 3.938 kB / 0.5706 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.3877, allocations: 4 kB / 0.5706 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3877, allocations: 0 / 0.5706 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3877, allocations: 0 / 0.5706 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004019/0.3881, allocations: 284.9 kB / 0.5709 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.207e-05/0.3882, allocations: 39.61 kB / 0.5709 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.955e-05/0.3882, allocations: 11.94 kB / 0.5709 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.3883, allocations: 11.98 kB / 0.571 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.475e-05/0.3884, allocations: 7.984 kB / 0.571 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.345e-06/0.3884, allocations: 8 kB / 0.571 GB, free: 10.33 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000729/0.3891, allocations: 0.655 MB / 0.5716 GB, free: 9.68 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3891, allocations: 0 / 0.5716 GB, free: 9.68 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002802/0.3894, allocations: 31.94 kB / 0.5716 GB, free: 9.648 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002402/0.3918, allocations: 1.173 MB / 0.5728 GB, free: 8.609 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003276/0.3921, allocations: 107.9 kB / 0.5729 GB, free: 8.504 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3921, allocations: 0 / 0.5729 GB, free: 8.504 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001438/0.3923, allocations: 51.91 kB / 0.5729 GB, free: 8.453 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004377/0.3927, allocations: 35.45 kB / 0.573 GB, free: 8.426 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00439/0.3971, allocations: 3.467 MB / 0.5764 GB, free: 4.855 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005182/0.3976, allocations: 0.8338 MB / 0.5772 GB, free: 3.992 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.574e-05/0.3977, allocations: 12.48 kB / 0.5772 GB, free: 3.98 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000147/0.3978, allocations: 111.4 kB / 0.5773 GB, free: 3.875 MB / 414.1 MB Notification: Performance of SimCode: time 6.42e-07/0.3978, allocations: 4 kB / 0.5773 GB, free: 3.871 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03227/0.4301, allocations: 6.658 MB / 0.5838 GB, free: 13.22 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.567/8.997, allocations: 19.91 kB / 0.5838 GB, free: 13.2 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0119952 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test3.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.199681580998003] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y', 'd_t_new.y', 'clock1.y', 'clock2.y', 'd2_t_new.y'] 9.141089318785816 9.161948995 8.778122749 Calling exit ...