Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test26.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.001238/0.001238, 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.001416/0.001416, allocations: 211.9 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.487/1.487, allocations: 230.5 MB / 258.2 MB, free: 8.02 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.2416/0.2416, allocations: 46.92 MB / 361.6 MB, free: 4.203 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.Test26,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test26,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test26",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.002947/0.002947, allocations: 79.86 kB / 0.497 GB, free: 7.742 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.393/0.3959, allocations: 66.08 MB / 0.5615 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test26): time 0.003705/0.3997, allocations: 1.695 MB / 0.5632 GB, free: 2.594 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001398/0.4011, allocations: 0.6005 MB / 0.5638 GB, free: 1.992 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.365e-05/0.4011, allocations: 4 kB / 0.5638 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004059/0.4015, allocations: 59.72 kB / 0.5638 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003713/0.4019, allocations: 95.59 kB / 0.5639 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004661/0.4024, allocations: 182.9 kB / 0.5641 GB, free: 1.66 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002049/0.4026, allocations: 91.75 kB / 0.5642 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001481/0.4027, allocations: 26.17 kB / 0.5642 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.838e-05/0.4028, allocations: 31.86 kB / 0.5642 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001288/0.4029, allocations: 51.81 kB / 0.5643 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.4029, allocations: 7.938 kB / 0.5643 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001176/0.4031, allocations: 47.92 kB / 0.5643 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.734e-05/0.4031, allocations: 27.92 kB / 0.5644 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.112e-05/0.4032, allocations: 35.73 kB / 0.5644 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002543/0.4035, allocations: 123.5 kB / 0.5645 GB, free: 1.223 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.4035, allocations: 7.938 kB / 0.5645 GB, free: 1.215 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4035, allocations: 0 / 0.5645 GB, free: 1.215 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.235e-05/0.4035, allocations: 0 / 0.5645 GB, free: 1.215 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006385/0.4041, allocations: 341.6 kB / 0.5649 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.4042, allocations: 12.03 kB / 0.5649 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.371e-05/0.4042, allocations: 42.67 kB / 0.5649 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.117e-05/0.4042, allocations: 16.84 kB / 0.5649 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002441/0.4045, allocations: 147 kB / 0.5651 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.4045, allocations: 384 / 0.5651 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.929e-05/0.4045, allocations: 8.375 kB / 0.5651 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002009/0.4047, allocations: 62.23 kB / 0.5651 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.423e-05/0.4048, allocations: 11.83 kB / 0.5651 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.4048, allocations: 4 kB / 0.5651 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.4048, allocations: 0 / 0.5651 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001565/0.4049, allocations: 51.95 kB / 0.5652 GB, free: 472 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005156/0.4054, allocations: 291.8 kB / 0.5655 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002652/0.4057, allocations: 58.58 kB / 0.5655 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.282e-05/0.4058, allocations: 28.95 kB / 0.5656 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/0.4058, allocations: 4 kB / 0.5656 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.725e-05/0.4059, allocations: 30.56 kB / 0.5656 GB, free: 15.99 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.4059, allocations: 4 kB / 0.5656 GB, free: 15.99 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001539/0.4074, allocations: 420.9 kB / 0.566 GB, free: 15.57 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.527e-05/0.4075, allocations: 63.33 kB / 0.5661 GB, free: 15.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002361/0.4077, allocations: 199.2 kB / 0.5662 GB, free: 15.29 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.522e-05/0.4077, allocations: 29.7 kB / 0.5663 GB, free: 15.26 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.716e-05/0.4078, allocations: 104.1 kB / 0.5664 GB, free: 15.15 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.677e-05/0.4079, allocations: 43.58 kB / 0.5664 GB, free: 15.11 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.35e-05/0.4079, allocations: 25.7 kB / 0.5664 GB, free: 15.08 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000179/0.4081, allocations: 326.8 kB / 0.5668 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000162/0.4083, allocations: 55.95 kB / 0.5668 GB, free: 14.7 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001225/0.4084, allocations: 51.97 kB / 0.5669 GB, free: 14.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002809/0.4087, allocations: 125 kB / 0.567 GB, free: 14.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.4087, allocations: 7.938 kB / 0.567 GB, free: 14.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000336/0.409, allocations: 161.6 kB / 0.5671 GB, free: 14.35 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.409, allocations: 14.28 kB / 0.5672 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.409, allocations: 0 / 0.5672 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.4091, allocations: 0 / 0.5672 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.4092, allocations: 27.97 kB / 0.5672 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/0.4092, allocations: 4.5 kB / 0.5672 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.625e-05/0.4092, allocations: 15.98 kB / 0.5672 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.4093, allocations: 4 kB / 0.5672 GB, free: 14.29 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.0001119/0.4094, allocations: 130.7 kB / 0.5673 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.181e-05/0.4094, allocations: 15.91 kB / 0.5673 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004212/0.4098, allocations: 190.9 kB / 0.5675 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.4098, allocations: 3.984 kB / 0.5675 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.4098, allocations: 3.938 kB / 0.5675 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.4098, allocations: 0 / 0.5675 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007467/0.4106, allocations: 487.1 kB / 0.568 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.4106, allocations: 3.938 kB / 0.568 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/0.4107, allocations: 23.98 kB / 0.568 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.409e-06/0.4107, allocations: 4 kB / 0.568 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.4107, allocations: 8.047 kB / 0.568 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.4107, allocations: 0 / 0.568 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.4107, allocations: 4 kB / 0.568 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004095/0.4111, allocations: 273 kB / 0.5683 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.735e-05/0.4112, allocations: 19.89 kB / 0.5683 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.234e-05/0.4112, allocations: 0 / 0.5683 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.708e-05/0.4113, allocations: 11.98 kB / 0.5683 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.398e-05/0.4113, allocations: 11.98 kB / 0.5683 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.4113, allocations: 4 kB / 0.5683 GB, free: 13.01 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001549/0.4115, allocations: 153.7 kB / 0.5685 GB, free: 12.86 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4115, allocations: 3.938 kB / 0.5685 GB, free: 12.86 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002756/0.4118, allocations: 27.94 kB / 0.5685 GB, free: 12.83 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.002322/0.4141, allocations: 1.151 MB / 0.5696 GB, free: 11.81 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003452/0.4144, allocations: 127.8 kB / 0.5698 GB, free: 11.68 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4144, allocations: 4 kB / 0.5698 GB, free: 11.68 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001502/0.4146, allocations: 63.89 kB / 0.5698 GB, free: 11.62 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003872/0.415, allocations: 19.98 kB / 0.5699 GB, free: 11.6 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002503/0.4175, allocations: 1.927 MB / 0.5717 GB, free: 9.586 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003856/0.4179, allocations: 0.7235 MB / 0.5724 GB, free: 8.836 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001029/0.418, allocations: 32.45 kB / 0.5725 GB, free: 8.805 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.326e-05/0.4181, allocations: 39.42 kB / 0.5725 GB, free: 8.766 MB / 414.1 MB Notification: Performance of SimCode: time 7.51e-07/0.4181, allocations: 0 / 0.5725 GB, free: 8.766 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02774/0.4458, allocations: 3.619 MB / 0.576 GB, free: 5.152 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.82/8.266, allocations: 1.719 kB / 0.576 GB, free: 5.152 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test26_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test26_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test26.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.28886929480359] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'd2_t_new.y', 'clock1.y', 'clock2.y'] 8.407981924246997 8.430508629 8.022617797 Calling exit ...