Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test32.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.001746/0.001746, allocations: 105.1 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.001894/0.001894, allocations: 213.9 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.53/1.53, allocations: 230.5 MB / 258.2 MB, free: 8.043 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.2383/0.2383, allocations: 46.93 MB / 361.6 MB, free: 4.223 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.Test32,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test32,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test32",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.00237/0.00237, allocations: 75.88 kB / 0.497 GB, free: 7.766 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4051/0.4075, allocations: 66.09 MB / 0.5615 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.003517/0.411, allocations: 1.642 MB / 0.5631 GB, free: 2.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001132/0.4121, allocations: 0.546 MB / 0.5637 GB, free: 2.133 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.189e-05/0.4122, allocations: 0 / 0.5637 GB, free: 2.133 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003469/0.4125, allocations: 107.7 kB / 0.5638 GB, free: 2.027 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003622/0.4129, allocations: 119.5 kB / 0.5639 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002912/0.4132, allocations: 103.1 kB / 0.564 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002074/0.4134, allocations: 91.75 kB / 0.5641 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.4135, allocations: 11.98 kB / 0.5641 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.484e-05/0.4136, allocations: 35.91 kB / 0.5641 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001469/0.4137, allocations: 83.72 kB / 0.5642 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.34e-05/0.4138, allocations: 0 / 0.5642 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001108/0.4139, allocations: 51.97 kB / 0.5642 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.414e-05/0.4139, allocations: 23.86 kB / 0.5643 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.223e-05/0.414, allocations: 35.69 kB / 0.5643 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002351/0.4142, allocations: 119.4 kB / 0.5644 GB, free: 1.367 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.4142, allocations: 0 / 0.5644 GB, free: 1.367 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4142, allocations: 0 / 0.5644 GB, free: 1.367 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.4142, allocations: 0 / 0.5644 GB, free: 1.367 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005612/0.4148, allocations: 361.4 kB / 0.5648 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.4148, allocations: 8.031 kB / 0.5648 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.15e-05/0.4149, allocations: 34.75 kB / 0.5648 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.473e-05/0.4149, allocations: 12.89 kB / 0.5648 GB, free: 0.918 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002485/0.4152, allocations: 155 kB / 0.565 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.4152, allocations: 12.36 kB / 0.565 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.787e-05/0.4152, allocations: 4.375 kB / 0.565 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001595/0.4154, allocations: 50.23 kB / 0.565 GB, free: 0.668 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.4154, allocations: 7.891 kB / 0.565 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.866e-06/0.4154, allocations: 4 kB / 0.565 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.4154, allocations: 0 / 0.565 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/0.4155, allocations: 27.98 kB / 0.5651 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004096/0.4159, allocations: 271.8 kB / 0.5653 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.416, allocations: 46.56 kB / 0.5654 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.643e-05/0.4161, allocations: 8.859 kB / 0.5654 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.861e-05/0.4161, allocations: 8 kB / 0.5654 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/0.4161, allocations: 42.64 kB / 0.5654 GB, free: 200 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.4161, allocations: 0 / 0.5654 GB, free: 200 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009266/0.4171, allocations: 225.3 kB / 0.5656 GB, free: 15.96 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.915e-05/0.4171, allocations: 63.34 kB / 0.5657 GB, free: 15.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002706/0.4174, allocations: 251 kB / 0.5659 GB, free: 15.63 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.4174, allocations: 25.7 kB / 0.566 GB, free: 15.6 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.009e-05/0.4175, allocations: 120.1 kB / 0.5661 GB, free: 15.48 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.239e-05/0.4175, allocations: 27.73 kB / 0.5661 GB, free: 15.45 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.085e-05/0.4176, allocations: 21.72 kB / 0.5661 GB, free: 15.43 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.4177, allocations: 326.6 kB / 0.5664 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.215e-05/0.4178, allocations: 27.97 kB / 0.5665 GB, free: 15.07 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.527e-05/0.4179, allocations: 23.98 kB / 0.5665 GB, free: 15.05 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001561/0.418, allocations: 68.89 kB / 0.5666 GB, free: 14.98 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.418, allocations: 0 / 0.5666 GB, free: 14.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002095/0.4182, allocations: 101.6 kB / 0.5666 GB, free: 14.88 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.4183, allocations: 7.938 kB / 0.5667 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.4183, allocations: 0 / 0.5667 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.4183, allocations: 3.938 kB / 0.5667 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.4184, allocations: 19.98 kB / 0.5667 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.4184, allocations: 0 / 0.5667 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.542e-05/0.4184, allocations: 11.92 kB / 0.5667 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.4184, allocations: 4 kB / 0.5667 GB, free: 14.83 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 (8): * Single equations (assignments): 8 * 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.0001291/0.4186, allocations: 134.7 kB / 0.5668 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.695e-05/0.4186, allocations: 11.91 kB / 0.5668 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002988/0.4189, allocations: 127.3 kB / 0.567 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.4189, allocations: 0 / 0.567 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.4189, allocations: 0 / 0.567 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.4189, allocations: 4.359 kB / 0.567 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005827/0.4195, allocations: 386.3 kB / 0.5673 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.4195, allocations: 0 / 0.5673 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.181e-05/0.4196, allocations: 19.98 kB / 0.5673 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.4196, allocations: 3.938 kB / 0.5674 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.627e-06/0.4196, allocations: 0 / 0.5674 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.4196, allocations: 0 / 0.5674 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/0.4196, allocations: 4 kB / 0.5674 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002958/0.4199, allocations: 216.2 kB / 0.5676 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.038e-05/0.4199, allocations: 15.95 kB / 0.5676 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.671e-05/0.42, allocations: 11.92 kB / 0.5676 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.323e-05/0.42, allocations: 4 kB / 0.5676 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.892e-05/0.4201, allocations: 7.984 kB / 0.5676 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.07e-06/0.4201, allocations: 4 kB / 0.5676 GB, free: 13.8 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002185/0.4203, allocations: 195.2 kB / 0.5678 GB, free: 13.61 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4203, allocations: 0 / 0.5678 GB, free: 13.61 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002762/0.4206, allocations: 19.94 kB / 0.5678 GB, free: 13.59 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 (8): * Single equations (assignments): 8 * 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.002354/0.4229, allocations: 1.082 MB / 0.5689 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002589/0.4232, allocations: 63.95 kB / 0.5689 GB, free: 12.58 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.4232, allocations: 4 kB / 0.5689 GB, free: 12.58 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.401e-05/0.4233, allocations: 35.92 kB / 0.569 GB, free: 12.54 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004681/0.4238, allocations: 20.05 kB / 0.569 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002276/0.426, allocations: 1.76 MB / 0.5707 GB, free: 10.67 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003682/0.4264, allocations: 0.7119 MB / 0.5714 GB, free: 9.934 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.612e-05/0.4265, allocations: 12.66 kB / 0.5714 GB, free: 9.922 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.091e-05/0.4265, allocations: 35.42 kB / 0.5714 GB, free: 9.887 MB / 414.1 MB Notification: Performance of SimCode: time 7.82e-07/0.4265, allocations: 0 / 0.5714 GB, free: 9.887 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02922/0.4557, allocations: 3.363 MB / 0.5747 GB, free: 6.527 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.99/8.446, allocations: 4.359 kB / 0.5747 GB, free: 6.527 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test32_fmu --startTime=7.99 --stopTime=20 --stepSize=0.00240104 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test32.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.482390644028783] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y', 'd2_t_new.y'] 8.585658045951277 8.615124509 8.195488681 Calling exit ...