Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test64.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.001261/0.001261, 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.001522/0.001522, 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.483/1.483, allocations: 230.5 MB / 258.2 MB, free: 7.988 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.2398/0.2398, allocations: 46.92 MB / 361.6 MB, free: 4.18 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.CombiTimeTable.Test64,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test64,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test64",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.003852/0.003852, allocations: 87.84 kB / 0.497 GB, free: 7.688 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3964/0.4003, allocations: 66.08 MB / 0.5616 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.003304/0.4036, allocations: 1.702 MB / 0.5632 GB, free: 2.578 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0018/0.4054, allocations: 1.029 MB / 0.5642 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.478e-05/0.4055, allocations: 0 / 0.5642 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003426/0.4058, allocations: 55.75 kB / 0.5643 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003335/0.4061, allocations: 95.59 kB / 0.5644 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002141/0.4064, allocations: 79.67 kB / 0.5645 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001931/0.4065, allocations: 99.69 kB / 0.5645 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.107e-05/0.4066, allocations: 12.17 kB / 0.5646 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001231/0.4067, allocations: 47.77 kB / 0.5646 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.603e-05/0.4068, allocations: 31.8 kB / 0.5646 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.4068, allocations: 0 / 0.5646 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.129e-05/0.4069, allocations: 35.98 kB / 0.5647 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.321e-05/0.407, allocations: 23.91 kB / 0.5647 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.948e-05/0.407, allocations: 35.69 kB / 0.5647 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002507/0.4073, allocations: 137.3 kB / 0.5649 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.4073, allocations: 0 / 0.5649 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4073, allocations: 0 / 0.5649 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.092e-06/0.4073, allocations: 0 / 0.5649 GB, free: 0.9023 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006473/0.408, allocations: 373.3 kB / 0.5652 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.408, allocations: 8.031 kB / 0.5652 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.585e-05/0.4081, allocations: 30.75 kB / 0.5653 GB, free: 472 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.577e-05/0.4081, allocations: 12.89 kB / 0.5653 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003191/0.4084, allocations: 163.2 kB / 0.5654 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.4084, allocations: 4.375 kB / 0.5654 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.087e-05/0.4084, allocations: 384 / 0.5654 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001691/0.4086, allocations: 57.73 kB / 0.5655 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.4086, allocations: 0 / 0.5655 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.669e-06/0.4086, allocations: 0 / 0.5655 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.4086, allocations: 0 / 0.5655 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.995e-05/0.4087, allocations: 15.98 kB / 0.5655 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002574/0.409, allocations: 164.8 kB / 0.5657 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001738/0.4091, allocations: 50.62 kB / 0.5657 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.489e-05/0.4092, allocations: 16.84 kB / 0.5657 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.613e-05/0.4092, allocations: 7.938 kB / 0.5657 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001704/0.4094, allocations: 67.33 kB / 0.5658 GB, free: 15.81 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.433e-06/0.4094, allocations: 0 / 0.5658 GB, free: 15.81 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003299/0.4097, allocations: 101.8 kB / 0.5659 GB, free: 15.71 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.021e-05/0.4098, allocations: 51.41 kB / 0.5659 GB, free: 15.64 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003121/0.4101, allocations: 274.8 kB / 0.5662 GB, free: 15.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.4101, allocations: 25.7 kB / 0.5662 GB, free: 15.33 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.337e-05/0.4102, allocations: 116.1 kB / 0.5663 GB, free: 15.21 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.055e-05/0.4102, allocations: 19.84 kB / 0.5664 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.77e-05/0.4103, allocations: 17.72 kB / 0.5664 GB, free: 15.17 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001749/0.4104, allocations: 338.8 kB / 0.5667 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.749e-05/0.4105, allocations: 12.06 kB / 0.5667 GB, free: 14.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.225e-05/0.4106, allocations: 33.7 kB / 0.5667 GB, free: 14.78 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001031/0.4107, allocations: 41.7 kB / 0.5668 GB, free: 14.73 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.4107, allocations: 0 / 0.5668 GB, free: 14.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001724/0.4108, allocations: 89.47 kB / 0.5669 GB, free: 14.64 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.4109, allocations: 10.22 kB / 0.5669 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.4109, allocations: 0 / 0.5669 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.4109, allocations: 11.92 kB / 0.5669 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.868e-05/0.411, allocations: 8 kB / 0.5669 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.411, allocations: 8.125 kB / 0.5669 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.77e-05/0.411, allocations: 7.953 kB / 0.5669 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.411, allocations: 0 / 0.5669 GB, free: 14.6 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001362/0.4112, allocations: 138.6 kB / 0.567 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.843e-05/0.4112, allocations: 19.84 kB / 0.5671 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002244/0.4114, allocations: 90.77 kB / 0.5671 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.167e-06/0.4114, allocations: 4 kB / 0.5671 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.4114, allocations: 0 / 0.5671 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.4114, allocations: 3.984 kB / 0.5671 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001741/0.4116, allocations: 168.7 kB / 0.5673 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.4116, allocations: 3.938 kB / 0.5673 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.013e-05/0.4116, allocations: 4 kB / 0.5673 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.4116, allocations: 0 / 0.5673 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.4116, allocations: 4 kB / 0.5673 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.4116, allocations: 128 / 0.5673 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.4116, allocations: 11.94 kB / 0.5673 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001929/0.4118, allocations: 113 kB / 0.5674 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.661e-05/0.4119, allocations: 15.84 kB / 0.5675 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.047e-05/0.4119, allocations: 0 / 0.5675 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.931e-05/0.4119, allocations: 7.984 kB / 0.5675 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.068e-05/0.412, allocations: 4 kB / 0.5675 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.235e-05/0.412, allocations: 0 / 0.5675 GB, free: 13.94 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002096/0.4122, allocations: 208.6 kB / 0.5677 GB, free: 13.73 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4122, allocations: 0 / 0.5677 GB, free: 13.73 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002142/0.4124, allocations: 19.94 kB / 0.5677 GB, free: 13.71 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00197/0.4144, allocations: 0.9506 MB / 0.5686 GB, free: 12.87 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001806/0.4145, allocations: 39.98 kB / 0.5687 GB, free: 12.83 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.4145, allocations: 0 / 0.5687 GB, free: 12.83 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.598e-05/0.4146, allocations: 19.92 kB / 0.5687 GB, free: 12.81 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002782/0.4149, allocations: 29.7 kB / 0.5687 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002152/0.417, allocations: 1.682 MB / 0.5703 GB, free: 11.03 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004131/0.4175, allocations: 0.7274 MB / 0.5711 GB, free: 10.27 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.294e-05/0.4175, allocations: 12.48 kB / 0.5711 GB, free: 10.26 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.112e-05/0.4176, allocations: 35.42 kB / 0.5711 GB, free: 10.23 MB / 414.1 MB Notification: Performance of SimCode: time 2.71e-07/0.4176, allocations: 0 / 0.5711 GB, free: 10.23 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02861/0.4462, allocations: 3.571 MB / 0.5746 GB, free: 6.664 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.853/8.299, allocations: 3.609 kB / 0.5746 GB, free: 6.664 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test64.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test64_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000499301 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test64.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.318073277827352] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]'] 8.441190517041832 8.464550165 8.052709386 Calling exit ...