Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test16.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.0019/0.0019, allocations: 106.5 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.001932/0.001932, allocations: 212.6 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.62/1.62, 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.2325/0.2325, allocations: 46.93 MB / 361.6 MB, free: 4.203 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.Test16,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test16,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test16",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.003266/0.003266, allocations: 79.86 kB / 0.497 GB, free: 7.754 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3923/0.3956, allocations: 66.09 MB / 0.5615 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.004063/0.3996, allocations: 1.642 MB / 0.5631 GB, free: 2.656 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001487/0.4011, allocations: 0.5459 MB / 0.5637 GB, free: 2.109 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.4012, allocations: 4 kB / 0.5637 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004701/0.4017, allocations: 79.7 kB / 0.5637 GB, free: 2.027 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000514/0.4022, allocations: 99.66 kB / 0.5638 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004833/0.4027, allocations: 95.62 kB / 0.5639 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002791/0.403, allocations: 87.75 kB / 0.564 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00017/0.4031, allocations: 11.98 kB / 0.564 GB, free: 1.738 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.56e-05/0.4032, allocations: 39.89 kB / 0.5641 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001688/0.4034, allocations: 59.83 kB / 0.5641 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/0.4034, allocations: 0 / 0.5641 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001319/0.4036, allocations: 51.97 kB / 0.5642 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.414e-05/0.4036, allocations: 27.8 kB / 0.5642 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.315e-05/0.4037, allocations: 27.75 kB / 0.5642 GB, free: 1.535 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002923/0.404, allocations: 111.5 kB / 0.5643 GB, free: 1.426 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.404, allocations: 0 / 0.5643 GB, free: 1.426 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.404, allocations: 0 / 0.5643 GB, free: 1.426 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.404, allocations: 0 / 0.5643 GB, free: 1.426 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.000712/0.4047, allocations: 337.6 kB / 0.5647 GB, free: 1.062 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.289e-05/0.4048, allocations: 12.03 kB / 0.5647 GB, free: 1.051 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.794e-05/0.4048, allocations: 34.73 kB / 0.5647 GB, free: 1.008 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.564e-05/0.4049, allocations: 16.78 kB / 0.5647 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002631/0.4051, allocations: 147 kB / 0.5649 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.4052, allocations: 4.375 kB / 0.5649 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.162e-05/0.4052, allocations: 4.375 kB / 0.5649 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001929/0.4054, allocations: 50.23 kB / 0.5649 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/0.4054, allocations: 7.938 kB / 0.5649 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/0.4054, allocations: 8 kB / 0.5649 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.4054, allocations: 0 / 0.5649 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001363/0.4056, allocations: 27.97 kB / 0.565 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004574/0.406, allocations: 263.8 kB / 0.5652 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000127/0.4061, allocations: 42.56 kB / 0.5652 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.567e-05/0.4062, allocations: 20.84 kB / 0.5653 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.891e-05/0.4062, allocations: 0 / 0.5653 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.527e-05/0.4063, allocations: 38.64 kB / 0.5653 GB, free: 300 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.4063, allocations: 0 / 0.5653 GB, free: 300 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009508/0.4072, allocations: 225.1 kB / 0.5655 GB, free: 68 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.02e-05/0.4073, allocations: 55.41 kB / 0.5656 GB, free: 0 / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002712/0.4075, allocations: 214.3 kB / 0.5658 GB, free: 15.78 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.4076, allocations: 25.7 kB / 0.5658 GB, free: 15.75 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.84e-05/0.4076, allocations: 108.1 kB / 0.5659 GB, free: 15.64 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.767e-05/0.4077, allocations: 27.73 kB / 0.5659 GB, free: 15.61 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.835e-05/0.4077, allocations: 29.72 kB / 0.566 GB, free: 15.58 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.4079, allocations: 330.8 kB / 0.5663 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.631e-05/0.408, allocations: 19.98 kB / 0.5663 GB, free: 15.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.047e-05/0.408, allocations: 31.97 kB / 0.5663 GB, free: 15.2 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/0.4082, allocations: 56.91 kB / 0.5664 GB, free: 15.14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.4082, allocations: 7.938 kB / 0.5664 GB, free: 15.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002095/0.4084, allocations: 97.55 kB / 0.5665 GB, free: 15.03 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.4084, allocations: 8 kB / 0.5665 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.4084, allocations: 4 kB / 0.5665 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.4084, allocations: 0 / 0.5665 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.4085, allocations: 19.92 kB / 0.5665 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.4085, allocations: 320 / 0.5665 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.394e-05/0.4086, allocations: 8 kB / 0.5665 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/0.4086, allocations: 11.92 kB / 0.5665 GB, free: 14.98 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.0001096/0.4087, allocations: 118.7 kB / 0.5666 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.095e-05/0.4087, allocations: 23.91 kB / 0.5667 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002924/0.409, allocations: 123 kB / 0.5668 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.409, allocations: 0 / 0.5668 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.409, allocations: 0 / 0.5668 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.409, allocations: 0 / 0.5668 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005382/0.4096, allocations: 378.3 kB / 0.5671 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.4096, allocations: 8.031 kB / 0.5671 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.935e-05/0.4097, allocations: 19.98 kB / 0.5672 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.4097, allocations: 0 / 0.5672 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.4097, allocations: 7.938 kB / 0.5672 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.4097, allocations: 0 / 0.5672 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4097, allocations: 0 / 0.5672 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002659/0.4099, allocations: 208.2 kB / 0.5674 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.849e-05/0.41, allocations: 15.89 kB / 0.5674 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.139e-05/0.41, allocations: 7.938 kB / 0.5674 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.909e-05/0.41, allocations: 4 kB / 0.5674 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.704e-05/0.4101, allocations: 7.984 kB / 0.5674 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.4101, allocations: 0 / 0.5674 GB, free: 13.98 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001561/0.4102, allocations: 168.2 kB / 0.5676 GB, free: 13.81 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4102, allocations: 0 / 0.5676 GB, free: 13.81 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002482/0.4105, allocations: 19.94 kB / 0.5676 GB, free: 13.79 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.002119/0.4126, allocations: 1.087 MB / 0.5686 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002184/0.4128, allocations: 63.94 kB / 0.5687 GB, free: 12.78 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4128, allocations: 3.938 kB / 0.5687 GB, free: 12.78 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.146e-05/0.4129, allocations: 31.98 kB / 0.5687 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004001/0.4133, allocations: 27.36 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.002207/0.4155, allocations: 1.673 MB / 0.5704 GB, free: 10.97 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004514/0.416, allocations: 0.7158 MB / 0.5711 GB, free: 10.23 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.227e-05/0.416, allocations: 8.609 kB / 0.5711 GB, free: 10.22 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.001e-05/0.4161, allocations: 35.42 kB / 0.5711 GB, free: 10.18 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4161, allocations: 0 / 0.5711 GB, free: 10.18 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02899/0.4451, allocations: 3.186 MB / 0.5743 GB, free: 7.004 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.209/8.654, allocations: 5.359 kB / 0.5743 GB, free: 7 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test16_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test16.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.821413337718695] 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.795756752137095 8.810755173 8.40335501 Calling exit ...