Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.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.001283/0.001283, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.001461/0.001461, allocations: 209.3 kB / 24.54 MB, free: 4.055 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.666/1.666, allocations: 230.5 MB / 258.2 MB, free: 8.055 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.2298/0.2298, allocations: 46.93 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.CombiTable2Dv.Test3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_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.003358/0.003358, allocations: 83.86 kB / 0.497 GB, free: 7.746 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4017/0.405, allocations: 66.09 MB / 0.5615 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.003672/0.4087, allocations: 1.695 MB / 0.5632 GB, free: 2.621 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001279/0.41, allocations: 0.6005 MB / 0.5638 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.564e-05/0.4101, allocations: 8 kB / 0.5638 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006644/0.4107, allocations: 455.1 kB / 0.5642 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004951/0.4112, allocations: 291.3 kB / 0.5645 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004838/0.4117, allocations: 183 kB / 0.5647 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003088/0.412, allocations: 187.6 kB / 0.5648 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.4121, allocations: 14.2 kB / 0.5649 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001451/0.4123, allocations: 119.7 kB / 0.565 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003187/0.4126, allocations: 259.4 kB / 0.5652 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.974e-05/0.4126, allocations: 4 kB / 0.5652 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001337/0.4128, allocations: 51.97 kB / 0.5653 GB, free: 492 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001195/0.4129, allocations: 87.67 kB / 0.5654 GB, free: 404 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001103/0.413, allocations: 110.9 kB / 0.5655 GB, free: 292 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004307/0.4134, allocations: 294.5 kB / 0.5657 GB, free: 15.99 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.4134, allocations: 0 / 0.5657 GB, free: 15.99 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.4134, allocations: 0 / 0.5657 GB, free: 15.99 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.4134, allocations: 0 / 0.5657 GB, free: 15.99 MB / 414.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.0009046/0.4143, allocations: 0.6048 MB / 0.5663 GB, free: 15.36 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.4144, allocations: 12.03 kB / 0.5663 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.001e-05/0.4144, allocations: 34.75 kB / 0.5664 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.902e-05/0.4145, allocations: 48.64 kB / 0.5664 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003258/0.4148, allocations: 246.8 kB / 0.5667 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.4148, allocations: 384 / 0.5667 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.538e-05/0.4149, allocations: 12.33 kB / 0.5667 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001927/0.4151, allocations: 70.16 kB / 0.5667 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.4151, allocations: 3.938 kB / 0.5667 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.4151, allocations: 4 kB / 0.5667 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.679e-05/0.4151, allocations: 4 kB / 0.5668 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001583/0.4153, allocations: 43.95 kB / 0.5668 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006422/0.4159, allocations: 391.7 kB / 0.5672 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002667/0.4162, allocations: 62.55 kB / 0.5672 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.252e-05/0.4163, allocations: 28.95 kB / 0.5673 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.352e-05/0.4163, allocations: 3.938 kB / 0.5673 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/0.4163, allocations: 30.66 kB / 0.5673 GB, free: 14.28 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.4163, allocations: 3.938 kB / 0.5673 GB, free: 14.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001593/0.4179, allocations: 0.5045 MB / 0.5678 GB, free: 13.76 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.247e-05/0.4179, allocations: 55.39 kB / 0.5678 GB, free: 13.7 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009694/0.4189, allocations: 0.8776 MB / 0.5687 GB, free: 12.8 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.4189, allocations: 29.7 kB / 0.5687 GB, free: 12.77 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001931/0.4191, allocations: 212.1 kB / 0.5689 GB, free: 12.56 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.497e-05/0.4192, allocations: 39.69 kB / 0.569 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-05/0.4192, allocations: 25.7 kB / 0.569 GB, free: 12.49 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001951/0.4194, allocations: 362.8 kB / 0.5693 GB, free: 12.12 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001551/0.4196, allocations: 55.95 kB / 0.5694 GB, free: 12.07 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001345/0.4197, allocations: 55.95 kB / 0.5694 GB, free: 12.02 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002933/0.42, allocations: 128.7 kB / 0.5696 GB, free: 11.89 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.42, allocations: 4 kB / 0.5696 GB, free: 11.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003761/0.4204, allocations: 193.3 kB / 0.5698 GB, free: 11.69 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.4204, allocations: 7.984 kB / 0.5698 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.259e-06/0.4204, allocations: 4 kB / 0.5698 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.4204, allocations: 0 / 0.5698 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.4205, allocations: 27.98 kB / 0.5698 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.4206, allocations: 3.938 kB / 0.5698 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.097e-05/0.4206, allocations: 15.98 kB / 0.5698 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.4206, allocations: 0 / 0.5698 GB, free: 11.63 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.0002556/0.4209, allocations: 226.6 kB / 0.57 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.802e-05/0.421, allocations: 47.67 kB / 0.5701 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004963/0.4215, allocations: 229.8 kB / 0.5703 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.4215, allocations: 4 kB / 0.5703 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/0.4215, allocations: 7.938 kB / 0.5703 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.4215, allocations: 0 / 0.5703 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008665/0.4223, allocations: 0.5654 MB / 0.5709 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.4223, allocations: 3.938 kB / 0.5709 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001035/0.4225, allocations: 32.05 kB / 0.5709 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.4225, allocations: 0 / 0.5709 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.4225, allocations: 7.938 kB / 0.5709 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.873e-06/0.4225, allocations: 4 kB / 0.5709 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.4225, allocations: 3.984 kB / 0.5709 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004251/0.4229, allocations: 304.8 kB / 0.5712 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.412e-05/0.423, allocations: 43.64 kB / 0.5712 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.283e-05/0.423, allocations: 8 kB / 0.5712 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.4231, allocations: 8.172 kB / 0.5712 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.305e-05/0.4232, allocations: 11.92 kB / 0.5713 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.4232, allocations: 8 kB / 0.5713 GB, free: 10.03 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006882/0.4239, allocations: 0.6628 MB / 0.5719 GB, free: 9.367 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4239, allocations: 0 / 0.5719 GB, free: 9.367 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002886/0.4241, allocations: 35.94 kB / 0.572 GB, free: 9.332 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.002397/0.4265, allocations: 1.191 MB / 0.5731 GB, free: 8.273 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003746/0.4269, allocations: 131.8 kB / 0.5732 GB, free: 8.145 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.4269, allocations: 0 / 0.5732 GB, free: 8.145 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000156/0.4271, allocations: 63.89 kB / 0.5733 GB, free: 8.082 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004548/0.4275, allocations: 30.45 kB / 0.5733 GB, free: 8.055 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004481/0.432, allocations: 3.563 MB / 0.5768 GB, free: 4.391 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005074/0.4325, allocations: 0.8377 MB / 0.5776 GB, free: 3.523 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001186/0.4326, allocations: 32.45 kB / 0.5777 GB, free: 3.492 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001633/0.4328, allocations: 127.4 kB / 0.5778 GB, free: 3.371 MB / 414.1 MB Notification: Performance of SimCode: time 6.71e-07/0.4328, allocations: 0 / 0.5778 GB, free: 3.371 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03229/0.4651, allocations: 6.797 MB / 0.5844 GB, free: 12.58 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.528/8.993, allocations: 13.36 kB / 0.5844 GB, free: 12.57 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test3_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test3.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.153050157707185] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock1.y', 'clock2.y', 'd2_t_new.y'] 9.140008188318461 9.167438479 8.748876526 Calling exit ...