Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test30.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.001296/0.001296, allocations: 105.1 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.001453/0.001453, allocations: 209.9 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.467/1.467, 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.2343/0.2343, allocations: 46.92 MB / 361.6 MB, free: 4.215 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.CombiTable1Ds.Test30,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test30,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test30",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.003315/0.003315, allocations: 83.86 kB / 0.497 GB, free: 7.754 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3969/0.4003, allocations: 66.08 MB / 0.5615 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.003069/0.4033, allocations: 1.638 MB / 0.5631 GB, free: 2.656 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001055/0.4044, allocations: 0.5538 MB / 0.5637 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.027e-05/0.4044, allocations: 0 / 0.5637 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002741/0.4047, allocations: 75.77 kB / 0.5637 GB, free: 2.027 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002981/0.405, allocations: 107.5 kB / 0.5638 GB, free: 1.922 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002661/0.4053, allocations: 91.7 kB / 0.5639 GB, free: 1.832 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001795/0.4055, allocations: 87.75 kB / 0.564 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.806e-05/0.4055, allocations: 15.98 kB / 0.564 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.733e-05/0.4056, allocations: 47.77 kB / 0.5641 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/0.4057, allocations: 51.83 kB / 0.5641 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.4057, allocations: 7.984 kB / 0.5641 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.798e-05/0.4058, allocations: 47.98 kB / 0.5642 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.3e-05/0.4059, allocations: 19.92 kB / 0.5642 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.939e-05/0.4059, allocations: 27.75 kB / 0.5642 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001951/0.4061, allocations: 111.4 kB / 0.5643 GB, free: 1.422 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.4061, allocations: 4 kB / 0.5643 GB, free: 1.418 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.143e-06/0.4061, allocations: 0 / 0.5643 GB, free: 1.418 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.367e-06/0.4062, allocations: 4 kB / 0.5643 GB, free: 1.414 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.000498/0.4067, allocations: 337.6 kB / 0.5647 GB, free: 1.051 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.4067, allocations: 8.031 kB / 0.5647 GB, free: 1.043 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.772e-05/0.4067, allocations: 38.73 kB / 0.5647 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.674e-05/0.4068, allocations: 16.84 kB / 0.5647 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002013/0.407, allocations: 143 kB / 0.5649 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.457e-06/0.407, allocations: 384 / 0.5649 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.351e-05/0.407, allocations: 4.375 kB / 0.5649 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.4071, allocations: 62.17 kB / 0.5649 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.4072, allocations: 3.938 kB / 0.5649 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.4072, allocations: 0 / 0.5649 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.4072, allocations: 4 kB / 0.5649 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.391e-05/0.4073, allocations: 23.97 kB / 0.565 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003927/0.4077, allocations: 263.9 kB / 0.5652 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001253/0.4078, allocations: 50.5 kB / 0.5653 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.199e-05/0.4078, allocations: 16.86 kB / 0.5653 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.4079, allocations: 4.078 kB / 0.5653 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/0.4079, allocations: 34.56 kB / 0.5653 GB, free: 292 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.4079, allocations: 0 / 0.5653 GB, free: 292 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008929/0.4088, allocations: 225.2 kB / 0.5655 GB, free: 60 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.422e-05/0.4089, allocations: 55.41 kB / 0.5656 GB, free: 15.99 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002491/0.4091, allocations: 210.3 kB / 0.5658 GB, free: 15.78 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.4091, allocations: 25.7 kB / 0.5658 GB, free: 15.75 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.782e-05/0.4092, allocations: 108.1 kB / 0.5659 GB, free: 15.64 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.823e-05/0.4093, allocations: 31.73 kB / 0.5659 GB, free: 15.61 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.869e-05/0.4093, allocations: 29.72 kB / 0.566 GB, free: 15.57 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.4095, allocations: 326.8 kB / 0.5663 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.215e-05/0.4096, allocations: 31.86 kB / 0.5663 GB, free: 15.21 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.921e-05/0.4096, allocations: 32.03 kB / 0.5663 GB, free: 15.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001471/0.4098, allocations: 56.78 kB / 0.5664 GB, free: 15.12 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.4098, allocations: 0 / 0.5664 GB, free: 15.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002128/0.41, allocations: 105.6 kB / 0.5665 GB, free: 15.01 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.41, allocations: 4 kB / 0.5665 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.41, allocations: 0 / 0.5665 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.41, allocations: 4.422 kB / 0.5665 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.4101, allocations: 19.92 kB / 0.5665 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.4101, allocations: 0 / 0.5665 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.446e-05/0.4102, allocations: 7.984 kB / 0.5665 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.4102, allocations: 7.938 kB / 0.5665 GB, free: 14.97 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.0001182/0.4103, allocations: 126.7 kB / 0.5667 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.788e-05/0.4104, allocations: 15.91 kB / 0.5667 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000304/0.4107, allocations: 119.3 kB / 0.5668 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.4107, allocations: 0 / 0.5668 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.289e-06/0.4107, allocations: 0 / 0.5668 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.4107, allocations: 3.984 kB / 0.5668 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000581/0.4113, allocations: 386.2 kB / 0.5672 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.4113, allocations: 0 / 0.5672 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.979e-05/0.4113, allocations: 19.98 kB / 0.5672 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.4113, allocations: 0 / 0.5672 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.4113, allocations: 3.938 kB / 0.5672 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.4113, allocations: 4 kB / 0.5672 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.4113, allocations: 3.984 kB / 0.5672 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00028/0.4116, allocations: 204.3 kB / 0.5674 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.092e-05/0.4116, allocations: 19.89 kB / 0.5674 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.349e-05/0.4117, allocations: 7.938 kB / 0.5674 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.523e-05/0.4117, allocations: 4 kB / 0.5674 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.537e-05/0.4118, allocations: 7.984 kB / 0.5674 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.179e-06/0.4118, allocations: 0 / 0.5674 GB, free: 13.96 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001543/0.4119, allocations: 168.2 kB / 0.5676 GB, free: 13.8 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4119, allocations: 4 kB / 0.5676 GB, free: 13.8 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000264/0.4122, allocations: 23.94 kB / 0.5676 GB, free: 13.77 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.002233/0.4144, allocations: 1.085 MB / 0.5687 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002358/0.4147, allocations: 55.97 kB / 0.5687 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4147, allocations: 0 / 0.5687 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.572e-05/0.4148, allocations: 36.08 kB / 0.5688 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004043/0.4152, allocations: 16.14 kB / 0.5688 GB, free: 12.72 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002247/0.4174, allocations: 1.677 MB / 0.5704 GB, free: 10.96 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004201/0.4178, allocations: 0.7196 MB / 0.5711 GB, free: 10.21 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.288e-05/0.4179, allocations: 8.672 kB / 0.5711 GB, free: 10.21 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.007e-05/0.418, allocations: 35.42 kB / 0.5711 GB, free: 10.17 MB / 414.1 MB Notification: Performance of SimCode: time 7.82e-07/0.418, allocations: 0 / 0.5711 GB, free: 10.17 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02814/0.4461, allocations: 3.189 MB / 0.5743 GB, free: 6.988 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.971/8.417, allocations: 6.406 kB / 0.5743 GB, free: 6.984 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test30_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test30.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.417449327651411] 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.563077046070248 8.589791723 8.178321098 Calling exit ...