Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test8.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.001408/0.001408, 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.001442/0.001442, 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.551/1.551, 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.2459/0.2459, allocations: 46.92 MB / 361.6 MB, free: 4.184 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.CombiTable2Dv.Test8,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test8,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test8",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.002351/0.002351, allocations: 75.88 kB / 0.497 GB, free: 7.742 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3947/0.397, allocations: 66.09 MB / 0.5615 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.003428/0.4004, allocations: 1.625 MB / 0.5631 GB, free: 2.645 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001242/0.4017, allocations: 0.5761 MB / 0.5637 GB, free: 2.066 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.417e-05/0.4017, allocations: 0 / 0.5637 GB, free: 2.066 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006367/0.4024, allocations: 451.1 kB / 0.5641 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004424/0.4028, allocations: 295.3 kB / 0.5644 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004382/0.4033, allocations: 175.1 kB / 0.5645 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002291/0.4035, allocations: 171.6 kB / 0.5647 GB, free: 1 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.405e-05/0.4036, allocations: 11.98 kB / 0.5647 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000127/0.4037, allocations: 107.8 kB / 0.5648 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002757/0.404, allocations: 247.5 kB / 0.5651 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.404, allocations: 4 kB / 0.5651 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.81e-05/0.404, allocations: 31.92 kB / 0.5651 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.835e-05/0.4041, allocations: 80.62 kB / 0.5652 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000102/0.4042, allocations: 107 kB / 0.5653 GB, free: 432 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003418/0.4046, allocations: 252.6 kB / 0.5655 GB, free: 180 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.4046, allocations: 8 kB / 0.5655 GB, free: 172 kB / 398.1 MB Notification: Performance of FrontEnd: time 8.51e-07/0.4046, allocations: 0 / 0.5655 GB, free: 172 kB / 398.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.4046, allocations: 0 / 0.5655 GB, free: 172 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007478/0.4053, allocations: 0.5737 MB / 0.5661 GB, free: 15.56 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.4054, allocations: 12.03 kB / 0.5661 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.495e-05/0.4054, allocations: 38.75 kB / 0.5661 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.157e-05/0.4055, allocations: 40.66 kB / 0.5662 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002853/0.4057, allocations: 254.7 kB / 0.5664 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.777e-06/0.4057, allocations: 384 / 0.5664 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.767e-06/0.4057, allocations: 384 / 0.5664 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.4059, allocations: 62.16 kB / 0.5665 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.4059, allocations: 3.938 kB / 0.5665 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.391e-06/0.4059, allocations: 0 / 0.5665 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.324e-06/0.4059, allocations: 0 / 0.5665 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.505e-05/0.406, allocations: 23.98 kB / 0.5665 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005141/0.4065, allocations: 363.8 kB / 0.5668 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.769e-05/0.4066, allocations: 30.58 kB / 0.5669 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.46e-05/0.4066, allocations: 16.91 kB / 0.5669 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.586e-05/0.4066, allocations: 4 kB / 0.5669 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.4067, allocations: 38.56 kB / 0.5669 GB, free: 14.59 MB / 414.1 MB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.4067, allocations: 0 / 0.5669 GB, free: 14.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=2): time 0.000238/0.4069, allocations: 113.3 kB / 0.567 GB, free: 14.47 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/0.4069, allocations: 51.41 kB / 0.5671 GB, free: 14.41 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009469/0.4079, allocations: 0.8738 MB / 0.5679 GB, free: 13.52 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.4079, allocations: 25.7 kB / 0.568 GB, free: 13.49 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001883/0.4081, allocations: 228.1 kB / 0.5682 GB, free: 13.26 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.377e-05/0.4081, allocations: 11.95 kB / 0.5682 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.661e-05/0.4082, allocations: 17.7 kB / 0.5682 GB, free: 13.23 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001918/0.4083, allocations: 366.7 kB / 0.5686 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.095e-05/0.4084, allocations: 7.984 kB / 0.5686 GB, free: 12.85 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.56e-05/0.4084, allocations: 12 kB / 0.5686 GB, free: 12.84 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.981e-05/0.4085, allocations: 28.83 kB / 0.5686 GB, free: 12.81 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.4085, allocations: 0 / 0.5686 GB, free: 12.81 MB / 414.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001607/0.4087, allocations: 101.4 kB / 0.5687 GB, free: 12.7 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.4087, allocations: 4 kB / 0.5687 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.394e-06/0.4087, allocations: 0 / 0.5687 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.376e-06/0.4087, allocations: 0 / 0.5687 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.248e-05/0.4087, allocations: 11.98 kB / 0.5687 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.795e-06/0.4088, allocations: 0 / 0.5687 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.486e-05/0.4088, allocations: 0 / 0.5687 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.4088, allocations: 4 kB / 0.5687 GB, free: 12.68 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 (2): * Single equations (assignments): 2 * 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.0002254/0.409, allocations: 222.6 kB / 0.5689 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.506e-05/0.4091, allocations: 43.67 kB / 0.569 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000218/0.4093, allocations: 104.8 kB / 0.5691 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.4093, allocations: 4 kB / 0.5691 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.4093, allocations: 0 / 0.5691 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.643e-06/0.4093, allocations: 3.938 kB / 0.5691 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003132/0.4096, allocations: 268.5 kB / 0.5693 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.4096, allocations: 0 / 0.5693 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.579e-05/0.4097, allocations: 4 kB / 0.5693 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.4097, allocations: 4.031 kB / 0.5694 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.177e-06/0.4097, allocations: 0 / 0.5694 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.4097, allocations: 0 / 0.5694 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4097, allocations: 0 / 0.5694 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002456/0.4099, allocations: 195.2 kB / 0.5695 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.587e-05/0.41, allocations: 39.7 kB / 0.5696 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.382e-05/0.41, allocations: 0 / 0.5696 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.632e-05/0.4101, allocations: 12.03 kB / 0.5696 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.875e-05/0.4101, allocations: 3.938 kB / 0.5696 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-06/0.4101, allocations: 0 / 0.5696 GB, free: 11.72 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007187/0.4108, allocations: 0.6589 MB / 0.5702 GB, free: 11.06 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4108, allocations: 0 / 0.5702 GB, free: 11.06 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002516/0.4111, allocations: 16 kB / 0.5702 GB, free: 11.05 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 (2): * Single equations (assignments): 2 * 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.001764/0.4128, allocations: 0.9809 MB / 0.5712 GB, free: 10.16 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001493/0.413, allocations: 27.92 kB / 0.5712 GB, free: 10.13 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.413, allocations: 0 / 0.5712 GB, free: 10.13 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.339e-05/0.413, allocations: 11.98 kB / 0.5712 GB, free: 10.12 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004366/0.4135, allocations: 33.61 kB / 0.5713 GB, free: 10.09 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003897/0.4174, allocations: 3.183 MB / 0.5744 GB, free: 6.816 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000581/0.4179, allocations: 0.8221 MB / 0.5752 GB, free: 5.965 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.659e-05/0.418, allocations: 19.73 kB / 0.5752 GB, free: 5.945 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000144/0.4182, allocations: 111.4 kB / 0.5753 GB, free: 5.836 MB / 414.1 MB Notification: Performance of SimCode: time 1.172e-06/0.4182, allocations: 0 / 0.5753 GB, free: 5.836 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03121/0.4494, allocations: 5.86 MB / 0.581 GB, free: 15.97 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.542/8.991, allocations: 12.17 kB / 0.581 GB, free: 15.96 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test8_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test8.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.130724068265408] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'const.y', 'clock.y'] 9.132490810006857 9.155397439 8.746441469 Calling exit ...