Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.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.001742/0.001742, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002196/0.002196, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.491/1.491, 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.3539/0.3539, allocations: 46.93 MB / 361.6 MB, free: 4.277 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.CombiTable2Ds.Test16,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test16,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_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.002309/0.002309, allocations: 75.88 kB / 0.497 GB, free: 7.773 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3724/0.3747, allocations: 66.08 MB / 0.5615 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.003633/0.3784, allocations: 1.671 MB / 0.5631 GB, free: 2.617 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001199/0.3796, allocations: 0.7672 MB / 0.5639 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.594e-05/0.3796, allocations: 0 / 0.5639 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002878/0.3799, allocations: 31.84 kB / 0.5639 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00025/0.3802, allocations: 44.8 kB / 0.564 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.879e-06/0.3802, allocations: 0 / 0.564 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001826/0.3803, allocations: 39.89 kB / 0.564 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.789e-05/0.3804, allocations: 1.969 kB / 0.564 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.857e-05/0.3804, allocations: 11.92 kB / 0.564 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.157e-05/0.3805, allocations: 19.86 kB / 0.564 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.357e-05/0.3805, allocations: 4 kB / 0.564 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.427e-05/0.3806, allocations: 4 kB / 0.564 GB, free: 1.695 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.922e-05/0.3806, allocations: 23.92 kB / 0.5641 GB, free: 1.672 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.809e-05/0.3807, allocations: 19.81 kB / 0.5641 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001878/0.3809, allocations: 71.61 kB / 0.5642 GB, free: 1.582 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3809, allocations: 0 / 0.5642 GB, free: 1.582 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.3809, allocations: 0 / 0.5642 GB, free: 1.582 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.059e-05/0.3809, allocations: 4 kB / 0.5642 GB, free: 1.578 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004655/0.3813, allocations: 294 kB / 0.5644 GB, free: 1.258 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.3814, allocations: 8.031 kB / 0.5644 GB, free: 1.25 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.457e-05/0.3814, allocations: 46.67 kB / 0.5645 GB, free: 1.195 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.372e-05/0.3815, allocations: 4.891 kB / 0.5645 GB, free: 1.191 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000198/0.3817, allocations: 118.4 kB / 0.5646 GB, free: 1.051 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.3817, allocations: 8.312 kB / 0.5646 GB, free: 1.043 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.503e-05/0.3817, allocations: 384 / 0.5646 GB, free: 1.043 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002236/0.3819, allocations: 131.3 kB / 0.5647 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.3819, allocations: 3.938 kB / 0.5647 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.382, allocations: 4 kB / 0.5647 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.041e-05/0.382, allocations: 19.98 kB / 0.5648 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.225e-05/0.3821, allocations: 43.86 kB / 0.5648 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008474/0.3829, allocations: 0.8625 MB / 0.5656 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/0.3831, allocations: 177.1 kB / 0.5658 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.517e-05/0.3831, allocations: 84.08 kB / 0.5659 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.952e-05/0.3832, allocations: 75.28 kB / 0.566 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.264e-05/0.3832, allocations: 105.8 kB / 0.5661 GB, free: 15.44 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.3832, allocations: 0 / 0.5661 GB, free: 15.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001131/0.3833, allocations: 41.64 kB / 0.5661 GB, free: 15.39 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.456e-05/0.3834, allocations: 130.7 kB / 0.5662 GB, free: 15.25 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002674/0.3837, allocations: 187 kB / 0.5664 GB, free: 15.06 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.3837, allocations: 25.7 kB / 0.5664 GB, free: 15.03 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001338/0.3838, allocations: 151.5 kB / 0.5666 GB, free: 14.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.732e-06/0.3839, allocations: 4 kB / 0.5666 GB, free: 14.87 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.689e-05/0.3839, allocations: 41.66 kB / 0.5666 GB, free: 14.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.3841, allocations: 322.8 kB / 0.5669 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.171e-05/0.3842, allocations: 31.98 kB / 0.567 GB, free: 14.47 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001566/0.3843, allocations: 157.1 kB / 0.5671 GB, free: 14.25 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002672/0.3846, allocations: 200.9 kB / 0.5673 GB, free: 14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.3846, allocations: 7.938 kB / 0.5673 GB, free: 13.99 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003613/0.3849, allocations: 209 kB / 0.5675 GB, free: 13.78 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.385, allocations: 8 kB / 0.5675 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.385, allocations: 4 kB / 0.5675 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.117e-05/0.385, allocations: 4.625 kB / 0.5675 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.3851, allocations: 35.92 kB / 0.5676 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.3851, allocations: 12 kB / 0.5676 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001048/0.3852, allocations: 23.83 kB / 0.5676 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.524e-05/0.3853, allocations: 8 kB / 0.5676 GB, free: 13.68 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001602/0.3854, allocations: 217 kB / 0.5678 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.82e-05/0.3855, allocations: 120.8 kB / 0.5679 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.897e-05/0.3856, allocations: 116.6 kB / 0.568 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.623e-05/0.3857, allocations: 180.3 kB / 0.5682 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.422e-05/0.3858, allocations: 184.3 kB / 0.5684 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.741e-05/0.3858, allocations: 184.3 kB / 0.5686 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003075/0.3862, allocations: 404.2 kB / 0.5689 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.696e-05/0.3862, allocations: 101 kB / 0.569 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.818e-05/0.3863, allocations: 104.9 kB / 0.5691 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001016/0.3864, allocations: 196.2 kB / 0.5693 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-05/0.3864, allocations: 176.3 kB / 0.5695 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.913e-05/0.3865, allocations: 180.2 kB / 0.5697 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.716e-05/0.3866, allocations: 176.3 kB / 0.5698 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002046/0.3868, allocations: 327.6 kB / 0.5702 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.545e-05/0.3869, allocations: 108.9 kB / 0.5703 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001157/0.387, allocations: 184.2 kB / 0.5704 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.875e-05/0.3871, allocations: 101 kB / 0.5705 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/0.3872, allocations: 188.2 kB / 0.5707 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.891e-05/0.3873, allocations: 101 kB / 0.5708 GB, free: 10.2 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001362/0.3874, allocations: 127.2 kB / 0.5709 GB, free: 10.08 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3874, allocations: 0 / 0.5709 GB, free: 10.08 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003327/0.3878, allocations: 16 kB / 0.5709 GB, free: 10.06 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 (0): * Single equations (assignments): 0 * 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.001122/0.3889, allocations: 0.9084 MB / 0.5718 GB, free: 9.172 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001776/0.3891, allocations: 75.78 kB / 0.5719 GB, free: 9.098 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3891, allocations: 0 / 0.5719 GB, free: 9.098 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 2.004e-06/0.3891, allocations: 0 / 0.5719 GB, free: 9.098 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004411/0.3895, allocations: 465.8 kB / 0.5723 GB, free: 8.645 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00198/0.3915, allocations: 1.891 MB / 0.5742 GB, free: 6.547 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003773/0.3919, allocations: 0.7005 MB / 0.5749 GB, free: 5.82 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002114/0.3921, allocations: 49.02 kB / 0.5749 GB, free: 5.773 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.314e-05/0.3921, allocations: 31.42 kB / 0.575 GB, free: 5.742 MB / 414.1 MB Notification: Performance of SimCode: time 7.12e-07/0.3921, allocations: 0 / 0.575 GB, free: 5.742 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02916/0.4213, allocations: 2.275 MB / 0.5772 GB, free: 3.477 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.904/8.326, allocations: 7.203 kB / 0.5772 GB, free: 3.473 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test16_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test16.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.434754086192697] Failed to read output from testmodel.py, exit status != 0: ['time'] 8.469159670639783 8.493897289 8.108469369 Calling exit ...